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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « content/public/common/referrer.h ('k') | content/public/common/resource_dispatcher_delegate.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/view_messages.h, browser/browser.cc, etc. 10 // common/view_messages.h, browser/browser.cc, etc.
11 11
12 #ifndef CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 12 #ifndef CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
13 #define CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 13 #define CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
14 #pragma once
15 14
16 #include <string> 15 #include <string>
17 16
18 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
19 #include "third_party/skia/include/core/SkColor.h" 18 #include "third_party/skia/include/core/SkColor.h"
20 19
21 namespace content { 20 namespace content {
22 21
23 enum RendererPreferencesHintingEnum { 22 enum RendererPreferencesHintingEnum {
24 RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT = 0, 23 RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT = 0,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 double default_zoom_level; 99 double default_zoom_level;
101 100
102 // The user agent given to WebKit when it requests one and the user agent is 101 // The user agent given to WebKit when it requests one and the user agent is
103 // being overridden for the current navigation. 102 // being overridden for the current navigation.
104 std::string user_agent_override; 103 std::string user_agent_override;
105 }; 104 };
106 105
107 } // namespace content 106 } // namespace content
108 107
109 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 108 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/referrer.h ('k') | content/public/common/resource_dispatcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698