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

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

Issue 304323005: Revert 273723 "Wire input events through the ViewManagerClient i..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
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 import "../geometry/geometry.mojom" 5 import "../geometry/geometry.mojom"
6 import "../input_events/input_events.mojom"
7 6
8 module mojo.view_manager { 7 module mojo.view_manager {
9 8
10 struct INode { 9 struct INode {
11 uint32 parent_id; 10 uint32 parent_id;
12 uint32 node_id; 11 uint32 node_id;
13 uint32 view_id; 12 uint32 view_id;
14 mojo.Rect bounds; 13 mojo.Rect bounds;
15 }; 14 };
16 15
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 132
134 // Invoked when a node is deleted. 133 // Invoked when a node is deleted.
135 OnNodeDeleted(uint32 node, uint32 server_change_id); 134 OnNodeDeleted(uint32 node, uint32 server_change_id);
136 135
137 // Invoked when the view associated with a node is replaced by another view. 136 // Invoked when the view associated with a node is replaced by another view.
138 // 0 is used to identify a null view. 137 // 0 is used to identify a null view.
139 OnNodeViewReplaced(uint32 node, uint32 new_view_id, uint32 old_view_id); 138 OnNodeViewReplaced(uint32 node, uint32 new_view_id, uint32 old_view_id);
140 139
141 // Invoked when a view is deleted. 140 // Invoked when a view is deleted.
142 OnViewDeleted(uint32 view); 141 OnViewDeleted(uint32 view);
143
144 // Invoked when an event is targeted at the specified view.
145 OnViewInputEvent(uint32 view, mojo.Event event) => ();
146 }; 142 };
147 143
148 } 144 }
OLDNEW
« no previous file with comments | « trunk/src/mojo/services/public/cpp/view_manager/view_observer.h ('k') | trunk/src/mojo/services/view_manager/node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698