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_client.h" | |
9 #include "content/public/browser/browser_context.h" | 8 #include "content/public/browser/browser_context.h" |
10 #include "content/public/browser/interstitial_page.h" | 9 #include "content/public/browser/interstitial_page.h" |
11 #include "content/public/browser/interstitial_page_delegate.h" | 10 #include "content/public/browser/interstitial_page_delegate.h" |
12 #include "content/public/browser/navigation_controller.h" | 11 #include "content/public/browser/navigation_controller.h" |
13 #include "content/public/browser/navigation_details.h" | 12 #include "content/public/browser/navigation_details.h" |
14 #include "content/public/browser/navigation_entry.h" | 13 #include "content/public/browser/navigation_entry.h" |
15 #include "content/public/browser/notification_details.h" | 14 #include "content/public/browser/notification_details.h" |
16 #include "content/public/browser/notification_source.h" | 15 #include "content/public/browser/notification_source.h" |
17 #include "content/public/browser/notification_types.h" | 16 #include "content/public/browser/notification_types.h" |
18 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
| 18 #include "services/ui/public/cpp/window_tree_client.h" |
19 #include "ui/views/controls/webview/webview.h" | 19 #include "ui/views/controls/webview/webview.h" |
20 #include "ui/views/mus/native_widget_mus.h" | 20 #include "ui/views/mus/native_widget_mus.h" |
21 #include "ui/views/widget/widget.h" | 21 #include "ui/views/widget/widget.h" |
22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
23 | 23 |
24 namespace navigation { | 24 namespace navigation { |
25 namespace { | 25 namespace { |
26 | 26 |
27 class InterstitialPageDelegate : public content::InterstitialPageDelegate { | 27 class InterstitialPageDelegate : public content::InterstitialPageDelegate { |
28 public: | 28 public: |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 | 287 |
288 views::Widget* ViewImpl::GetWidget() { | 288 views::Widget* ViewImpl::GetWidget() { |
289 return web_view_->GetWidget(); | 289 return web_view_->GetWidget(); |
290 } | 290 } |
291 | 291 |
292 const views::Widget* ViewImpl::GetWidget() const { | 292 const views::Widget* ViewImpl::GetWidget() const { |
293 return web_view_->GetWidget(); | 293 return web_view_->GetWidget(); |
294 } | 294 } |
295 | 295 |
296 } // navigation | 296 } // navigation |
OLD | NEW |