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

Unified Diff: mojo/services/view_manager/ids.h

Issue 720883003: Adds a CloneAndAnimate function to WindowManagerInternalClient (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: tweaks Created 6 years, 1 month 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/view_manager/ids.h
diff --git a/mojo/services/view_manager/ids.h b/mojo/services/view_manager/ids.h
index 235e2042e4b3d2134e6cf65d0dc4ee7b6a10b15e..1d9b957616d5cd2042748344b8219a8762de9815 100644
--- a/mojo/services/view_manager/ids.h
+++ b/mojo/services/view_manager/ids.h
@@ -53,6 +53,11 @@ inline ViewId InvalidViewId() {
return ViewId(kInvalidConnectionId, 0);
}
+// All cloned views use this id.
+inline ViewId ClonedViewId() {
+ return ViewId(kInvalidConnectionId, 2);
+}
+
} // namespace service
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698