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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 | 624 |
625 const char kPinnedTabs[] = "pinned_tabs"; | 625 const char kPinnedTabs[] = "pinned_tabs"; |
626 | 626 |
627 // Integer containing the default Geolocation content setting. | 627 // Integer containing the default Geolocation content setting. |
628 const char kGeolocationDefaultContentSetting[] = | 628 const char kGeolocationDefaultContentSetting[] = |
629 "geolocation.default_content_setting"; | 629 "geolocation.default_content_setting"; |
630 | 630 |
631 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 631 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
632 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 632 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
633 | 633 |
| 634 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
| 635 const char kDisable3DAPIs[] = "disable_3d_apis"; |
| 636 |
634 // *************** LOCAL STATE *************** | 637 // *************** LOCAL STATE *************** |
635 // These are attached to the machine/installation | 638 // These are attached to the machine/installation |
636 | 639 |
637 // The metrics client GUID and session ID. | 640 // The metrics client GUID and session ID. |
638 const char kMetricsClientID[] = "user_experience_metrics.client_id"; | 641 const char kMetricsClientID[] = "user_experience_metrics.client_id"; |
639 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; | 642 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; |
640 | 643 |
641 // Date/time when the current metrics profile ID was created | 644 // Date/time when the current metrics profile ID was created |
642 // (which hopefully corresponds to first run). | 645 // (which hopefully corresponds to first run). |
643 const char kMetricsClientIDTimestamp[] = | 646 const char kMetricsClientIDTimestamp[] = |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1157 const char kManagedDefaultPluginsSetting[] = | 1160 const char kManagedDefaultPluginsSetting[] = |
1158 "profile.managed_default_content_settings.plugins"; | 1161 "profile.managed_default_content_settings.plugins"; |
1159 const char kManagedDefaultPopupsSetting[] = | 1162 const char kManagedDefaultPopupsSetting[] = |
1160 "profile.managed_default_content_settings.popups"; | 1163 "profile.managed_default_content_settings.popups"; |
1161 | 1164 |
1162 // Dictionary for storing the set of known background pages (keys are extension | 1165 // Dictionary for storing the set of known background pages (keys are extension |
1163 // IDs of background page owners, value is a boolean that is true if the user | 1166 // IDs of background page owners, value is a boolean that is true if the user |
1164 // needs to acknowledge this page. | 1167 // needs to acknowledge this page. |
1165 const char kKnownBackgroundPages[] = "background_pages.known"; | 1168 const char kKnownBackgroundPages[] = "background_pages.known"; |
1166 } // namespace prefs | 1169 } // namespace prefs |
OLD | NEW |