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

Unified Diff: mojo/services/public/interfaces/native_viewport/native_viewport.mojom

Issue 534843002: Convert view manager to surfaces with uploading shim in client lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « mojo/services/public/cpp/view_manager/view.h ('k') | mojo/services/public/interfaces/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/native_viewport/native_viewport.mojom
diff --git a/mojo/services/public/interfaces/native_viewport/native_viewport.mojom b/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
index dd04f5cb17dcc927bbd3a4a06dcbc661e7963f4b..484773c5b133237a2bd06f65d05afd4f66d438c9 100644
--- a/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
+++ b/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
@@ -11,17 +11,17 @@ module mojo {
[Client=NativeViewportClient]
interface NativeViewport {
- Create(Rect bounds);
+ Create(Size bounds);
Ben Goodger (Google) 2014/09/08 18:26:43 rename bounds -> size
Show();
Hide();
Close();
- SetBounds(Rect bounds);
+ SetBounds(Size bounds);
Ben Goodger (Google) 2014/09/08 18:26:43 etc.
SubmittedFrame(SurfaceId surface_id);
};
interface NativeViewportClient {
OnCreated(uint64 native_viewport_id);
- OnBoundsChanged(Rect bounds);
+ OnBoundsChanged(Size bounds);
OnDestroyed();
OnEvent(Event event) => ();
};
« no previous file with comments | « mojo/services/public/cpp/view_manager/view.h ('k') | mojo/services/public/interfaces/view_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698