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" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
18 #include "base/thread_task_runner_handle.h" | |
19 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
| 19 #include "base/threading/thread_task_runner_handle.h" |
20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
21 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 21 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
22 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 22 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
23 #include "content/browser/frame_host/interstitial_page_navigator_impl.h" | 23 #include "content/browser/frame_host/interstitial_page_navigator_impl.h" |
24 #include "content/browser/frame_host/navigation_controller_impl.h" | 24 #include "content/browser/frame_host/navigation_controller_impl.h" |
25 #include "content/browser/frame_host/navigation_entry_impl.h" | 25 #include "content/browser/frame_host/navigation_entry_impl.h" |
26 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 26 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
27 #include "content/browser/renderer_host/render_process_host_impl.h" | 27 #include "content/browser/renderer_host/render_process_host_impl.h" |
28 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 28 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
29 #include "content/browser/renderer_host/render_view_host_factory.h" | 29 #include "content/browser/renderer_host/render_view_host_factory.h" |
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( | 931 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( |
932 const LoadCommittedDetails& load_details) { | 932 const LoadCommittedDetails& load_details) { |
933 interstitial_->OnNavigatingAwayOrTabClosing(); | 933 interstitial_->OnNavigatingAwayOrTabClosing(); |
934 } | 934 } |
935 | 935 |
936 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { | 936 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { |
937 interstitial_->OnNavigatingAwayOrTabClosing(); | 937 interstitial_->OnNavigatingAwayOrTabClosing(); |
938 } | 938 } |
939 | 939 |
940 } // namespace content | 940 } // namespace content |
OLD | NEW |