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

Side by Side Diff: mojo/services/view_manager/test_change_tracker.h

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 #ifndef MOJO_SERVICES_VIEW_MANAGER_TEST_CHANGE_TRACKER_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_TEST_CHANGE_TRACKER_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_TEST_CHANGE_TRACKER_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_TEST_CHANGE_TRACKER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 Id new_parent_id, 126 Id new_parent_id,
127 Id old_parent_id, 127 Id old_parent_id,
128 Array<ViewDataPtr> views); 128 Array<ViewDataPtr> views);
129 void OnViewReordered(Id view_id, 129 void OnViewReordered(Id view_id,
130 Id relative_view_id, 130 Id relative_view_id,
131 OrderDirection direction); 131 OrderDirection direction);
132 void OnViewDeleted(Id view_id); 132 void OnViewDeleted(Id view_id);
133 void OnViewVisibilityChanged(Id view_id, bool visible); 133 void OnViewVisibilityChanged(Id view_id, bool visible);
134 void OnViewDrawnStateChanged(Id view_id, bool drawn); 134 void OnViewDrawnStateChanged(Id view_id, bool drawn);
135 void OnViewInputEvent(Id view_id, EventPtr event); 135 void OnViewInputEvent(Id view_id, EventPtr event);
136 void OnViewPropertyChanged(Id view_id, 136 void OnViewSharedPropertyChanged(Id view_id,
137 String name, 137 String name,
138 Array<uint8_t> data); 138 Array<uint8_t> data);
139 void DelegateEmbed(const String& url); 139 void DelegateEmbed(const String& url);
140 140
141 private: 141 private:
142 void AddChange(const Change& change); 142 void AddChange(const Change& change);
143 143
144 Delegate* delegate_; 144 Delegate* delegate_;
145 std::vector<Change> changes_; 145 std::vector<Change> changes_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(TestChangeTracker); 147 DISALLOW_COPY_AND_ASSIGN(TestChangeTracker);
148 }; 148 };
149 149
150 } // namespace service 150 } // namespace service
151 } // namespace mojo 151 } // namespace mojo
152 152
153 #endif // MOJO_SERVICES_VIEW_MANAGER_TEST_CHANGE_TRACKER_H_ 153 #endif // MOJO_SERVICES_VIEW_MANAGER_TEST_CHANGE_TRACKER_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/server_view_delegate.h ('k') | mojo/services/view_manager/test_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698