| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/thread.h" | 10 #include "base/thread.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "chrome/browser/tab_contents/tab_contents_view.h" | 26 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| 27 #include "chrome/common/bindings_policy.h" | 27 #include "chrome/common/bindings_policy.h" |
| 28 #include "chrome/common/dom_storage_common.h" | 28 #include "chrome/common/dom_storage_common.h" |
| 29 #if defined(TOOLKIT_GTK) | 29 #if defined(TOOLKIT_GTK) |
| 30 #include "chrome/browser/gtk/gtk_theme_provider.h" | 30 #include "chrome/browser/gtk/gtk_theme_provider.h" |
| 31 #endif | 31 #endif |
| 32 #include "chrome/common/net/url_request_context_getter.h" | 32 #include "chrome/common/net/url_request_context_getter.h" |
| 33 #include "chrome/common/notification_service.h" | 33 #include "chrome/common/notification_service.h" |
| 34 #include "grit/browser_resources.h" | 34 #include "grit/browser_resources.h" |
| 35 #include "net/base/escape.h" | 35 #include "net/base/escape.h" |
| 36 #include "views/window/window_delegate.h" | |
| 37 | 36 |
| 38 using WebKit::WebDragOperation; | 37 using WebKit::WebDragOperation; |
| 39 using WebKit::WebDragOperationsMask; | 38 using WebKit::WebDragOperationsMask; |
| 40 | 39 |
| 41 namespace { | 40 namespace { |
| 42 | 41 |
| 43 class ResourceRequestTask : public Task { | 42 class ResourceRequestTask : public Task { |
| 44 public: | 43 public: |
| 45 ResourceRequestTask(int process_id, | 44 ResourceRequestTask(int process_id, |
| 46 int render_view_host_id, | 45 int render_view_host_id, |
| (...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 | 724 |
| 726 void InterstitialPage::UpdateInspectorSetting(const std::string& key, | 725 void InterstitialPage::UpdateInspectorSetting(const std::string& key, |
| 727 const std::string& value) { | 726 const std::string& value) { |
| 728 RenderViewHostDelegateHelper::UpdateInspectorSetting( | 727 RenderViewHostDelegateHelper::UpdateInspectorSetting( |
| 729 tab_->profile(), key, value); | 728 tab_->profile(), key, value); |
| 730 } | 729 } |
| 731 | 730 |
| 732 void InterstitialPage::ClearInspectorSettings() { | 731 void InterstitialPage::ClearInspectorSettings() { |
| 733 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile()); | 732 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile()); |
| 734 } | 733 } |
| OLD | NEW |