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

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: Rebase. 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/renderer/BUILD.gn » ('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 #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 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 1110
1111 const char kBackShortcutBubbleShownCount[] = 1111 const char kBackShortcutBubbleShownCount[] =
1112 "browser.back_shortcut_bubble_shown_count"; 1112 "browser.back_shortcut_bubble_shown_count";
1113 1113
1114 #if BUILDFLAG(ENABLE_PLUGINS) 1114 #if BUILDFLAG(ENABLE_PLUGINS)
1115 // Which plugins have been whitelisted manually by the user. 1115 // Which plugins have been whitelisted manually by the user.
1116 const char kContentSettingsPluginWhitelist[] = 1116 const char kContentSettingsPluginWhitelist[] =
1117 "profile.content_settings.plugin_whitelist"; 1117 "profile.content_settings.plugin_whitelist";
1118 #endif 1118 #endif
1119 1119
1120 #if !defined(OS_ANDROID)
1120 // Double that indicates the default zoom level. 1121 // Double that indicates the default zoom level.
1121 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; 1122 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level";
1122 1123
1123 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will 1124 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will
1124 // be displayed at the default zoom level. 1125 // be displayed at the default zoom level.
1125 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; 1126 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels";
1126 1127
1127 #if !defined(OS_ANDROID)
1128 const char kPinnedTabs[] = "pinned_tabs"; 1128 const char kPinnedTabs[] = "pinned_tabs";
1129 #endif 1129 #endif // !defined(OS_ANDROID)
1130 1130
1131 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1131 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1132 const char kDisable3DAPIs[] = "disable_3d_apis"; 1132 const char kDisable3DAPIs[] = "disable_3d_apis";
1133 1133
1134 const char kEnableDeprecatedWebPlatformFeatures[] = 1134 const char kEnableDeprecatedWebPlatformFeatures[] =
1135 "enable_deprecated_web_platform_features"; 1135 "enable_deprecated_web_platform_features";
1136 1136
1137 // Whether to enable hyperlink auditing ("<a ping>"). 1137 // Whether to enable hyperlink auditing ("<a ping>").
1138 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 1138 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
1139 1139
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after
2540 "settings_reset_prompt.last_triggered_for_homepage"; 2540 "settings_reset_prompt.last_triggered_for_homepage";
2541 2541
2542 #if defined(OS_ANDROID) 2542 #if defined(OS_ANDROID)
2543 // Timestamp of the clipboard's last modified time, stored in base::Time's 2543 // Timestamp of the clipboard's last modified time, stored in base::Time's
2544 // internal format (int64) in local store. (I.e., this is not a per-profile 2544 // internal format (int64) in local store. (I.e., this is not a per-profile
2545 // pref.) 2545 // pref.)
2546 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; 2546 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time";
2547 #endif 2547 #endif
2548 2548
2549 } // namespace prefs 2549 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698