Index: mojo/services/window_manager/window_manager_app.h |
diff --git a/mojo/services/window_manager/window_manager_app.h b/mojo/services/window_manager/window_manager_app.h |
index c60adc5fdf77455075440b8b31a53d5477243c50..153f711f92df970d90eaee91df7a015134fd731b 100644 |
--- a/mojo/services/window_manager/window_manager_app.h |
+++ b/mojo/services/window_manager/window_manager_app.h |
@@ -32,6 +32,7 @@ class Window; |
} |
namespace wm { |
+class FocusRules; |
class ScopedCaptureClient; |
} |
@@ -68,6 +69,7 @@ class WindowManagerApp |
virtual ~WindowManagerApp(); |
static View* GetViewForWindow(aura::Window* window); |
+ aura::Window* GetWindowForViewId(Id view); |
// Register/deregister new connections to the window manager service. |
void AddConnection(WindowManagerServiceImpl* connection); |
@@ -84,6 +86,8 @@ class WindowManagerApp |
// aura::Window hierarchy and attach event handlers. |
aura::WindowTreeHost* host() { return window_tree_host_.get(); } |
+ void InitFocus(wm::FocusRules* rules); |
+ |
// Overridden from ApplicationDelegate: |
virtual void Initialize(ApplicationImpl* impl) MOJO_OVERRIDE; |
virtual bool ConfigureIncomingConnection(ApplicationConnection* connection) |
@@ -130,8 +134,6 @@ class WindowManagerApp |
virtual void OnWindowActivated(aura::Window* gained_active, |
aura::Window* lost_active) MOJO_OVERRIDE; |
- aura::Window* GetWindowForViewId(Id view) const; |
- |
// Creates an aura::Window for every view in the hierarchy beneath |view|, |
// and adds to the registry so that it can be retrieved later via |
// GetWindowForViewId(). |