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

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

Issue 502853002: Mojom: Blanket change to mark all pointer/handle fields as nullable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
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 c1a9742a063c8ec44f31558c04b41cc2906e5eee..f630031c7b3ab8f2140acdc32410e9e17c481c67 100644
--- a/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
+++ b/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
@@ -10,18 +10,18 @@ module mojo {
[Client=NativeViewportClient]
interface NativeViewport {
- Create(Rect bounds);
+ Create(Rect? bounds);
Show();
Hide();
Close();
- SetBounds(Rect bounds);
+ SetBounds(Rect? bounds);
};
interface NativeViewportClient {
OnCreated(uint64 native_viewport_id);
- OnBoundsChanged(Rect bounds);
+ OnBoundsChanged(Rect? bounds);
OnDestroyed();
- OnEvent(Event event) => ();
+ OnEvent(Event? event) => ();
};
}
« no previous file with comments | « mojo/services/public/interfaces/launcher/launcher.mojom ('k') | mojo/services/public/interfaces/navigation/navigation.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698