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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index eccd8b051618ef2dee5c74ec856d47bdede4d19d..c5095daecbe9a4a2c430186273fb1818746199f3 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1120,6 +1120,7 @@ const char kContentSettingsPluginWhitelist[] =
"profile.content_settings.plugin_whitelist";
#endif
+#if !defined(OS_ANDROID)
// Double that indicates the default zoom level.
const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level";
@@ -1127,9 +1128,8 @@ const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level";
// be displayed at the default zoom level.
const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels";
-#if !defined(OS_ANDROID)
const char kPinnedTabs[] = "pinned_tabs";
-#endif
+#endif // !defined(OS_ANDROID)
// Preference to disable 3D APIs (WebGL, Pepper 3D).
const char kDisable3DAPIs[] = "disable_3d_apis";

Powered by Google App Engine
This is Rietveld 408576698