summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window_host.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.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.h')
-rw-r--r--ui/aura/root_window_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h
index 2eb29b9..4ab1830 100644
--- a/ui/aura/root_window_host.h
+++ b/ui/aura/root_window_host.h
@@ -79,6 +79,9 @@ class RootWindowHost {
// Moves the cursor to the specified location relative to the root window.
virtual void MoveCursorTo(const gfx::Point& location) = 0;
+ // Sets if the window should be focused when shown.
+ virtual void SetFocusWhenShown(bool focus_when_shown) = 0;
+
// Posts |native_event| to the platform's event queue.
#if !defined(OS_MACOSX)
virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;