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

Side by Side Diff: mojo/services/public/interfaces/surfaces/quads.mojom

Issue 687793004: mojom: Remove braces from module statements and make them come first. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 module mojo;
6
5 import "mojo/services/public/interfaces/geometry/geometry.mojom"; 7 import "mojo/services/public/interfaces/geometry/geometry.mojom";
6 import "mojo/services/public/interfaces/surfaces/surface_id.mojom"; 8 import "mojo/services/public/interfaces/surfaces/surface_id.mojom";
7 9
8 module mojo {
9
10 struct Color { 10 struct Color {
11 uint32 rgba; 11 uint32 rgba;
12 }; 12 };
13 13
14 // TODO(jamesr): Populate subtype fields. 14 // TODO(jamesr): Populate subtype fields.
15 struct CheckerboardQuadState {}; 15 struct CheckerboardQuadState {};
16 16
17 struct DebugBorderQuadState {}; 17 struct DebugBorderQuadState {};
18 18
19 struct IoSurfaceContentQuadState {}; 19 struct IoSurfaceContentQuadState {};
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 struct Pass { 201 struct Pass {
202 int32 id; 202 int32 id;
203 Rect output_rect; 203 Rect output_rect;
204 Rect damage_rect; 204 Rect damage_rect;
205 Transform transform_to_root_target; 205 Transform transform_to_root_target;
206 bool has_transparent_background; 206 bool has_transparent_background;
207 array<Quad> quads; 207 array<Quad> quads;
208 array<SharedQuadState> shared_quad_states; 208 array<SharedQuadState> shared_quad_states;
209 }; 209 };
210
211 }
OLDNEW
« no previous file with comments | « mojo/services/public/interfaces/network/web_socket.mojom ('k') | mojo/services/public/interfaces/surfaces/surface_id.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698