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

Side by Side Diff: components/web_view/web_view_apptest.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/web_view/public/cpp/web_view.h" 5 #include "components/web_view/public/cpp/web_view.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "components/view_manager/public/cpp/scoped_view_ptr.h" 13 #include "components/mus/public/cpp/scoped_view_ptr.h"
14 #include "components/view_manager/public/cpp/tests/view_manager_test_base.h" 14 #include "components/mus/public/cpp/tests/view_manager_test_base.h"
15 #include "components/view_manager/public/cpp/view.h" 15 #include "components/mus/public/cpp/view.h"
16 #include "components/view_manager/public/cpp/view_tree_connection.h" 16 #include "components/mus/public/cpp/view_tree_connection.h"
17 #include "mojo/util/filename_util.h" 17 #include "mojo/util/filename_util.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
19 19
20 namespace web_view { 20 namespace web_view {
21 21
22 class WebViewTest : public mojo::ViewManagerTestBase, 22 class WebViewTest : public mojo::ViewManagerTestBase,
23 public mojom::WebViewClient { 23 public mojom::WebViewClient {
24 public: 24 public:
25 WebViewTest() : web_view_(this) {} 25 WebViewTest() : web_view_(this) {}
26 ~WebViewTest() override {} 26 ~WebViewTest() override {}
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 web_view()->LoadRequest(request.Pass()); 102 web_view()->LoadRequest(request.Pass());
103 103
104 // Build a nested run loop. 104 // Build a nested run loop.
105 StartNestedRunLoopUntilLoadingDone(); 105 StartNestedRunLoopUntilLoadingDone();
106 106
107 // Our title should have been set on the final. 107 // Our title should have been set on the final.
108 EXPECT_EQ("Test Title Changed", last_title()); 108 EXPECT_EQ("Test Title Changed", last_title());
109 } 109 }
110 110
111 } // namespace web_view 111 } // namespace web_view
OLDNEW
« no previous file with comments | « components/web_view/test_runner/test_runner_application_delegate.cc ('k') | components/web_view/web_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698