Index: components/view_manager/test_change_tracker.h |
diff --git a/components/view_manager/test_change_tracker.h b/components/view_manager/test_change_tracker.h |
index 49ad6b681777a47098b4e88296df16b5528fddce..ec9ef74232037cc519357297e786fa42d2173b7a 100644 |
--- a/components/view_manager/test_change_tracker.h |
+++ b/components/view_manager/test_change_tracker.h |
@@ -10,7 +10,7 @@ |
#include "base/basictypes.h" |
#include "components/view_manager/public/cpp/types.h" |
-#include "components/view_manager/public/interfaces/view_manager.mojom.h" |
+#include "components/view_manager/public/interfaces/view_tree.mojom.h" |
#include "third_party/mojo/src/mojo/public/cpp/bindings/array.h" |
#include "ui/mojo/geometry/geometry.mojom.h" |
@@ -53,8 +53,8 @@ struct TestView { |
std::map<std::string, std::vector<uint8_t>> properties; |
}; |
-// Tracks a call to ViewManagerClient. See the individual functions for the |
-// fields that are used. |
+// Tracks a call to ViewTreeClient. See the individual functions for the fields |
+// that are used. |
struct Change { |
Change(); |
~Change(); |
@@ -95,12 +95,12 @@ std::string ChangeViewDescription(const std::vector<Change>& changes); |
void ViewDatasToTestViews(const mojo::Array<mojo::ViewDataPtr>& data, |
std::vector<TestView>* test_views); |
-// TestChangeTracker is used to record ViewManagerClient functions. It notifies |
+// TestChangeTracker is used to record ViewTreeClient functions. It notifies |
// a delegate any time a change is added. |
class TestChangeTracker { |
public: |
// Used to notify the delegate when a change is added. A change corresponds to |
- // a single ViewManagerClient function. |
+ // a single ViewTreeClient function. |
class Delegate { |
public: |
virtual void OnChangeAdded() = 0; |
@@ -119,7 +119,7 @@ class TestChangeTracker { |
std::vector<Change>* changes() { return &changes_; } |
// Each of these functions generate a Change. There is one per |
- // ViewManagerClient function. |
+ // ViewTreeClient function. |
void OnEmbed(mojo::ConnectionSpecificId connection_id, |
mojo::ViewDataPtr root); |
void OnEmbedForDescendant(mojo::Id view_id); |