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

Unified Diff: mojo/services/ui/views/interfaces/view_associates.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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/ui/views/interfaces/view_associates.mojom
diff --git a/mojo/services/ui/views/interfaces/view_associates.mojom b/mojo/services/ui/views/interfaces/view_associates.mojom
index 4fce660302fb7a7e238436fe7b0872e5faf9879a..6bc68265f98780191a2486be3d6295952d72f420 100644
--- a/mojo/services/ui/views/interfaces/view_associates.mojom
+++ b/mojo/services/ui/views/interfaces/view_associates.mojom
@@ -7,8 +7,8 @@ module mojo.ui;
import "mojo/public/interfaces/application/service_provider.mojom";
import "mojo/services/gfx/composition/interfaces/scene_token.mojom";
-import "mojo/services/ui/views/interfaces/views.mojom";
import "mojo/services/ui/views/interfaces/view_trees.mojom";
+import "mojo/services/ui/views/interfaces/views.mojom";
// View associates are trusted components that are attached to a view manager
// instance with the purpose of offering additional services to views and
@@ -48,8 +48,9 @@ interface ViewAssociate {
// requested service, it should close the |pipe|.
//
// The |view_token| is the token of the view which requested the service.
- ConnectToViewService(ViewToken view_token, string service_name,
- handle<message_pipe> pipe);
+ ConnectToViewService(ViewToken view_token,
+ string service_name,
+ handle<message_pipe> pipe);
// Asks the associate to provide the view tree service identified by
// |interface_name| through the message |pipe| endpoint supplied by
@@ -59,7 +60,8 @@ interface ViewAssociate {
// The |view_tree_token| is the token of the view tree which requested
// the service.
ConnectToViewTreeService(ViewTreeToken view_tree_token,
- string service_name, handle<message_pipe> pipe);
+ string service_name,
+ handle<message_pipe> pipe);
};
// Provides information about the services offered by an associate.
@@ -88,8 +90,8 @@ interface ViewInspector {
// again to obtain a new one. Otherwise it should assume that the view
// tree has become unavailable (so no hit tester is available).
GetHitTester(ViewTreeToken view_tree_token,
- mojo.gfx.composition.HitTester& hit_tester) =>
- (bool renderer_changed);
+ mojo.gfx.composition.HitTester& hit_tester)
+ => (bool renderer_changed);
// Given an array of scene tokens, produces an array of view tokens
// of equal size containing the view to which the scene belongs or null
@@ -98,6 +100,6 @@ interface ViewInspector {
// It is safe to cache the results of this operation because a scene will
// only ever be associated with at most one view although a view may
// create several scenes during its lifetime.
- ResolveScenes(array<mojo.gfx.composition.SceneToken> scene_tokens) =>
- (array<ViewToken?> view_tokens);
+ ResolveScenes(array<mojo.gfx.composition.SceneToken> scene_tokens)
+ => (array<ViewToken?> view_tokens);
};

Powered by Google App Engine
This is Rietveld 408576698