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

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: rebase again, bots all updated Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « build/linux/system.gyp ('k') | content/browser/gamepad/data_fetcher_mac.h » ('j') | 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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, 463 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME,
464 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION, 464 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION,
465 kOsWin | kOsLinux | kOsCrOS, 465 kOsWin | kOsLinux | kOsCrOS,
466 SINGLE_VALUE_TYPE(ash::switches::kAuraTranslucentFrames) 466 SINGLE_VALUE_TYPE(ash::switches::kAuraTranslucentFrames)
467 }, 467 },
468 #endif // defined(USE_AURA) 468 #endif // defined(USE_AURA)
469 { 469 {
470 "enable-gamepad", 470 "enable-gamepad",
471 IDS_FLAGS_ENABLE_GAMEPAD_NAME, 471 IDS_FLAGS_ENABLE_GAMEPAD_NAME,
472 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, 472 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION,
473 kOsMac | kOsWin, 473 kOsAll,
474 SINGLE_VALUE_TYPE(switches::kEnableGamepad) 474 SINGLE_VALUE_TYPE(switches::kEnableGamepad)
475 }, 475 },
476 #if defined(USE_AURA) 476 #if defined(USE_AURA)
477 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure 477 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure
478 // Aura laptop mode performance and feature set match traditional non-Aura 478 // Aura laptop mode performance and feature set match traditional non-Aura
479 // builds. 479 // builds.
480 { 480 {
481 "aura-window-mode", 481 "aura-window-mode",
482 IDS_FLAGS_AURA_WINDOW_MODE_NAME, 482 IDS_FLAGS_AURA_WINDOW_MODE_NAME,
483 IDS_FLAGS_AURA_WINDOW_MODE_DESCRIPTION, 483 IDS_FLAGS_AURA_WINDOW_MODE_DESCRIPTION,
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 } 936 }
937 937
938 const Experiment* GetExperiments(size_t* count) { 938 const Experiment* GetExperiments(size_t* count) {
939 *count = num_experiments; 939 *count = num_experiments;
940 return experiments; 940 return experiments;
941 } 941 }
942 942
943 } // namespace testing 943 } // namespace testing
944 944
945 } // namespace about_flags 945 } // namespace about_flags
OLDNEW
« no previous file with comments | « build/linux/system.gyp ('k') | content/browser/gamepad/data_fetcher_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698