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

Side by Side Diff: content/public/common/renderer_preferences.h

Issue 8432011: Move RendererPreferences to content/public/common and also put in the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // A struct for managing browser's settings that apply to the renderer or its 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 6 // webview. These differ from WebPreferences since they apply to Chromium's
7 // glue layer rather than applying to just WebKit. 7 // glue layer rather than applying to just WebKit.
8 // 8 //
9 // Adding new values to this class probably involves updating 9 // Adding new values to this class probably involves updating
10 // common/render_messages.h, browser/browser.cc, etc. 10 // common/view_messages.h, browser/browser.cc, etc.
11 11
12 #ifndef CONTENT_COMMON_RENDERER_PREFERENCES_H_ 12 #ifndef CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
13 #define CONTENT_COMMON_RENDERER_PREFERENCES_H_ 13 #define CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
14 #pragma once 14 #pragma once
15 15
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "third_party/skia/include/core/SkColor.h" 17 #include "third_party/skia/include/core/SkColor.h"
18 18
19 namespace content {
20
19 enum RendererPreferencesHintingEnum { 21 enum RendererPreferencesHintingEnum {
20 RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT = 0, 22 RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT = 0,
21 RENDERER_PREFERENCES_HINTING_NONE, 23 RENDERER_PREFERENCES_HINTING_NONE,
22 RENDERER_PREFERENCES_HINTING_SLIGHT, 24 RENDERER_PREFERENCES_HINTING_SLIGHT,
23 RENDERER_PREFERENCES_HINTING_MEDIUM, 25 RENDERER_PREFERENCES_HINTING_MEDIUM,
24 RENDERER_PREFERENCES_HINTING_FULL, 26 RENDERER_PREFERENCES_HINTING_FULL,
25 }; 27 };
26 28
27 enum RendererPreferencesSubpixelRenderingEnum { 29 enum RendererPreferencesSubpixelRenderingEnum {
28 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT = 0, 30 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT = 0,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 74
73 // Cursor blink rate in seconds. 75 // Cursor blink rate in seconds.
74 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| 76 // Currently only changed from default on Linux. Uses |gtk-cursor-blink|
75 // from GtkSettings. 77 // from GtkSettings.
76 double caret_blink_interval; 78 double caret_blink_interval;
77 79
78 // Set to false to not send referrers. 80 // Set to false to not send referrers.
79 bool enable_referrers; 81 bool enable_referrers;
80 }; 82 };
81 83
82 #endif // CONTENT_COMMON_RENDERER_PREFERENCES_H_ 84 } // namespace content
85
86 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698