Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: mojo/services/window_manager/window_manager_app.h

Issue 599213002: First cut at supporting activation in the window manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: / Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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().
« no previous file with comments | « mojo/services/view_manager/server_view_delegate.h ('k') | mojo/services/window_manager/window_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698