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

Unified Diff: components/html_viewer/html_frame_apptest.cc

Issue 1347023003: Rename frame classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk Created 5 years, 3 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/html_viewer/html_frame.cc ('k') | components/html_viewer/html_frame_tree_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_frame_apptest.cc
diff --git a/components/html_viewer/html_frame_apptest.cc b/components/html_viewer/html_frame_apptest.cc
index 352bb7bee645c30d02f201a0058d6ff2562256bb..4bfc034c0d9a9e1ff6ac51881c15d0072041f47d 100644
--- a/components/html_viewer/html_frame_apptest.cc
+++ b/components/html_viewer/html_frame_apptest.cc
@@ -18,7 +18,7 @@
#include "components/web_view/frame.h"
#include "components/web_view/frame_connection.h"
#include "components/web_view/frame_tree.h"
-#include "components/web_view/public/interfaces/frame_tree.mojom.h"
+#include "components/web_view/public/interfaces/frame.mojom.h"
#include "components/web_view/test_frame_tree_delegate.h"
#include "mojo/application/public/cpp/application_impl.h"
#include "net/test/spawned_test_server/spawned_test_server.h"
@@ -28,8 +28,8 @@ using mus::ViewManagerTestBase;
using web_view::Frame;
using web_view::FrameConnection;
using web_view::FrameTree;
-using web_view::FrameTreeClient;
using web_view::FrameTreeDelegate;
+using web_view::mojom::FrameClient;
namespace mojo {
@@ -224,11 +224,11 @@ class HTMLFrameTest : public ViewManagerTestBase {
if (!got_callback)
return nullptr;
FrameConnection* result = frame_connection.get();
- FrameTreeClient* frame_tree_client = frame_connection->frame_tree_client();
+ FrameClient* frame_client = frame_connection->frame_client();
ViewTreeClientPtr tree_client = frame_connection->GetViewTreeClient();
frame_tree_.reset(
new FrameTree(result->GetContentHandlerID(), view, tree_client.Pass(),
- frame_tree_delegate_.get(), frame_tree_client,
+ frame_tree_delegate_.get(), frame_client,
frame_connection.Pass(), Frame::ClientPropertyMap()));
frame_tree_delegate_->set_frame_tree(frame_tree_.get());
return result;
« no previous file with comments | « components/html_viewer/html_frame.cc ('k') | components/html_viewer/html_frame_tree_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698