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

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

Issue 2630583002: Add setting to isolate zoom changes by default. (Closed)
Patch Set: Use code review comments for questions instead of TODOs. Created 3 years, 10 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 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 "profile.content_settings.plugin_whitelist"; 1090 "profile.content_settings.plugin_whitelist";
1091 #endif 1091 #endif
1092 1092
1093 // Double that indicates the default zoom level. 1093 // Double that indicates the default zoom level.
1094 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; 1094 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level";
1095 1095
1096 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will 1096 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will
1097 // be displayed at the default zoom level. 1097 // be displayed at the default zoom level.
1098 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; 1098 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels";
1099 1099
1100 // Whether zoom changes should be scoped to origins by default.
1101 // If false, zoom changes are per-tab.
1102 const char kPartitionZoomScopeIsPerOrigin[] =
Kevin McNee 2017/02/03 23:17:20 Shall we get UMA data about the usage of this opti
wjmaclean 2017/02/06 16:09:07 Definitely!
1103 "partition.zoom_scope_is_per_origin";
1104
1100 #if !defined(OS_ANDROID) 1105 #if !defined(OS_ANDROID)
1101 const char kPinnedTabs[] = "pinned_tabs"; 1106 const char kPinnedTabs[] = "pinned_tabs";
1102 #endif 1107 #endif
1103 1108
1104 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1109 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1105 const char kDisable3DAPIs[] = "disable_3d_apis"; 1110 const char kDisable3DAPIs[] = "disable_3d_apis";
1106 1111
1107 const char kEnableDeprecatedWebPlatformFeatures[] = 1112 const char kEnableDeprecatedWebPlatformFeatures[] =
1108 "enable_deprecated_web_platform_features"; 1113 "enable_deprecated_web_platform_features";
1109 1114
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 // default search engine, if it is the Google search engine. 2387 // default search engine, if it is the Google search engine.
2383 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; 2388 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting";
2384 2389
2385 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing 2390 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing
2386 // attributes of its share_target field found in its manifest. Each key in the 2391 // attributes of its share_target field found in its manifest. Each key in the
2387 // dictionary is the name of the attribute, and the value is the corresponding 2392 // dictionary is the name of the attribute, and the value is the corresponding
2388 // value. 2393 // value.
2389 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets"; 2394 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets";
2390 2395
2391 } // namespace prefs 2396 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698