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

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

Issue 9166014: Allow a Views client to provide a default frameview for window widgets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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
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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 kOsWin | kOsLinux | kOsCrOS, 458 kOsWin | kOsLinux | kOsCrOS,
459 SINGLE_VALUE_TYPE(ash::switches::kAuraWorkspaceManager) 459 SINGLE_VALUE_TYPE(ash::switches::kAuraWorkspaceManager)
460 }, 460 },
461 { 461 {
462 "aura-translucent-frames", 462 "aura-translucent-frames",
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 {
469 "aura-kennedy-dialog-frames",
470 IDS_FLAGS_AURA_KENNEDY_DIALOG_FRAMES_NAME,
471 IDS_FLAGS_AURA_KENNEDY_DIALOG_FRAMES_DESCRIPTION,
472 kOsWin | kOsLinux | kOsCrOS,
473 SINGLE_VALUE_TYPE(ash::switches::kAuraKennedyDialogFrames)
474 },
468 #endif // defined(USE_AURA) 475 #endif // defined(USE_AURA)
469 { 476 {
470 "enable-gamepad", 477 "enable-gamepad",
471 IDS_FLAGS_ENABLE_GAMEPAD_NAME, 478 IDS_FLAGS_ENABLE_GAMEPAD_NAME,
472 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, 479 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION,
473 kOsAll, 480 kOsAll,
474 SINGLE_VALUE_TYPE(switches::kEnableGamepad) 481 SINGLE_VALUE_TYPE(switches::kEnableGamepad)
475 }, 482 },
476 #if defined(AURA_SHOW_ABOUT_FLAG_WINDOW_MODE) 483 #if defined(AURA_SHOW_ABOUT_FLAG_WINDOW_MODE)
477 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure 484 // TODO(jamescook): Enable this for all ChromeOS builds when we're sure
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 } 950 }
944 951
945 const Experiment* GetExperiments(size_t* count) { 952 const Experiment* GetExperiments(size_t* count) {
946 *count = num_experiments; 953 *count = num_experiments;
947 return experiments; 954 return experiments;
948 } 955 }
949 956
950 } // namespace testing 957 } // namespace testing
951 958
952 } // namespace about_flags 959 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698