diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 20:19:54 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 20:19:54 +0000 |
commit | 82838b02f4b0943196f7e7b4ac7fca78885cbe54 (patch) | |
tree | a98be86ffa39b206dd839bb6ebefcc59bafc6c48 /chrome/browser/gtk/browser_window_gtk.h | |
parent | 6affd92124f01ee0eb2b75af96d4ab5576cbccf2 (diff) | |
download | chromium_src-82838b02f4b0943196f7e7b4ac7fca78885cbe54.zip chromium_src-82838b02f4b0943196f7e7b4ac7fca78885cbe54.tar.gz chromium_src-82838b02f4b0943196f7e7b4ac7fca78885cbe54.tar.bz2 |
Pulls ActiveWindowWatcher into app so that we can use it in
views. Converts from using notification server to observer as
notification service is chrome only.
Also changes the pointer type used by window_gtk to be a left arrow.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/245016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27398 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.h')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h index 172529a..e216266 100644 --- a/chrome/browser/gtk/browser_window_gtk.h +++ b/chrome/browser/gtk/browser_window_gtk.h @@ -9,6 +9,7 @@ #include <map> +#include "app/active_window_watcher_x.h" #include "base/gfx/rect.h" #include "base/scoped_ptr.h" #include "base/timer.h" @@ -48,7 +49,8 @@ class PanelController; class BrowserWindowGtk : public BrowserWindow, public NotificationObserver, - public TabStripModelObserver { + public TabStripModelObserver, + public ActiveWindowWatcherX::Observer { public: explicit BrowserWindowGtk(Browser* browser); virtual ~BrowserWindowGtk(); @@ -133,6 +135,9 @@ class BrowserWindowGtk : public BrowserWindow, bool user_gesture); virtual void TabStripEmpty(); + // Overriden from ActiveWindowWatcher::Observer. + virtual void ActiveWindowChanged(GdkWindow* active_window); + // Accessor for the tab strip. TabStripGtk* tabstrip() const { return tabstrip_.get(); } |