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

Unified Diff: components/view_manager/view_manager_client_apptest.cc

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/view_manager_app.cc ('k') | components/view_manager/view_manager_root_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/view_manager_client_apptest.cc
diff --git a/components/view_manager/view_manager_client_apptest.cc b/components/view_manager/view_manager_client_apptest.cc
index 43e1aa17e526db168a5eb6ef8af6ef3cdddc9a75..c234614933c2dc8401e9c696f1071f194c61907d 100644
--- a/components/view_manager/view_manager_client_apptest.cc
+++ b/components/view_manager/view_manager_client_apptest.cc
@@ -5,7 +5,6 @@
#include "components/view_manager/public/cpp/view_manager.h"
#include "base/logging.h"
-#include "components/view_manager/public/cpp/lib/view_manager_client_impl.h"
#include "components/view_manager/public/cpp/tests/view_manager_test_base.h"
#include "components/view_manager/public/cpp/view_manager_delegate.h"
#include "components/view_manager/public/cpp/view_manager_init.h"
@@ -180,14 +179,14 @@ class ViewManagerTest : public ViewManagerTestBase {
}
// Establishes a connection to this application and asks for a
- // ViewManagerClient. The ViewManagerClient is then embedded in |view|.
- // This does *not* wait for the connection to complete.
+ // ViewTreeClient. The ViewTreeClient is then embedded in |view|. This does
+ // *not* wait for the connection to complete.
void ConnectToApplicationAndEmbed(View* view) {
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From(application_impl()->url());
scoped_ptr<ApplicationConnection> connection =
application_impl()->ConnectToApplication(request.Pass());
- mojo::ViewManagerClientPtr client;
+ mojo::ViewTreeClientPtr client;
connection->ConnectToService(&client);
view->Embed(client.Pass());
}
@@ -195,7 +194,7 @@ class ViewManagerTest : public ViewManagerTestBase {
// Overridden from ViewManagerDelegate:
void OnEmbedForDescendant(View* view,
mojo::URLRequestPtr request,
- mojo::ViewManagerClientPtr* client) override {
+ mojo::ViewTreeClientPtr* client) override {
on_will_embed_count_++;
if (on_will_embed_return_value_) {
scoped_ptr<ApplicationConnection> connection =
« no previous file with comments | « components/view_manager/view_manager_app.cc ('k') | components/view_manager/view_manager_root_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698