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

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

Issue 8799022: Add Mac implementation of data_fetcher for gamepad. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix indent 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
« no previous file with comments | « no previous file | content/browser/gamepad/data_fetcher.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) 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 IDS_FLAGS_AURA_WINDOWS_NAME, 424 IDS_FLAGS_AURA_WINDOWS_NAME,
425 IDS_FLAGS_AURA_WINDOWS_DESCRIPTION, 425 IDS_FLAGS_AURA_WINDOWS_DESCRIPTION,
426 kOsWin | kOsLinux | kOsCrOS, 426 kOsWin | kOsLinux | kOsCrOS,
427 SINGLE_VALUE_TYPE(switches::kAuraWindows) 427 SINGLE_VALUE_TYPE(switches::kAuraWindows)
428 }, 428 },
429 #endif 429 #endif
430 { 430 {
431 "enable-gamepad", 431 "enable-gamepad",
432 IDS_FLAGS_ENABLE_GAMEPAD_NAME, 432 IDS_FLAGS_ENABLE_GAMEPAD_NAME,
433 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, 433 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION,
434 kOsWin, 434 kOsMac | kOsWin,
435 SINGLE_VALUE_TYPE(switches::kEnableGamepad) 435 SINGLE_VALUE_TYPE(switches::kEnableGamepad)
436 }, 436 },
437 }; 437 };
438 438
439 const Experiment* experiments = kExperiments; 439 const Experiment* experiments = kExperiments;
440 size_t num_experiments = arraysize(kExperiments); 440 size_t num_experiments = arraysize(kExperiments);
441 441
442 // Stores and encapsulates the little state that about:flags has. 442 // Stores and encapsulates the little state that about:flags has.
443 class FlagsState { 443 class FlagsState {
444 public: 444 public:
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 } 856 }
857 857
858 const Experiment* GetExperiments(size_t* count) { 858 const Experiment* GetExperiments(size_t* count) {
859 *count = num_experiments; 859 *count = num_experiments;
860 return experiments; 860 return experiments;
861 } 861 }
862 862
863 } // namespace testing 863 } // namespace testing
864 864
865 } // namespace about_flags 865 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | content/browser/gamepad/data_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698