| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/frame_host/interstitial_page_impl.h" | 5 #include "content/browser/frame_host/interstitial_page_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "content/public/browser/content_browser_client.h" | 41 #include "content/public/browser/content_browser_client.h" |
| 42 #include "content/public/browser/interstitial_page_delegate.h" | 42 #include "content/public/browser/interstitial_page_delegate.h" |
| 43 #include "content/public/browser/invalidate_type.h" | 43 #include "content/public/browser/invalidate_type.h" |
| 44 #include "content/public/browser/notification_service.h" | 44 #include "content/public/browser/notification_service.h" |
| 45 #include "content/public/browser/notification_source.h" | 45 #include "content/public/browser/notification_source.h" |
| 46 #include "content/public/browser/notification_types.h" | 46 #include "content/public/browser/notification_types.h" |
| 47 #include "content/public/browser/storage_partition.h" | 47 #include "content/public/browser/storage_partition.h" |
| 48 #include "content/public/browser/user_metrics.h" | 48 #include "content/public/browser/user_metrics.h" |
| 49 #include "content/public/browser/web_contents_delegate.h" | 49 #include "content/public/browser/web_contents_delegate.h" |
| 50 #include "content/public/common/bindings_policy.h" | 50 #include "content/public/common/bindings_policy.h" |
| 51 #include "content/public/common/browser_side_navigation_policy.h" |
| 51 #include "net/base/escape.h" | 52 #include "net/base/escape.h" |
| 52 #include "net/url_request/url_request_context_getter.h" | 53 #include "net/url_request/url_request_context_getter.h" |
| 53 #include "ui/base/page_transition_types.h" | 54 #include "ui/base/page_transition_types.h" |
| 54 | 55 |
| 55 using blink::WebDragOperation; | 56 using blink::WebDragOperation; |
| 56 using blink::WebDragOperationsMask; | 57 using blink::WebDragOperationsMask; |
| 57 | 58 |
| 58 namespace content { | 59 namespace content { |
| 59 | 60 |
| 60 class InterstitialPageImpl::InterstitialPageRVHDelegateView | 61 class InterstitialPageImpl::InterstitialPageRVHDelegateView |
| (...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { | 938 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { |
| 938 interstitial_->OnNavigatingAwayOrTabClosing(); | 939 interstitial_->OnNavigatingAwayOrTabClosing(); |
| 939 } | 940 } |
| 940 | 941 |
| 941 TextInputManager* InterstitialPageImpl::GetTextInputManager() { | 942 TextInputManager* InterstitialPageImpl::GetTextInputManager() { |
| 942 return !web_contents_ ? nullptr : static_cast<WebContentsImpl*>(web_contents_) | 943 return !web_contents_ ? nullptr : static_cast<WebContentsImpl*>(web_contents_) |
| 943 ->GetTextInputManager(); | 944 ->GetTextInputManager(); |
| 944 } | 945 } |
| 945 | 946 |
| 946 } // namespace content | 947 } // namespace content |
| OLD | NEW |