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

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: comments 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..52cc2b7783d7cdfb2e40bf837715d51562ee1176 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 SetCaptureImpl(mojo::View* view);
+ bool FocusWindowImpl(mojo::View* view);
+ bool ActivateWindowImpl(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;
+ bool OnPerformAction(mojo::View* view, const std::string& action) override;
// Overridden from ViewObserver:
void OnTreeChanged(const ViewObserver::TreeChangeParams& params) override;
« no previous file with comments | « services/view_manager/view_manager_service_unittest.cc ('k') | services/window_manager/window_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698