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

Unified Diff: components/html_viewer/html_frame_apptest.cc

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 8faca9ceb645aed137cf519a5d3ab744ed3f5ae1..ac144e5844838c502de9d8278b68c94470942897 100644
--- a/components/html_viewer/html_frame_apptest.cc
+++ b/components/html_viewer/html_frame_apptest.cc
@@ -24,7 +24,6 @@
#include "net/test/spawned_test_server/spawned_test_server.h"
#include "third_party/mojo_services/src/accessibility/public/interfaces/accessibility.mojom.h"
-using mus::ViewManagerTestBase;
using web_view::Frame;
using web_view::FrameConnection;
using web_view::FrameTree;
@@ -142,7 +141,7 @@
// Creates the frame tree showing an empty page at the root and adds (via
// script) a frame showing the same empty page.
Frame* LoadEmptyPageAndCreateFrame() {
- mus::View* embed_view = window_manager()->CreateView();
+ View* embed_view = window_manager()->CreateView();
frame_tree_delegate_.reset(
new TestFrameTreeDelegateImpl(application_impl()));
FrameConnection* root_connection =
@@ -195,8 +194,7 @@
return request.Pass();
}
- FrameConnection* InitFrameTree(mus::View* view,
- const std::string& url_string) {
+ FrameConnection* InitFrameTree(View* view, const std::string& url_string) {
frame_tree_delegate_.reset(
new TestFrameTreeDelegateImpl(application_impl()));
scoped_ptr<FrameConnection> frame_connection(new FrameConnection);
@@ -252,7 +250,7 @@
};
TEST_F(HTMLFrameTest, PageWithSingleFrame) {
- mus::View* embed_view = window_manager()->CreateView();
+ View* embed_view = window_manager()->CreateView();
FrameConnection* root_connection = InitFrameTree(
embed_view, "http://127.0.0.1:%u/files/page_with_single_frame.html");
@@ -281,7 +279,7 @@
// Creates two frames. The parent navigates the child frame by way of changing
// the location of the child frame.
TEST_F(HTMLFrameTest, ChangeLocationOfChildFrame) {
- mus::View* embed_view = window_manager()->CreateView();
+ View* embed_view = window_manager()->CreateView();
ASSERT_TRUE(InitFrameTree(
embed_view, "http://127.0.0.1:%u/files/page_with_single_frame.html"));
« 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