Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chrome/common/pref_names.cc

Issue 2533373002: Enabled/disable touch screen in TabletPowerButtonController (Closed)
Patch Set: nits Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 // is set by the component wallpaper picker, it is set to an empty string. 837 // is set by the component wallpaper picker, it is set to an empty string.
838 const char kCurrentWallpaperAppName[] = "wallpaper.app.name"; 838 const char kCurrentWallpaperAppName[] = "wallpaper.app.name";
839 839
840 // List of mounted file systems via the File System Provider API. Used to 840 // List of mounted file systems via the File System Provider API. Used to
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 touchscreen 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 // A boolean pref that controls whether the dark connect feature is enabled. 851 // 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 852 // The dark connect feature allows a Chrome OS device to periodically wake
853 // from suspend in a low-power state to maintain WiFi connectivity. 853 // from suspend in a low-power state to maintain WiFi connectivity.
854 const char kWakeOnWifiDarkConnect[] = 854 const char kWakeOnWifiDarkConnect[] =
855 "settings.internet.wake_on_wifi_darkconnect"; 855 "settings.internet.wake_on_wifi_darkconnect";
856 856
857 // This is the policy CaptivePortalAuthenticationIgnoresProxy that allows to 857 // This is the policy CaptivePortalAuthenticationIgnoresProxy that allows to
858 // open captive portal authentication pages in a separate window under 858 // open captive portal authentication pages in a separate window under
859 // a temporary incognito profile ("signin profile" is used for this purpose), 859 // a temporary incognito profile ("signin profile" is used for this purpose),
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 // manager window to restore on startup. 1408 // manager window to restore on startup.
1409 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement"; 1409 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement";
1410 1410
1411 // The most recent stored column visibility of the task manager table to be 1411 // The most recent stored column visibility of the task manager table to be
1412 // restored on startup. 1412 // restored on startup.
1413 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility"; 1413 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility";
1414 1414
1415 // A boolean indicating if ending processes are enabled or disabled by policy. 1415 // A boolean indicating if ending processes are enabled or disabled by policy.
1416 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled"; 1416 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled";
1417 1417
1418 #if defined(OS_CHROMEOS)
1419 // Dictionary indicating current network bandwidth throttling settings.
1420 // Contains a boolean (is throttling enabled) and two integers (upload rate
1421 // and download rate in kbits/s to throttle to)
1422 const char kNetworkThrottlingEnabled[] = "net.throttling_enabled";
1423 #endif
1424
1425 // A collection of position, size, and other data relating to app windows to 1418 // A collection of position, size, and other data relating to app windows to
1426 // restore on startup. 1419 // restore on startup.
1427 const char kAppWindowPlacement[] = "browser.app_window_placement"; 1420 const char kAppWindowPlacement[] = "browser.app_window_placement";
1428 1421
1429 // String which specifies where to download files to by default. 1422 // String which specifies where to download files to by default.
1430 const char kDownloadDefaultDirectory[] = "download.default_directory"; 1423 const char kDownloadDefaultDirectory[] = "download.default_directory";
1431 1424
1432 // Boolean that records if the download directory was changed by an 1425 // Boolean that records if the download directory was changed by an
1433 // upgrade a unsafe location to a safe location. 1426 // upgrade a unsafe location to a safe location.
1434 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; 1427 const char kDownloadDirUpgraded[] = "download.directory_upgrade";
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 const char kLogoutStartedLast[] = "chromeos.logout-started"; 1869 const char kLogoutStartedLast[] = "chromeos.logout-started";
1877 1870
1878 // The role of the device in the OOBE bootstrapping process. If it's a "slave" 1871 // The role of the device in the OOBE bootstrapping process. If it's a "slave"
1879 // device, then it's eligible to be enrolled by a "master" device (which could 1872 // device, then it's eligible to be enrolled by a "master" device (which could
1880 // be an Android app). 1873 // be an Android app).
1881 const char kIsBootstrappingSlave[] = "is_oobe_bootstrapping_slave"; 1874 const char kIsBootstrappingSlave[] = "is_oobe_bootstrapping_slave";
1882 1875
1883 // A preference that controlles Android status reporting. 1876 // A preference that controlles Android status reporting.
1884 const char kReportArcStatusEnabled[] = "arc.status_reporting_enabled"; 1877 const char kReportArcStatusEnabled[] = "arc.status_reporting_enabled";
1885 1878
1879 // Dictionary indicating current network bandwidth throttling settings.
1880 // Contains a boolean (is throttling enabled) and two integers (upload rate
1881 // and download rate in kbits/s to throttle to)
1882 const char kNetworkThrottlingEnabled[] = "net.throttling_enabled";
1883
1884 // Boolean prefs for the local status of the touchscreen.
1885 const char kTouchscreenEnabledLocal[] = "events.touch_screen.enabled_local";
1886
1886 #endif // defined(OS_CHROMEOS) 1887 #endif // defined(OS_CHROMEOS)
1887 1888
1888 // Whether there is a Flash version installed that supports clearing LSO data. 1889 // Whether there is a Flash version installed that supports clearing LSO data.
1889 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; 1890 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled";
1890 1891
1891 // Whether we should show Pepper Flash-specific settings. 1892 // Whether we should show Pepper Flash-specific settings.
1892 const char kPepperFlashSettingsEnabled[] = 1893 const char kPepperFlashSettingsEnabled[] =
1893 "browser.pepper_flash_settings_enabled"; 1894 "browser.pepper_flash_settings_enabled";
1894 1895
1895 // String which specifies where to store the disk cache. 1896 // String which specifies where to store the disk cache.
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2329 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2330 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2330 "search_geolocation_pre_disclosure_metrics_recorded"; 2331 "search_geolocation_pre_disclosure_metrics_recorded";
2331 2332
2332 // Whether the metrics for the state of geolocation post-disclosure being shown 2333 // Whether the metrics for the state of geolocation post-disclosure being shown
2333 // have been recorded. 2334 // have been recorded.
2334 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2335 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2335 "search_geolocation_post_disclosure_metrics_recorded"; 2336 "search_geolocation_post_disclosure_metrics_recorded";
2336 #endif 2337 #endif
2337 2338
2338 } // namespace prefs 2339 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698