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

Unified Diff: mojo/services/view_manager/test_change_tracker.h

Issue 460863002: Rename Node to View in the View Manager mojom & client lib. Service TBD. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/view_manager/root_node_manager.cc ('k') | mojo/services/view_manager/test_change_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/test_change_tracker.h
diff --git a/mojo/services/view_manager/test_change_tracker.h b/mojo/services/view_manager/test_change_tracker.h
index d827e9fa70792f58e49e8e17d096d5051d05880a..3e4c238874fc0fae4258c43146ae16d81571e967 100644
--- a/mojo/services/view_manager/test_change_tracker.h
+++ b/mojo/services/view_manager/test_change_tracker.h
@@ -26,7 +26,7 @@ enum ChangeType {
CHANGE_TYPE_DELEGATE_EMBED,
};
-// TODO(sky): consider nuking and converting directly to NodeData.
+// TODO(sky): consider nuking and converting directly to ViewData.
struct TestNode {
// Returns a string description of this.
std::string ToString() const;
@@ -63,8 +63,8 @@ std::vector<std::string> ChangesToDescription1(
// if change.size() != 1.
std::string ChangeNodeDescription(const std::vector<Change>& changes);
-// Converts NodeDatas to TestNodes.
-void NodeDatasToTestNodes(const Array<NodeDataPtr>& data,
+// Converts ViewDatas to TestNodes.
+void ViewDatasToTestNodes(const Array<ViewDataPtr>& data,
std::vector<TestNode>* test_nodes);
// TestChangeTracker is used to record ViewManagerClient functions. It notifies
@@ -94,12 +94,12 @@ class TestChangeTracker {
// ViewManagerClient function.
void OnEmbed(ConnectionSpecificId connection_id,
const String& creator_url,
- NodeDataPtr root);
+ ViewDataPtr root);
void OnNodeBoundsChanged(Id node_id, RectPtr old_bounds, RectPtr new_bounds);
void OnNodeHierarchyChanged(Id node_id,
Id new_parent_id,
Id old_parent_id,
- Array<NodeDataPtr> nodes);
+ Array<ViewDataPtr> nodes);
void OnNodeReordered(Id node_id,
Id relative_node_id,
OrderDirection direction);
« no previous file with comments | « mojo/services/view_manager/root_node_manager.cc ('k') | mojo/services/view_manager/test_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698