OLD | NEW |
1 // Copyright (c) 2010 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 "chrome/browser/tab_contents/interstitial_page.h" | 5 #include "chrome/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" |
(...skipping 15 matching lines...) Expand all Loading... |
27 #include "chrome/browser/tab_contents/tab_contents.h" | 27 #include "chrome/browser/tab_contents/tab_contents.h" |
28 #include "chrome/browser/tab_contents/tab_contents_view.h" | 28 #include "chrome/browser/tab_contents/tab_contents_view.h" |
29 #include "chrome/common/bindings_policy.h" | 29 #include "chrome/common/bindings_policy.h" |
30 #include "chrome/common/dom_storage_common.h" | 30 #include "chrome/common/dom_storage_common.h" |
31 #include "chrome/common/net/url_request_context_getter.h" | 31 #include "chrome/common/net/url_request_context_getter.h" |
32 #include "chrome/common/notification_source.h" | 32 #include "chrome/common/notification_source.h" |
33 #include "grit/browser_resources.h" | 33 #include "grit/browser_resources.h" |
34 #include "net/base/escape.h" | 34 #include "net/base/escape.h" |
35 | 35 |
36 #if defined(TOOLKIT_GTK) | 36 #if defined(TOOLKIT_GTK) |
37 #include "chrome/browser/gtk/gtk_theme_provider.h" | 37 #include "chrome/browser/ui/gtk/gtk_theme_provider.h" |
38 #endif | 38 #endif |
39 | 39 |
40 using WebKit::WebDragOperation; | 40 using WebKit::WebDragOperation; |
41 using WebKit::WebDragOperationsMask; | 41 using WebKit::WebDragOperationsMask; |
42 | 42 |
43 namespace { | 43 namespace { |
44 | 44 |
45 class ResourceRequestTask : public Task { | 45 class ResourceRequestTask : public Task { |
46 public: | 46 public: |
47 ResourceRequestTask(int process_id, | 47 ResourceRequestTask(int process_id, |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 | 727 |
728 void InterstitialPage::UpdateInspectorSetting(const std::string& key, | 728 void InterstitialPage::UpdateInspectorSetting(const std::string& key, |
729 const std::string& value) { | 729 const std::string& value) { |
730 RenderViewHostDelegateHelper::UpdateInspectorSetting( | 730 RenderViewHostDelegateHelper::UpdateInspectorSetting( |
731 tab_->profile(), key, value); | 731 tab_->profile(), key, value); |
732 } | 732 } |
733 | 733 |
734 void InterstitialPage::ClearInspectorSettings() { | 734 void InterstitialPage::ClearInspectorSettings() { |
735 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile()); | 735 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile()); |
736 } | 736 } |
OLD | NEW |