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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 62833002: [Android] Add a low-end device mode override flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 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
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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1798 }, 1798 },
1799 #if defined(OS_ANDROID) 1799 #if defined(OS_ANDROID)
1800 { 1800 {
1801 "disable-click-delay", 1801 "disable-click-delay",
1802 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, 1802 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME,
1803 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, 1803 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION,
1804 kOsAndroid, 1804 kOsAndroid,
1805 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY 1805 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY
1806 SINGLE_VALUE_TYPE("disable-click-delay") 1806 SINGLE_VALUE_TYPE("disable-click-delay")
1807 }, 1807 },
1808 {
1809 "low-end-device-mode",
1810 IDS_FLAGS_LOW_END_DEVICE_MODE_NAME,
1811 IDS_FLAGS_LOW_END_DEVICE_MODE_DESCRIPTION,
1812 kOsAndroid,
1813 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLowEndDeviceMode,
1814 switches::kDisableLowEndDeviceMode)
1815 },
1808 #endif 1816 #endif
1809 #if defined(OS_CHROMEOS) 1817 #if defined(OS_CHROMEOS)
1810 { 1818 {
1811 "disable-ime-mode-indicator", 1819 "disable-ime-mode-indicator",
1812 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR, 1820 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR,
1813 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION, 1821 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION,
1814 kOsCrOS, 1822 kOsCrOS,
1815 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator) 1823 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator)
1816 }, 1824 },
1817 #endif 1825 #endif
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
2331 } 2339 }
2332 2340
2333 const Experiment* GetExperiments(size_t* count) { 2341 const Experiment* GetExperiments(size_t* count) {
2334 *count = num_experiments; 2342 *count = num_experiments;
2335 return experiments; 2343 return experiments;
2336 } 2344 }
2337 2345
2338 } // namespace testing 2346 } // namespace testing
2339 2347
2340 } // namespace about_flags 2348 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698