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

Unified Diff: services/window_manager/window_manager_app.h

Issue 954273002: Routes WindowManager functionality through the view manager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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: services/window_manager/window_manager_app.h
diff --git a/services/window_manager/window_manager_app.h b/services/window_manager/window_manager_app.h
index a384600df415b93d85614f0d337851fb7d4dc7bd..ea8b9c007b079589e9847ca1f93f8b0b8cdf74ce 100644
--- a/services/window_manager/window_manager_app.h
+++ b/services/window_manager/window_manager_app.h
@@ -109,6 +109,10 @@ class WindowManagerApp
return root_ ? root_->view_manager() : nullptr;
}
+ bool SetCapture(mojo::View* view);
msw 2015/02/25 22:29:30 nit: consider "SetCaptureImpl" here, etc. below, t
sky 2015/02/25 23:20:27 Done.
+ bool FocusWindow(mojo::View* view);
+ bool ActivateWindow(mojo::View* view);
+
// Creates an ViewTarget for every view in the hierarchy beneath |view|,
// and adds to the registry so that it can be retrieved later via
// GetViewTargetForViewId().
@@ -127,6 +131,7 @@ class WindowManagerApp
mojo::InterfaceRequest<mojo::ServiceProvider> services,
mojo::ServiceProviderPtr exposed_services) override;
void OnViewManagerDisconnected(mojo::ViewManager* view_manager) override;
+ void OnPerformAction(mojo::View* view, const std::string& action) override;
// Overridden from ViewObserver:
void OnTreeChanged(const ViewObserver::TreeChangeParams& params) override;

Powered by Google App Engine
This is Rietveld 408576698