OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/tab_contents/interstitial_page.h" | 5 #include "content/browser/tab_contents/interstitial_page.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
12 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/dom_operation_notification_details.h" | 15 #include "chrome/browser/dom_operation_notification_details.h" |
16 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/browser/renderer_preferences_util.h" | 17 #include "chrome/browser/renderer_preferences_util.h" |
18 #include "chrome/browser/ui/browser_list.h" | 18 #include "chrome/browser/ui/browser_list.h" |
19 #include "chrome/common/bindings_policy.h" | |
20 #include "content/browser/browser_thread.h" | 19 #include "content/browser/browser_thread.h" |
21 #include "content/browser/renderer_host/render_process_host.h" | 20 #include "content/browser/renderer_host/render_process_host.h" |
22 #include "content/browser/renderer_host/render_view_host.h" | 21 #include "content/browser/renderer_host/render_view_host.h" |
23 #include "content/browser/renderer_host/render_widget_host_view.h" | 22 #include "content/browser/renderer_host/render_widget_host_view.h" |
24 #include "content/browser/renderer_host/resource_dispatcher_host.h" | 23 #include "content/browser/renderer_host/resource_dispatcher_host.h" |
25 #include "content/browser/site_instance.h" | 24 #include "content/browser/site_instance.h" |
26 #include "content/browser/tab_contents/navigation_controller.h" | 25 #include "content/browser/tab_contents/navigation_controller.h" |
27 #include "content/browser/tab_contents/navigation_entry.h" | 26 #include "content/browser/tab_contents/navigation_entry.h" |
28 #include "content/browser/tab_contents/tab_contents.h" | 27 #include "content/browser/tab_contents/tab_contents.h" |
29 #include "content/browser/tab_contents/tab_contents_view.h" | 28 #include "content/browser/tab_contents/tab_contents_view.h" |
| 29 #include "content/common/bindings_policy.h" |
30 #include "content/common/dom_storage_common.h" | 30 #include "content/common/dom_storage_common.h" |
31 #include "content/common/notification_service.h" | 31 #include "content/common/notification_service.h" |
32 #include "content/common/notification_source.h" | 32 #include "content/common/notification_source.h" |
33 #include "content/common/page_transition_types.h" | 33 #include "content/common/page_transition_types.h" |
34 #include "content/common/view_messages.h" | 34 #include "content/common/view_messages.h" |
35 #include "net/base/escape.h" | 35 #include "net/base/escape.h" |
36 #include "net/url_request/url_request_context_getter.h" | 36 #include "net/url_request/url_request_context_getter.h" |
37 | 37 |
38 using WebKit::WebDragOperation; | 38 using WebKit::WebDragOperation; |
39 using WebKit::WebDragOperationsMask; | 39 using WebKit::WebDragOperationsMask; |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 | 731 |
732 void InterstitialPage::UpdateInspectorSetting(const std::string& key, | 732 void InterstitialPage::UpdateInspectorSetting(const std::string& key, |
733 const std::string& value) { | 733 const std::string& value) { |
734 RenderViewHostDelegateHelper::UpdateInspectorSetting( | 734 RenderViewHostDelegateHelper::UpdateInspectorSetting( |
735 tab_->profile(), key, value); | 735 tab_->profile(), key, value); |
736 } | 736 } |
737 | 737 |
738 void InterstitialPage::ClearInspectorSettings() { | 738 void InterstitialPage::ClearInspectorSettings() { |
739 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile()); | 739 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile()); |
740 } | 740 } |
OLD | NEW |