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

Unified Diff: components/view_manager/test_change_tracker.h

Issue 1314953002: Rename ViewManagerService,ViewManagerClient -> ViewTree,ViewTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 | « components/view_manager/server_view.h ('k') | components/view_manager/view_manager_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « components/view_manager/server_view.h ('k') | components/view_manager/view_manager_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698