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

Side by Side Diff: mojo/services/gfx/composition/interfaces/renderers.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo.gfx.composition; 6 module mojo.gfx.composition;
7 7
8 import "mojo/services/geometry/interfaces/geometry.mojom"; 8 import "mojo/services/geometry/interfaces/geometry.mojom";
9 import "mojo/services/gfx/composition/interfaces/hit_tests.mojom"; 9 import "mojo/services/gfx/composition/interfaces/hit_tests.mojom";
10 import "mojo/services/gfx/composition/interfaces/scene_token.mojom"; 10 import "mojo/services/gfx/composition/interfaces/scene_token.mojom";
(...skipping 11 matching lines...) Expand all
22 // 22 //
23 // The |scene_version| specifies the version of the scene to render, 23 // The |scene_version| specifies the version of the scene to render,
24 // Use |kSceneVersionNone| to request the most recently published 24 // Use |kSceneVersionNone| to request the most recently published
25 // version of the scene if synchronization is unimportant. 25 // version of the scene if synchronization is unimportant.
26 // 26 //
27 // The |viewport| specifies the portion of the scene to render in pixels. 27 // The |viewport| specifies the portion of the scene to render in pixels.
28 // 28 //
29 // It is an error to create a renderer with an invalid |scene_token| 29 // It is an error to create a renderer with an invalid |scene_token|
30 // or |size|; the connection will be closed. 30 // or |size|; the connection will be closed.
31 // TODO: make this an event instead 31 // TODO: make this an event instead
32 SetRootScene(SceneToken scene_token, uint32 scene_version, 32 SetRootScene(SceneToken scene_token,
33 mojo.Rect viewport); 33 uint32 scene_version,
34 mojo.Rect viewport);
34 35
35 // Dissociates the root scene from the renderer. 36 // Dissociates the root scene from the renderer.
36 ClearRootScene(); 37 ClearRootScene();
37 38
38 // Provides an interface which can be used to perform hit tests on the 39 // Provides an interface which can be used to perform hit tests on the
39 // contents of the renderer's scene graph. 40 // contents of the renderer's scene graph.
40 GetHitTester(HitTester& hit_tester); 41 GetHitTester(HitTester& hit_tester);
41 }; 42 };
OLDNEW
« no previous file with comments | « mojo/services/gfx/composition/interfaces/nodes.mojom ('k') | mojo/services/gfx/composition/interfaces/scenes.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698