diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-10 21:50:26 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-10 21:50:26 +0000 |
commit | 0db6480773707c756a3231f071da6129fc86324e (patch) | |
tree | 7dca4f99d95f32b9006ed8e50dfe1bd43a803183 /ui/views/win/hwnd_util_win.cc | |
parent | 01295a68e50c4d979be2b742c80d08d5c6708dad (diff) | |
download | chromium_src-0db6480773707c756a3231f071da6129fc86324e.zip chromium_src-0db6480773707c756a3231f071da6129fc86324e.tar.gz chromium_src-0db6480773707c756a3231f071da6129fc86324e.tar.bz2 |
use activation rather than focus to dismiss extension popup
Improves dismissal behaviour on Win Aura. The deferred Close
does not appear to be necessary when using activation rather
focus.
R=ben@chromium.org
BUG=179786
Review URL: https://chromiumcodereview.appspot.com/13818033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/win/hwnd_util_win.cc')
-rw-r--r-- | ui/views/win/hwnd_util_win.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/views/win/hwnd_util_win.cc b/ui/views/win/hwnd_util_win.cc index e5a64cc..1c642e5 100644 --- a/ui/views/win/hwnd_util_win.cc +++ b/ui/views/win/hwnd_util_win.cc @@ -17,6 +17,10 @@ HWND HWNDForWidget(Widget* widget) { return widget->GetNativeView(); } +HWND HWNDForNativeView(gfx::NativeView view) { + return view; +} + HWND HWNDForNativeWindow(gfx::NativeWindow window) { return window; } |