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

Unified Diff: services/window_manager/window_manager_impl.cc

Issue 805123003: Adds capture to the mojo window_manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sky comments Created 6 years 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
« no previous file with comments | « services/window_manager/window_manager_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/window_manager/window_manager_impl.cc
diff --git a/services/window_manager/window_manager_impl.cc b/services/window_manager/window_manager_impl.cc
index 2af9ffeea13397b393988e2fc868292fbebce42e..1cba820ba83572a05d299fbc49d6c537bcb0df5e 100644
--- a/services/window_manager/window_manager_impl.cc
+++ b/services/window_manager/window_manager_impl.cc
@@ -41,6 +41,12 @@ void WindowManagerImpl::NotifyWindowActivated(Id new_active_id,
client()->OnActiveWindowChanged(old_active_id, new_active_id);
}
+void WindowManagerImpl::NotifyCaptureChanged(Id new_capture_id,
+ Id old_capture_id) {
+ if (from_vm_)
+ client()->OnCaptureChanged(old_capture_id, new_capture_id);
+}
+
void WindowManagerImpl::Embed(
const mojo::String& url,
mojo::InterfaceRequest<mojo::ServiceProvider> service_provider) {
« no previous file with comments | « services/window_manager/window_manager_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698