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

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

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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
« no previous file with comments | « components/web_view/web_view_application_delegate.cc ('k') | content/app/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/web_view_impl.h" 5 #include "components/web_view/web_view_impl.h"
6 6
7 #include <queue> 7 #include <queue>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "components/devtools_service/public/cpp/switches.h" 12 #include "components/devtools_service/public/cpp/switches.h"
13 #include "components/mus/public/cpp/scoped_window_ptr.h" 13 #include "components/mus/public/cpp/scoped_window_ptr.h"
14 #include "components/mus/public/cpp/window.h" 14 #include "components/mus/public/cpp/window.h"
15 #include "components/mus/public/cpp/window_tree_connection.h" 15 #include "components/mus/public/cpp/window_tree_connection.h"
16 #include "components/web_view/client_initiated_frame_connection.h" 16 #include "components/web_view/client_initiated_frame_connection.h"
17 #include "components/web_view/frame.h" 17 #include "components/web_view/frame.h"
18 #include "components/web_view/frame_connection.h" 18 #include "components/web_view/frame_connection.h"
19 #include "components/web_view/frame_devtools_agent.h" 19 #include "components/web_view/frame_devtools_agent.h"
20 #include "components/web_view/frame_tree.h" 20 #include "components/web_view/frame_tree.h"
21 #include "components/web_view/navigation_entry.h" 21 #include "components/web_view/navigation_entry.h"
22 #include "components/web_view/pending_web_view_load.h" 22 #include "components/web_view/pending_web_view_load.h"
23 #include "components/web_view/url_request_cloneable.h" 23 #include "components/web_view/url_request_cloneable.h"
24 #include "mojo/application/public/cpp/application_impl.h"
25 #include "mojo/converters/geometry/geometry_type_converters.h" 24 #include "mojo/converters/geometry/geometry_type_converters.h"
25 #include "mojo/shell/public/cpp/application_impl.h"
26 #include "url/gurl.h" 26 #include "url/gurl.h"
27 27
28 namespace web_view { 28 namespace web_view {
29 namespace { 29 namespace {
30 30
31 bool EnableRemoteDebugging() { 31 bool EnableRemoteDebugging() {
32 return base::CommandLine::ForCurrentProcess()->HasSwitch( 32 return base::CommandLine::ForCurrentProcess()->HasSwitch(
33 devtools_service::kRemoteDebuggingPort); 33 devtools_service::kRemoteDebuggingPort);
34 } 34 }
35 35
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 std::vector<Frame*> all_frames; 280 std::vector<Frame*> all_frames;
281 PreOrderDepthFirstTraverseTree(frame_tree_->root(), &all_frames); 281 PreOrderDepthFirstTraverseTree(frame_tree_->root(), &all_frames);
282 return all_frames; 282 return all_frames;
283 } 283 }
284 284
285 mojom::WebViewClient* WebViewImpl::GetWebViewClient() { 285 mojom::WebViewClient* WebViewImpl::GetWebViewClient() {
286 return client_.get(); 286 return client_.get();
287 } 287 }
288 288
289 } // namespace web_view 289 } // namespace web_view
OLDNEW
« no previous file with comments | « components/web_view/web_view_application_delegate.cc ('k') | content/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698