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/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: remove overzealous shutdown check in cc/surfaces, add NON_EXPORTED_BASE for windows build, saturate… 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..a182a1493c053d1bbd64403ba017297e653ee095 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 size);
Show();
Hide();
Close();
- SetBounds(Rect bounds);
+ SetBounds(Size size);
SubmittedFrame(SurfaceId surface_id);
};
interface NativeViewportClient {
OnCreated(uint64 native_viewport_id);
- OnBoundsChanged(Rect bounds);
+ OnBoundsChanged(Size size);
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