diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-12 18:08:44 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-12 18:08:44 +0000 |
commit | 2b4f4598f46f7612014bd65e8f170407d88a71bc (patch) | |
tree | 825c36a61bc38c4028a91e1b3cfe2bc8571df8de /views/window | |
parent | a95db33211c33cf2b2a44903c7d0ef9566db5e99 (diff) | |
download | chromium_src-2b4f4598f46f7612014bd65e8f170407d88a71bc.zip chromium_src-2b4f4598f46f7612014bd65e8f170407d88a71bc.tar.gz chromium_src-2b4f4598f46f7612014bd65e8f170407d88a71bc.tar.bz2 |
Implement BrowserWindow deactivate on Linux (views and GTK).
This is needed for pages to be able to deactivate the browser's or popup windows with window.blur().
BUG=51364
TEST=Open a page that calls window.blur(), it should move the browser window to the back of the Z order.
Review URL: http://codereview.chromium.org/3159007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r-- | views/window/window_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc index b22aa9a..16444b3d9 100644 --- a/views/window/window_gtk.cc +++ b/views/window/window_gtk.cc @@ -131,7 +131,7 @@ void WindowGtk::Activate() { } void WindowGtk::Deactivate() { - // TODO(jcivelli): http://crbug.com/51364 Implement me. + gdk_window_lower(GTK_WIDGET(GetNativeView())->window); } void WindowGtk::Close() { |