| 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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 | 591 |
| 592 const char kPinnedTabs[] = "pinned_tabs"; | 592 const char kPinnedTabs[] = "pinned_tabs"; |
| 593 | 593 |
| 594 // Integer containing the default Geolocation content setting. | 594 // Integer containing the default Geolocation content setting. |
| 595 const char kGeolocationDefaultContentSetting[] = | 595 const char kGeolocationDefaultContentSetting[] = |
| 596 "geolocation.default_content_setting"; | 596 "geolocation.default_content_setting"; |
| 597 | 597 |
| 598 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 598 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
| 599 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 599 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
| 600 | 600 |
| 601 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
| 602 const char kDisable3DAPIs[] = "disable_3d_apis"; |
| 603 |
| 601 // *************** LOCAL STATE *************** | 604 // *************** LOCAL STATE *************** |
| 602 // These are attached to the machine/installation | 605 // These are attached to the machine/installation |
| 603 | 606 |
| 604 // The metrics client GUID and session ID. | 607 // The metrics client GUID and session ID. |
| 605 const char kMetricsClientID[] = "user_experience_metrics.client_id"; | 608 const char kMetricsClientID[] = "user_experience_metrics.client_id"; |
| 606 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; | 609 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; |
| 607 | 610 |
| 608 // Date/time when the current metrics profile ID was created | 611 // Date/time when the current metrics profile ID was created |
| 609 // (which hopefully corresponds to first run). | 612 // (which hopefully corresponds to first run). |
| 610 const char kMetricsClientIDTimestamp[] = | 613 const char kMetricsClientIDTimestamp[] = |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1124 const char kManagedDefaultPluginsSetting[] = | 1127 const char kManagedDefaultPluginsSetting[] = |
| 1125 "profile.managed_default_content_settings.plugins"; | 1128 "profile.managed_default_content_settings.plugins"; |
| 1126 const char kManagedDefaultPopupsSetting[] = | 1129 const char kManagedDefaultPopupsSetting[] = |
| 1127 "profile.managed_default_content_settings.popups"; | 1130 "profile.managed_default_content_settings.popups"; |
| 1128 | 1131 |
| 1129 // Dictionary for storing the set of known background pages (keys are extension | 1132 // Dictionary for storing the set of known background pages (keys are extension |
| 1130 // IDs of background page owners, value is a boolean that is true if the user | 1133 // IDs of background page owners, value is a boolean that is true if the user |
| 1131 // needs to acknowledge this page. | 1134 // needs to acknowledge this page. |
| 1132 const char kKnownBackgroundPages[] = "background_pages.known"; | 1135 const char kKnownBackgroundPages[] = "background_pages.known"; |
| 1133 } // namespace prefs | 1136 } // namespace prefs |
| OLD | NEW |