Chromium Code Reviews| 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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 841 // restore them after a reboot. | 841 // restore them after a reboot. |
| 842 const char kFileSystemProviderMounted[] = "file_system_provider.mounted"; | 842 const char kFileSystemProviderMounted[] = "file_system_provider.mounted"; |
| 843 | 843 |
| 844 // A boolean pref set to true if the virtual keyboard should be enabled. | 844 // A boolean pref set to true if the virtual keyboard should be enabled. |
| 845 const char kTouchVirtualKeyboardEnabled[] = "ui.touch_virtual_keyboard_enabled"; | 845 const char kTouchVirtualKeyboardEnabled[] = "ui.touch_virtual_keyboard_enabled"; |
| 846 | 846 |
| 847 // Boolean prefs for the status of the touch screen and the touchpad. | 847 // Boolean prefs for the status of the touch screen and the touchpad. |
| 848 const char kTouchScreenEnabled[] = "events.touch_screen.enabled"; | 848 const char kTouchScreenEnabled[] = "events.touch_screen.enabled"; |
| 849 const char kTouchPadEnabled[] = "events.touch_pad.enabled"; | 849 const char kTouchPadEnabled[] = "events.touch_pad.enabled"; |
| 850 | 850 |
| 851 // Boolean prefs for the local status of the touch screen. | |
| 852 const char kLocalTouchScreenEnabled[] = "events.local_touch_screen.enabled"; | |
| 853 | |
| 851 // A boolean pref that controls whether the dark connect feature is enabled. | 854 // A boolean pref that controls whether the dark connect feature is enabled. |
| 852 // The dark connect feature allows a Chrome OS device to periodically wake | 855 // The dark connect feature allows a Chrome OS device to periodically wake |
| 853 // from suspend in a low-power state to maintain WiFi connectivity. | 856 // from suspend in a low-power state to maintain WiFi connectivity. |
| 854 const char kWakeOnWifiDarkConnect[] = | 857 const char kWakeOnWifiDarkConnect[] = |
| 855 "settings.internet.wake_on_wifi_darkconnect"; | 858 "settings.internet.wake_on_wifi_darkconnect"; |
| 856 | 859 |
| 857 // This is the policy CaptivePortalAuthenticationIgnoresProxy that allows to | 860 // This is the policy CaptivePortalAuthenticationIgnoresProxy that allows to |
| 858 // open captive portal authentication pages in a separate window under | 861 // open captive portal authentication pages in a separate window under |
| 859 // a temporary incognito profile ("signin profile" is used for this purpose), | 862 // a temporary incognito profile ("signin profile" is used for this purpose), |
| 860 // which allows to bypass the user's proxy for captive portal authentication. | 863 // which allows to bypass the user's proxy for captive portal authentication. |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1306 const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy"; | 1309 const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy"; |
| 1307 // Define range of UDP ports allowed to be used by WebRTC PeerConnections. | 1310 // Define range of UDP ports allowed to be used by WebRTC PeerConnections. |
| 1308 const char kWebRTCUDPPortRange[] = "webrtc.udp_port_range"; | 1311 const char kWebRTCUDPPortRange[] = "webrtc.udp_port_range"; |
| 1309 #endif | 1312 #endif |
| 1310 | 1313 |
| 1311 #if !defined(OS_ANDROID) | 1314 #if !defined(OS_ANDROID) |
| 1312 // Whether or not this profile has been shown the Welcome page. | 1315 // Whether or not this profile has been shown the Welcome page. |
| 1313 const char kHasSeenWelcomePage[] = "browser.has_seen_welcome_page"; | 1316 const char kHasSeenWelcomePage[] = "browser.has_seen_welcome_page"; |
| 1314 #endif | 1317 #endif |
| 1315 | 1318 |
| 1316 // *************** LOCAL STATE *************** | 1319 // *************** LOCAL STATE *************** |
|
gab
2016/12/02 19:10:02
Local State prefs should be below this line (and y
Qiang(Joe) Xu
2016/12/02 21:23:13
Done.
| |
| 1317 // These are attached to the machine/installation | 1320 // These are attached to the machine/installation |
| 1318 | 1321 |
| 1319 // Directory of the last profile used. | 1322 // Directory of the last profile used. |
| 1320 const char kProfileLastUsed[] = "profile.last_used"; | 1323 const char kProfileLastUsed[] = "profile.last_used"; |
| 1321 | 1324 |
| 1322 // List of directories of the profiles last active. | 1325 // List of directories of the profiles last active. |
| 1323 const char kProfilesLastActive[] = "profile.last_active_profiles"; | 1326 const char kProfilesLastActive[] = "profile.last_active_profiles"; |
| 1324 | 1327 |
| 1325 // Total number of profiles created for this Chrome build. Used to tag profile | 1328 // Total number of profiles created for this Chrome build. Used to tag profile |
| 1326 // directories. | 1329 // directories. |
| (...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2329 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = | 2332 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = |
| 2330 "search_geolocation_pre_disclosure_metrics_recorded"; | 2333 "search_geolocation_pre_disclosure_metrics_recorded"; |
| 2331 | 2334 |
| 2332 // Whether the metrics for the state of geolocation post-disclosure being shown | 2335 // Whether the metrics for the state of geolocation post-disclosure being shown |
| 2333 // have been recorded. | 2336 // have been recorded. |
| 2334 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = | 2337 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = |
| 2335 "search_geolocation_post_disclosure_metrics_recorded"; | 2338 "search_geolocation_post_disclosure_metrics_recorded"; |
| 2336 #endif | 2339 #endif |
| 2337 | 2340 |
| 2338 } // namespace prefs | 2341 } // namespace prefs |
| OLD | NEW |