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

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

Issue 2592813005: Expose UI for --disable-accelerated-video-decode on Andorid. (Closed)
Patch Set: 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 | « no previous file | 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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_NAME, 973 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_NAME,
974 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsCrOS, 974 IDS_FLAGS_ASH_SCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsCrOS,
975 SINGLE_DISABLE_VALUE_TYPE( 975 SINGLE_DISABLE_VALUE_TYPE(
976 ash::switches::kAshDisableScreenOrientationLock), 976 ash::switches::kAshDisableScreenOrientationLock),
977 }, 977 },
978 #endif // OS_CHROMEOS 978 #endif // OS_CHROMEOS
979 { 979 {
980 "disable-accelerated-video-decode", 980 "disable-accelerated-video-decode",
981 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_NAME, 981 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_NAME,
982 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_DESCRIPTION, 982 IDS_FLAGS_ACCELERATED_VIDEO_DECODE_DESCRIPTION,
983 kOsMac | kOsWin | kOsCrOS, 983 kOsMac | kOsWin | kOsCrOS | kOsAndroid,
984 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), 984 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
985 }, 985 },
986 #if defined(USE_ASH) 986 #if defined(USE_ASH)
987 { 987 {
988 "ash-debug-shortcuts", IDS_FLAGS_DEBUG_SHORTCUTS_NAME, 988 "ash-debug-shortcuts", IDS_FLAGS_DEBUG_SHORTCUTS_NAME,
989 IDS_FLAGS_DEBUG_SHORTCUTS_DESCRIPTION, kOsAll, 989 IDS_FLAGS_DEBUG_SHORTCUTS_DESCRIPTION, kOsAll,
990 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts), 990 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts),
991 }, 991 },
992 { 992 {
993 "ash-disable-maximize-mode-window-backdrop", 993 "ash-disable-maximize-mode-window-backdrop",
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
2341 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2341 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2342 2342
2343 const FeatureEntry* GetFeatureEntries(size_t* count) { 2343 const FeatureEntry* GetFeatureEntries(size_t* count) {
2344 *count = arraysize(kFeatureEntries); 2344 *count = arraysize(kFeatureEntries);
2345 return kFeatureEntries; 2345 return kFeatureEntries;
2346 } 2346 }
2347 2347
2348 } // namespace testing 2348 } // namespace testing
2349 2349
2350 } // namespace about_flags 2350 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698