diff options
author | c.shu@samsung.com <c.shu@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-26 16:55:27 +0000 |
---|---|---|
committer | c.shu@samsung.com <c.shu@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-26 16:55:27 +0000 |
commit | 35b4f0cda0ee3711e330a36bf8a182c05852efa4 (patch) | |
tree | 53157d83d6b3d39a6300ceab12b8811bb538ea20 /base/base_switches.cc | |
parent | 8851dbe0c2351690da1488c9d58c686044fec9b5 (diff) | |
download | chromium_src-35b4f0cda0ee3711e330a36bf8a182c05852efa4.zip chromium_src-35b4f0cda0ee3711e330a36bf8a182c05852efa4.tar.gz chromium_src-35b4f0cda0ee3711e330a36bf8a182c05852efa4.tar.bz2 |
Expose a low-end device mode override flags for non-android OSs as well
BUG=324824
Review URL: https://codereview.chromium.org/258663002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_switches.cc')
-rw-r--r-- | base/base_switches.cc | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc index 81698cd..9582ac9 100644 --- a/base/base_switches.cc +++ b/base/base_switches.cc @@ -17,6 +17,11 @@ const char kEnableCrashReporter[] = "enable-crash-reporter"; // Generates full memory crash dump. const char kFullMemoryCrashReport[] = "full-memory-crash-report"; +// Force low-end device when set to 1; +// Auto-detect low-end device when set to 2; +// Force non-low-end device when set to other values or empty; +const char kLowEndDeviceMode[] = "low-end-device-mode"; + // Suppresses all error dialogs when present. const char kNoErrorDialogs[] = "noerrdialogs"; @@ -60,12 +65,4 @@ const char kEnableCrashReporterForTesting[] = "enable-crash-reporter-for-testing"; #endif -#if defined(OS_ANDROID) -// Overrides low-end device detection, disabling low-end device optimizations. -const char kDisableLowEndDeviceMode[] = "disable-low-end-device-mode"; - -// Overrides low-end device detection, enabling low-end device optimizations. -const char kEnableLowEndDeviceMode[] = "enable-low-end-device-mode"; -#endif - } // namespace switches |