summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window_host_linux.h
diff options
context:
space:
mode:
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);
};