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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2874833002: Don't compile code for desktop zoom or GuestViews on mobile platforms. (Closed)
Patch Set: Update CastBrowserContext Created 3 years, 7 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
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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 1113
1114 const char kBackShortcutBubbleShownCount[] = 1114 const char kBackShortcutBubbleShownCount[] =
1115 "browser.back_shortcut_bubble_shown_count"; 1115 "browser.back_shortcut_bubble_shown_count";
1116 1116
1117 #if BUILDFLAG(ENABLE_PLUGINS) 1117 #if BUILDFLAG(ENABLE_PLUGINS)
1118 // Which plugins have been whitelisted manually by the user. 1118 // Which plugins have been whitelisted manually by the user.
1119 const char kContentSettingsPluginWhitelist[] = 1119 const char kContentSettingsPluginWhitelist[] =
1120 "profile.content_settings.plugin_whitelist"; 1120 "profile.content_settings.plugin_whitelist";
1121 #endif 1121 #endif
1122 1122
1123 #if !defined(OS_ANDROID)
1123 // Double that indicates the default zoom level. 1124 // Double that indicates the default zoom level.
1124 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; 1125 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level";
1125 1126
1126 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will 1127 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will
1127 // be displayed at the default zoom level. 1128 // be displayed at the default zoom level.
1128 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; 1129 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels";
1129 1130
1130 #if !defined(OS_ANDROID)
1131 const char kPinnedTabs[] = "pinned_tabs"; 1131 const char kPinnedTabs[] = "pinned_tabs";
1132 #endif 1132 #endif // !defined(OS_ANDROID)
1133 1133
1134 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1134 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1135 const char kDisable3DAPIs[] = "disable_3d_apis"; 1135 const char kDisable3DAPIs[] = "disable_3d_apis";
1136 1136
1137 const char kEnableDeprecatedWebPlatformFeatures[] = 1137 const char kEnableDeprecatedWebPlatformFeatures[] =
1138 "enable_deprecated_web_platform_features"; 1138 "enable_deprecated_web_platform_features";
1139 1139
1140 // Whether to enable hyperlink auditing ("<a ping>"). 1140 // Whether to enable hyperlink auditing ("<a ping>").
1141 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 1141 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
1142 1142
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
2538 "settings_reset_prompt.last_triggered_for_homepage"; 2538 "settings_reset_prompt.last_triggered_for_homepage";
2539 2539
2540 #if defined(OS_ANDROID) 2540 #if defined(OS_ANDROID)
2541 // Timestamp of the clipboard's last modified time, stored in base::Time's 2541 // Timestamp of the clipboard's last modified time, stored in base::Time's
2542 // internal format (int64) in local store. (I.e., this is not a per-profile 2542 // internal format (int64) in local store. (I.e., this is not a per-profile
2543 // pref.) 2543 // pref.)
2544 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; 2544 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time";
2545 #endif 2545 #endif
2546 2546
2547 } // namespace prefs 2547 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698