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

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

Issue 2630583002: Add setting to isolate zoom changes by default. (Closed)
Patch Set: Add more tests. Created 3 years, 11 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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 "profile.content_settings.plugin_whitelist"; 1083 "profile.content_settings.plugin_whitelist";
1084 #endif 1084 #endif
1085 1085
1086 // Double that indicates the default zoom level. 1086 // Double that indicates the default zoom level.
1087 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; 1087 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level";
1088 1088
1089 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will 1089 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will
1090 // be displayed at the default zoom level. 1090 // be displayed at the default zoom level.
1091 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; 1091 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels";
1092 1092
1093 // Whether zoom changes should be scoped to origins by default.
1094 // If false, zoom changes are per-tab.
1095 const char kPartitionDefaultZoomOriginScope[] =
1096 "partition.default_zoom_origin_scope";
1097
1093 #if !defined(OS_ANDROID) 1098 #if !defined(OS_ANDROID)
1094 const char kPinnedTabs[] = "pinned_tabs"; 1099 const char kPinnedTabs[] = "pinned_tabs";
1095 #endif 1100 #endif
1096 1101
1097 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1102 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1098 const char kDisable3DAPIs[] = "disable_3d_apis"; 1103 const char kDisable3DAPIs[] = "disable_3d_apis";
1099 1104
1100 const char kEnableDeprecatedWebPlatformFeatures[] = 1105 const char kEnableDeprecatedWebPlatformFeatures[] =
1101 "enable_deprecated_web_platform_features"; 1106 "enable_deprecated_web_platform_features";
1102 1107
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after
2364 // have been recorded. 2369 // have been recorded.
2365 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2370 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2366 "search_geolocation_post_disclosure_metrics_recorded"; 2371 "search_geolocation_post_disclosure_metrics_recorded";
2367 #endif 2372 #endif
2368 2373
2369 // A dictionary which stores whether location access is enabled for the current 2374 // A dictionary which stores whether location access is enabled for the current
2370 // default search engine, if it is the Google search engine. 2375 // default search engine, if it is the Google search engine.
2371 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; 2376 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting";
2372 2377
2373 } // namespace prefs 2378 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698