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

Unified Diff: mojo/services/public/interfaces/window_manager/window_manager_internal.mojom

Issue 720883003: Adds a CloneAndAnimate function to WindowManagerInternalClient (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add GetView(ClonedViewId) coverage 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
« no previous file with comments | « no previous file | mojo/services/view_manager/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/interfaces/window_manager/window_manager_internal.mojom
diff --git a/mojo/services/public/interfaces/window_manager/window_manager_internal.mojom b/mojo/services/public/interfaces/window_manager/window_manager_internal.mojom
index 54867f9f44336036b8cb0431eabd0fccdab1d1db..c453abd926d21b431ee775ae5af400301ec820cf 100644
--- a/mojo/services/public/interfaces/window_manager/window_manager_internal.mojom
+++ b/mojo/services/public/interfaces/window_manager/window_manager_internal.mojom
@@ -27,4 +27,11 @@ interface WindowManagerInternalClient {
// Sets the native viewport size.
SetViewportSize(mojo.Size size);
+
+ // Clones the tree rooted at |view_id|. When the animation completes the clone
+ // is destroyed.
+ // TODO(sky): add actual animation.
+ // TODO(sky): I think this only makes sense when destroying (view is
+ // already visible), should it be named to indicate this?
+ CloneAndAnimate(uint32 view_id);
};
« no previous file with comments | « no previous file | mojo/services/view_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698