summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window_host_linux.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 22:55:10 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 22:55:10 +0000
commit791dc4134a464085e1abfa96036b10f9912986fc (patch)
tree3796e089089e14c26bebc7e2dcc1b22ce9691bf0 /ui/aura/root_window_host_linux.h
parent8bdcac814750b9528077153dc6e56cc251708ef7 (diff)
downloadchromium_src-791dc4134a464085e1abfa96036b10f9912986fc.zip
chromium_src-791dc4134a464085e1abfa96036b10f9912986fc.tar.gz
chromium_src-791dc4134a464085e1abfa96036b10f9912986fc.tar.bz2
* MonitorChangeObserverX11 that listen to Xrandr events and update monitor configurations.
* Message on secondary monitor view * Accelerator to create/delete/cycle monitors to test multi monitor on linux desktop * unittest for MultiMonitorManager/MonitorController BUG=115510 TEST=multi_monitor_manager_unittests Review URL: https://chromiumcodereview.appspot.com/9754001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/root_window_host_linux.h')
-rw-r--r--ui/aura/root_window_host_linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/aura/root_window_host_linux.h b/ui/aura/root_window_host_linux.h
index a045a52..5b4c96a 100644
--- a/ui/aura/root_window_host_linux.h
+++ b/ui/aura/root_window_host_linux.h
@@ -42,6 +42,7 @@ class RootWindowHostLinux : public RootWindowHost {
virtual bool ConfineCursorToRootWindow() OVERRIDE;
virtual void UnConfineCursor() OVERRIDE;
virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
+ virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE;
// Returns true if there's an X window manager present... in most cases. Some
@@ -74,6 +75,9 @@ class RootWindowHostLinux : public RootWindowHost {
// The bounds of |xwindow_|.
gfx::Rect bounds_;
+ // True if the window should be focused when the window is shown.
+ bool focus_when_shown_;
+
DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux);
};