Closing a window requires closing web contents now.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 1 May 2013 07:42:30 +0000 (15:42 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 1 May 2013 07:42:30 +0000 (15:42 +0800)
commit9f1fe4d2c229bf6b87bdcef2f7ce87b940994f8e
tree927d85d6223d95dd957f6872fa285f387f78c0a9
parent31d6be0e632c137996411574ce478a7a1886dcc0
Closing a window requires closing web contents now.

In this way, we can prevent the close of window by using beforeunload
handler.
browser/native_window.cc
browser/native_window.h
browser/native_window_mac.mm
common/platform_util.h