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

Side by Side Diff: mojo/services/ui/views/interfaces/views.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.ui; 6 module mojo.ui;
7 7
8 import "mojo/public/interfaces/application/service_provider.mojom"; 8 import "mojo/public/interfaces/application/service_provider.mojom";
9 import "mojo/services/gfx/composition/interfaces/scenes.mojom"; 9 import "mojo/services/gfx/composition/interfaces/scenes.mojom";
10 import "mojo/services/ui/views/interfaces/layouts.mojom"; 10 import "mojo/services/ui/views/interfaces/layouts.mojom";
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // 124 //
125 // Recursive layout happens in any of the following circumstances: 125 // Recursive layout happens in any of the following circumstances:
126 // 126 //
127 // 1. If the resulting scene has changed since the last layout. 127 // 1. If the resulting scene has changed since the last layout.
128 // 2. If the resulting size has changed since the last layout. 128 // 2. If the resulting size has changed since the last layout.
129 // 129 //
130 // It is an error to return a malformed |result| which does not satisfy 130 // It is an error to return a malformed |result| which does not satisfy
131 // the requested |layout_params|, such as by returning a size which 131 // the requested |layout_params|, such as by returning a size which
132 // exceeds the requested constraints; the view's connection will be closed. 132 // exceeds the requested constraints; the view's connection will be closed.
133 OnLayout(mojo.ui.ViewLayoutParams layout_params, 133 OnLayout(mojo.ui.ViewLayoutParams layout_params,
134 array<uint32> children_needing_layout) => (mojo.ui.ViewLayoutResult result); 134 array<uint32> children_needing_layout)
135 => (mojo.ui.ViewLayoutResult result);
135 }; 136 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698