OLD | NEW |
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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 "profile.content_settings.plugin_whitelist"; | 1108 "profile.content_settings.plugin_whitelist"; |
1109 #endif | 1109 #endif |
1110 | 1110 |
1111 // Double that indicates the default zoom level. | 1111 // Double that indicates the default zoom level. |
1112 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; | 1112 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; |
1113 | 1113 |
1114 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will | 1114 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will |
1115 // be displayed at the default zoom level. | 1115 // be displayed at the default zoom level. |
1116 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; | 1116 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; |
1117 | 1117 |
| 1118 // Whether zoom changes should be scoped to origins by default. |
| 1119 // If false, zoom changes are per-tab. |
| 1120 const char kPartitionZoomScopeIsPerOrigin[] = |
| 1121 "partition.zoom_scope_is_per_origin"; |
| 1122 |
1118 #if !defined(OS_ANDROID) | 1123 #if !defined(OS_ANDROID) |
1119 const char kPinnedTabs[] = "pinned_tabs"; | 1124 const char kPinnedTabs[] = "pinned_tabs"; |
1120 #endif | 1125 #endif |
1121 | 1126 |
1122 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 1127 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
1123 const char kDisable3DAPIs[] = "disable_3d_apis"; | 1128 const char kDisable3DAPIs[] = "disable_3d_apis"; |
1124 | 1129 |
1125 const char kEnableDeprecatedWebPlatformFeatures[] = | 1130 const char kEnableDeprecatedWebPlatformFeatures[] = |
1126 "enable_deprecated_web_platform_features"; | 1131 "enable_deprecated_web_platform_features"; |
1127 | 1132 |
(...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2470 | 2475 |
2471 // Number of times user has seen the "desktop to iOS" history page promotion. | 2476 // Number of times user has seen the "desktop to iOS" history page promotion. |
2472 const char kNumberHistoryPageIOSPromoShown[] = | 2477 const char kNumberHistoryPageIOSPromoShown[] = |
2473 "history_page_ios_promo_shown_count"; | 2478 "history_page_ios_promo_shown_count"; |
2474 | 2479 |
2475 // True if the user has dismissed the "desktop to iOS" history page promotion. | 2480 // True if the user has dismissed the "desktop to iOS" history page promotion. |
2476 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; | 2481 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; |
2477 #endif | 2482 #endif |
2478 | 2483 |
2479 } // namespace prefs | 2484 } // namespace prefs |
OLD | NEW |