OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 | 616 |
617 const char kPinnedTabs[] = "pinned_tabs"; | 617 const char kPinnedTabs[] = "pinned_tabs"; |
618 | 618 |
619 // Integer containing the default Geolocation content setting. | 619 // Integer containing the default Geolocation content setting. |
620 const char kGeolocationDefaultContentSetting[] = | 620 const char kGeolocationDefaultContentSetting[] = |
621 "geolocation.default_content_setting"; | 621 "geolocation.default_content_setting"; |
622 | 622 |
623 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 623 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
624 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 624 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
625 | 625 |
| 626 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
| 627 const char kDisable3DAPIs[] = "disable_3d_apis"; |
| 628 |
626 // *************** LOCAL STATE *************** | 629 // *************** LOCAL STATE *************** |
627 // These are attached to the machine/installation | 630 // These are attached to the machine/installation |
628 | 631 |
629 // The metrics client GUID and session ID. | 632 // The metrics client GUID and session ID. |
630 const char kMetricsClientID[] = "user_experience_metrics.client_id"; | 633 const char kMetricsClientID[] = "user_experience_metrics.client_id"; |
631 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; | 634 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; |
632 | 635 |
633 // Date/time when the current metrics profile ID was created | 636 // Date/time when the current metrics profile ID was created |
634 // (which hopefully corresponds to first run). | 637 // (which hopefully corresponds to first run). |
635 const char kMetricsClientIDTimestamp[] = | 638 const char kMetricsClientIDTimestamp[] = |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 const char kManagedDefaultPluginsSetting[] = | 1152 const char kManagedDefaultPluginsSetting[] = |
1150 "profile.managed_default_content_settings.plugins"; | 1153 "profile.managed_default_content_settings.plugins"; |
1151 const char kManagedDefaultPopupsSetting[] = | 1154 const char kManagedDefaultPopupsSetting[] = |
1152 "profile.managed_default_content_settings.popups"; | 1155 "profile.managed_default_content_settings.popups"; |
1153 | 1156 |
1154 // Dictionary for storing the set of known background pages (keys are extension | 1157 // Dictionary for storing the set of known background pages (keys are extension |
1155 // IDs of background page owners, value is a boolean that is true if the user | 1158 // IDs of background page owners, value is a boolean that is true if the user |
1156 // needs to acknowledge this page. | 1159 // needs to acknowledge this page. |
1157 const char kKnownBackgroundPages[] = "background_pages.known"; | 1160 const char kKnownBackgroundPages[] = "background_pages.known"; |
1158 } // namespace prefs | 1161 } // namespace prefs |
OLD | NEW |