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

Side by Side Diff: mojo/services/public/interfaces/view_manager/view_manager.mojom

Issue 732223002: Rebuild aura::Window's property system on top of mojo::View. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: The rest of the sky comments from the previous review. 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; 5 module mojo;
6 6
7 import "mojo/public/interfaces/application/service_provider.mojom"; 7 import "mojo/public/interfaces/application/service_provider.mojom";
8 import "mojo/services/public/interfaces/geometry/geometry.mojom"; 8 import "mojo/services/public/interfaces/geometry/geometry.mojom";
9 import "mojo/services/public/interfaces/input_events/input_events.mojom"; 9 import "mojo/services/public/interfaces/input_events/input_events.mojom";
10 import "mojo/services/public/interfaces/surfaces/surface_id.mojom"; 10 import "mojo/services/public/interfaces/surfaces/surface_id.mojom";
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // are from connection 2 and A from connection 1 with all views visible and 184 // are from connection 2 and A from connection 1 with all views visible and
185 // drawn and the visiblity of A changes to false, then connection 2 is told 185 // drawn and the visiblity of A changes to false, then connection 2 is told
186 // the drawn state of B1 has changed (to false), but is not told anything 186 // the drawn state of B1 has changed (to false), but is not told anything
187 // about B2 as it's drawn state can be calculated from that of B1. 187 // about B2 as it's drawn state can be calculated from that of B1.
188 // 188 //
189 // NOTE: This is not invoked if OnViewVisibilityChanged() is invoked. 189 // NOTE: This is not invoked if OnViewVisibilityChanged() is invoked.
190 OnViewDrawnStateChanged(uint32 view, bool drawn); 190 OnViewDrawnStateChanged(uint32 view, bool drawn);
191 191
192 // Invoked when a view property is changed. If this change is a removal, 192 // Invoked when a view property is changed. If this change is a removal,
193 // |new_data| is null. 193 // |new_data| is null.
194 OnViewPropertyChanged(uint32 view, string name, array<uint8>? new_data); 194 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data);
195 195
196 // Invoked when an event is targeted at the specified view. 196 // Invoked when an event is targeted at the specified view.
197 OnViewInputEvent(uint32 view, mojo.Event event) => (); 197 OnViewInputEvent(uint32 view, mojo.Event event) => ();
198 }; 198 };
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/view_manager/view_property.h ('k') | mojo/services/view_manager/connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698