diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-22 22:55:10 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-22 22:55:10 +0000 |
commit | 791dc4134a464085e1abfa96036b10f9912986fc (patch) | |
tree | 3796e089089e14c26bebc7e2dcc1b22ce9691bf0 /ui/aura/root_window_host_linux.h | |
parent | 8bdcac814750b9528077153dc6e56cc251708ef7 (diff) | |
download | chromium_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.h | 4 |
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); }; |