OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "services/navigation/view_impl.h" | 5 #include "services/navigation/view_impl.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "components/mus/public/cpp/window_tree_connection.h" | 8 #include "components/mus/public/cpp/window_tree_connection.h" |
9 #include "content/public/browser/navigation_controller.h" | 9 #include "content/public/browser/navigation_controller.h" |
10 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
11 #include "mojo/converters/geometry/geometry_type_converters.h" | 11 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" |
12 #include "ui/views/controls/webview/webview.h" | 12 #include "ui/views/controls/webview/webview.h" |
13 #include "ui/views/mus/native_widget_mus.h" | 13 #include "ui/views/mus/native_widget_mus.h" |
14 #include "ui/views/widget/widget.h" | 14 #include "ui/views/widget/widget.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
17 namespace navigation { | 17 namespace navigation { |
18 | 18 |
19 ViewImpl::ViewImpl(shell::Connector* connector, | 19 ViewImpl::ViewImpl(shell::Connector* connector, |
20 content::BrowserContext* browser_context, | 20 content::BrowserContext* browser_context, |
21 mojom::ViewClientPtr client, | 21 mojom::ViewClientPtr client, |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 views::Widget* ViewImpl::GetWidget() { | 131 views::Widget* ViewImpl::GetWidget() { |
132 return web_view_->GetWidget(); | 132 return web_view_->GetWidget(); |
133 } | 133 } |
134 | 134 |
135 const views::Widget* ViewImpl::GetWidget() const { | 135 const views::Widget* ViewImpl::GetWidget() const { |
136 return web_view_->GetWidget(); | 136 return web_view_->GetWidget(); |
137 } | 137 } |
138 | 138 |
139 } // navigation | 139 } // navigation |
OLD | NEW |