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

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

Issue 8899017: Add gamepad data fetcher for Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better so load Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, 435 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME,
436 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION, 436 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION,
437 kOsWin | kOsLinux | kOsCrOS, 437 kOsWin | kOsLinux | kOsCrOS,
438 SINGLE_VALUE_TYPE(switches::kAuraTranslucentFrames) 438 SINGLE_VALUE_TYPE(switches::kAuraTranslucentFrames)
439 }, 439 },
440 #endif // defined(USE_AURA) 440 #endif // defined(USE_AURA)
441 { 441 {
442 "enable-gamepad", 442 "enable-gamepad",
443 IDS_FLAGS_ENABLE_GAMEPAD_NAME, 443 IDS_FLAGS_ENABLE_GAMEPAD_NAME,
444 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, 444 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION,
445 kOsMac | kOsWin, 445 kOsAll,
446 SINGLE_VALUE_TYPE(switches::kEnableGamepad) 446 SINGLE_VALUE_TYPE(switches::kEnableGamepad)
447 }, 447 },
448 #if defined(USE_AURA) 448 #if defined(USE_AURA)
449 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure 449 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure
450 // Aura laptop mode performance and feature set match traditional non-Aura 450 // Aura laptop mode performance and feature set match traditional non-Aura
451 // builds. 451 // builds.
452 { 452 {
453 "aura-laptop-mode", 453 "aura-laptop-mode",
454 IDS_FLAGS_AURA_LAPTOP_MODE_NAME, 454 IDS_FLAGS_AURA_LAPTOP_MODE_NAME,
455 IDS_FLAGS_AURA_LAPTOP_MODE_DESCRIPTION, 455 IDS_FLAGS_AURA_LAPTOP_MODE_DESCRIPTION,
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 } 879 }
880 880
881 const Experiment* GetExperiments(size_t* count) { 881 const Experiment* GetExperiments(size_t* count) {
882 *count = num_experiments; 882 *count = num_experiments;
883 return experiments; 883 return experiments;
884 } 884 }
885 885
886 } // namespace testing 886 } // namespace testing
887 887
888 } // namespace about_flags 888 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | content/browser/gamepad/data_fetcher_linux.h » ('j') | content/browser/gamepad/gamepad_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698