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

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

Issue 2736293002: Add chrome flags entry for ChromeVox ARC support (Closed)
Patch Set: Boolean managed pref. Created 3 years, 9 months 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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 2338 matching lines...) Expand 10 before | Expand all | Expand 10 after
2349 predictors::kSpeculativeResourcePrefetchingFeature, 2349 predictors::kSpeculativeResourcePrefetchingFeature,
2350 kSpeculativeResourcePrefetchingFeatureVariations, 2350 kSpeculativeResourcePrefetchingFeatureVariations,
2351 "SpeculativeResourcePrefetchingValidation")}, 2351 "SpeculativeResourcePrefetchingValidation")},
2352 2352
2353 #if defined(OS_MACOSX) 2353 #if defined(OS_MACOSX)
2354 {"tab-strip-keyboard-focus", IDS_FLAGS_TAB_STRIP_KEYBOARD_FOCUS_NAME, 2354 {"tab-strip-keyboard-focus", IDS_FLAGS_TAB_STRIP_KEYBOARD_FOCUS_NAME,
2355 IDS_FLAGS_TAB_STRIP_KEYBOARD_FOCUS_DESCRIPTION, kOsMac, 2355 IDS_FLAGS_TAB_STRIP_KEYBOARD_FOCUS_DESCRIPTION, kOsMac,
2356 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)} 2356 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)}
2357 #endif 2357 #endif
2358 2358
2359 #if defined(OS_CHROMEOS)
2360 {"enable-chromevox-arc-support",
2361 IDS_FLAGS_ENABLE_CHROMEVOX_ARC_SUPPORT_NAME,
2362 IDS_FLAGS_ENABLE_CHROMEVOX_ARC_SUPPORT_DESCRIPTION, kOsCrOS,
2363 SINGLE_VALUE_TYPE(chromeos::switches::kEnableChromeVoxArcSupport)},
2364 #endif // defined(OS_CHROMEOS)
2365
2359 // NOTE: Adding new command-line switches requires adding corresponding 2366 // NOTE: Adding new command-line switches requires adding corresponding
2360 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2367 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2361 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2368 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2362 }; 2369 };
2363 2370
2364 class FlagsStateSingleton { 2371 class FlagsStateSingleton {
2365 public: 2372 public:
2366 FlagsStateSingleton() 2373 FlagsStateSingleton()
2367 : flags_state_(kFeatureEntries, arraysize(kFeatureEntries)) {} 2374 : flags_state_(kFeatureEntries, arraysize(kFeatureEntries)) {}
2368 ~FlagsStateSingleton() {} 2375 ~FlagsStateSingleton() {}
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
2557 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2564 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2558 2565
2559 const FeatureEntry* GetFeatureEntries(size_t* count) { 2566 const FeatureEntry* GetFeatureEntries(size_t* count) {
2560 *count = arraysize(kFeatureEntries); 2567 *count = arraysize(kFeatureEntries);
2561 return kFeatureEntries; 2568 return kFeatureEntries;
2562 } 2569 }
2563 2570
2564 } // namespace testing 2571 } // namespace testing
2565 2572
2566 } // namespace about_flags 2573 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698