Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: content/browser/tab_contents/interstitial_page.cc

Issue 6537015: Start moving core pieces of Chrome multi-process code to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "chrome/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_list.h" 14 #include "chrome/browser/browser_list.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/browser_thread.h" 16 #include "chrome/browser/browser_thread.h"
17 #include "chrome/browser/dom_operation_notification_details.h" 17 #include "chrome/browser/dom_operation_notification_details.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/renderer_host/render_process_host.h" 19 #include "chrome/browser/renderer_host/render_process_host.h"
20 #include "chrome/browser/renderer_host/render_view_host.h" 20 #include "chrome/browser/renderer_host/render_view_host.h"
21 #include "chrome/browser/renderer_host/render_widget_host_view.h" 21 #include "chrome/browser/renderer_host/render_widget_host_view.h"
22 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 22 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
23 #include "chrome/browser/renderer_host/site_instance.h" 23 #include "chrome/browser/renderer_host/site_instance.h"
24 #include "chrome/browser/renderer_preferences_util.h" 24 #include "chrome/browser/renderer_preferences_util.h"
25 #include "chrome/browser/tab_contents/navigation_controller.h"
26 #include "chrome/browser/tab_contents/navigation_entry.h"
27 #include "chrome/browser/tab_contents/tab_contents.h"
28 #include "chrome/browser/tab_contents/tab_contents_view.h"
29 #include "chrome/common/bindings_policy.h" 25 #include "chrome/common/bindings_policy.h"
30 #include "chrome/common/dom_storage_common.h" 26 #include "chrome/common/dom_storage_common.h"
31 #include "chrome/common/net/url_request_context_getter.h" 27 #include "chrome/common/net/url_request_context_getter.h"
32 #include "chrome/common/notification_source.h" 28 #include "chrome/common/notification_source.h"
33 #include "grit/browser_resources.h" 29 #include "content/browser/tab_contents/navigation_controller.h"
30 #include "content/browser/tab_contents/navigation_entry.h"
31 #include "content/browser/tab_contents/tab_contents.h"
32 #include "content/browser/tab_contents/tab_contents_view.h"
34 #include "net/base/escape.h" 33 #include "net/base/escape.h"
35 34
36 #if defined(TOOLKIT_GTK) 35 #if defined(TOOLKIT_GTK)
37 #include "chrome/browser/ui/gtk/gtk_theme_provider.h" 36 #include "chrome/browser/ui/gtk/gtk_theme_provider.h"
38 #endif 37 #endif
39 38
40 using WebKit::WebDragOperation; 39 using WebKit::WebDragOperation;
41 using WebKit::WebDragOperationsMask; 40 using WebKit::WebDragOperationsMask;
42 41
43 namespace { 42 namespace {
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 723
725 void InterstitialPage::UpdateInspectorSetting(const std::string& key, 724 void InterstitialPage::UpdateInspectorSetting(const std::string& key,
726 const std::string& value) { 725 const std::string& value) {
727 RenderViewHostDelegateHelper::UpdateInspectorSetting( 726 RenderViewHostDelegateHelper::UpdateInspectorSetting(
728 tab_->profile(), key, value); 727 tab_->profile(), key, value);
729 } 728 }
730 729
731 void InterstitialPage::ClearInspectorSettings() { 730 void InterstitialPage::ClearInspectorSettings() {
732 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile()); 731 RenderViewHostDelegateHelper::ClearInspectorSettings(tab_->profile());
733 } 732 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/interstitial_page.h ('k') | content/browser/tab_contents/language_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698