summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 15:54:26 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 15:54:26 +0000
commit9b6f40e8b6954425a76d109eca5c3cb4b84d5afd (patch)
treec06a88c5c487f6bf28fc1198d96517a857c9d7da /chrome/browser
parentc358f2dfeaa8fedcce0d33e3ce3baa6bff925af7 (diff)
downloadchromium_src-9b6f40e8b6954425a76d109eca5c3cb4b84d5afd.zip
chromium_src-9b6f40e8b6954425a76d109eca5c3cb4b84d5afd.tar.gz
chromium_src-9b6f40e8b6954425a76d109eca5c3cb4b84d5afd.tar.bz2
Move renderer_preferences.h from chrome/browser into chrome/common. We
include the file in chrome/renderer and chrome/browser so to make check deps happy, I'm putting the file in chrome/common. Review URL: http://codereview.chromium.org/123001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/renderer_host/render_view_host_delegate.h2
-rw-r--r--chrome/browser/renderer_preferences.h25
-rw-r--r--chrome/browser/tab_contents/tab_contents.h2
-rw-r--r--chrome/browser/tab_contents/tab_contents_delegate.h2
4 files changed, 3 insertions, 28 deletions
diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h
index abfaf86..8c8ffe1 100644
--- a/chrome/browser/renderer_host/render_view_host_delegate.h
+++ b/chrome/browser/renderer_host/render_view_host_delegate.h
@@ -12,8 +12,8 @@
#include "base/file_path.h"
#include "base/gfx/rect.h"
#include "base/logging.h"
-#include "chrome/browser/renderer_preferences.h"
#include "chrome/common/native_web_keyboard_event.h"
+#include "chrome/common/renderer_preferences.h"
#include "net/base/load_states.h"
#include "webkit/glue/password_form.h"
#include "webkit/glue/webpreferences.h"
diff --git a/chrome/browser/renderer_preferences.h b/chrome/browser/renderer_preferences.h
deleted file mode 100644
index 0a4b34f..0000000
--- a/chrome/browser/renderer_preferences.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// A struct for managing browser's settings that apply to the renderer or its
-// webview. These differ from WebPreferences since they apply to Chromium's
-// glue layer rather than applying to just WebKit.
-//
-// Adding new values to this class probably involves updating
-// common/render_messages.h, browser/browser.cc, etc.
-
-#ifndef CHROME_BROWSER_RENDERER_PREFERENCES_H_
-#define CHROME_BROWSER_RENDERER_PREFERENCES_H_
-
-struct RendererPreferences {
- // Whether the renderer's current browser context accept drops from the OS
- // that result in navigations away from the current page.
- bool can_accept_load_drops;
-
- RendererPreferences()
- : can_accept_load_drops(true) {
- }
-};
-
-#endif // CHROME_BROWSER_RENDERER_PREFERENCES_H_
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index 8bb35c9..d73db16 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -23,7 +23,6 @@
#include "chrome/browser/find_notification_details.h"
#include "chrome/browser/shell_dialogs.h"
#include "chrome/browser/renderer_host/render_view_host_delegate.h"
-#include "chrome/browser/renderer_preferences.h"
#include "chrome/browser/tab_contents/constrained_window.h"
#include "chrome/browser/tab_contents/infobar_delegate.h"
#include "chrome/browser/tab_contents/navigation_controller.h"
@@ -33,6 +32,7 @@
#include "chrome/common/navigation_types.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/property_bag.h"
+#include "chrome/common/renderer_preferences.h"
#include "net/base/load_states.h"
#include "webkit/glue/password_form.h"
#include "webkit/glue/webpreferences.h"
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
index 43f5cc4..496172a 100644
--- a/chrome/browser/tab_contents/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents/tab_contents_delegate.h
@@ -8,8 +8,8 @@
#include "base/basictypes.h"
#include "base/gfx/native_widget_types.h"
#include "base/gfx/rect.h"
-#include "chrome/browser/renderer_preferences.h"
#include "chrome/common/page_transition_types.h"
+#include "chrome/common/renderer_preferences.h"
#include "webkit/glue/window_open_disposition.h"
class DownloadItem;