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

Side by Side Diff: chrome/common/renderer_preferences.h

Issue 123001: Move renderer_preferences.h from chrome/browser into chrome/common. We (Closed)
Patch Set: include deps Created 11 years, 6 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // A struct for managing browser's settings that apply to the renderer or its
6 // webview. These differ from WebPreferences since they apply to Chromium's
7 // glue layer rather than applying to just WebKit.
8 //
9 // Adding new values to this class probably involves updating
10 // common/render_messages.h, browser/browser.cc, etc.
11
12 #ifndef CHROME_COMMON_RENDERER_PREFERENCES_H_
13 #define CHROME_COMMON_RENDERER_PREFERENCES_H_
14
15 struct RendererPreferences {
16 // Whether the renderer's current browser context accept drops from the OS
17 // that result in navigations away from the current page.
18 bool can_accept_load_drops;
19
20 RendererPreferences()
21 : can_accept_load_drops(true) {
22 }
23 };
24
25 #endif // CHROME_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698