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

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

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 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) 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 { IDS_FLAGS_PRERENDER_FROM_OMNIBOX_ENABLED, switches::kPrerenderFromOmnibox, 72 { IDS_FLAGS_PRERENDER_FROM_OMNIBOX_ENABLED, switches::kPrerenderFromOmnibox,
73 switches::kPrerenderFromOmniboxSwitchValueEnabled }, 73 switches::kPrerenderFromOmniboxSwitchValueEnabled },
74 { IDS_FLAGS_PRERENDER_FROM_OMNIBOX_DISABLED, switches::kPrerenderFromOmnibox, 74 { IDS_FLAGS_PRERENDER_FROM_OMNIBOX_DISABLED, switches::kPrerenderFromOmnibox,
75 switches::kPrerenderFromOmniboxSwitchValueDisabled } 75 switches::kPrerenderFromOmniboxSwitchValueDisabled }
76 }; 76 };
77 77
78 #if defined(USE_AURA) 78 #if defined(USE_AURA)
79 const Experiment::Choice kAuraWindowModeChoices[] = { 79 const Experiment::Choice kAuraWindowModeChoices[] = {
80 { IDS_FLAGS_AURA_WINDOW_MODE_NORMAL, "", "" }, 80 { IDS_FLAGS_AURA_WINDOW_MODE_NORMAL, "", "" },
81 { IDS_FLAGS_AURA_WINDOW_MODE_COMPACT, 81 { IDS_FLAGS_AURA_WINDOW_MODE_COMPACT,
82 aura_shell::switches::kAuraWindowMode, 82 ash::switches::kAuraWindowMode,
83 aura_shell::switches::kAuraWindowModeCompact } 83 ash::switches::kAuraWindowModeCompact }
84 }; 84 };
85 #endif 85 #endif
86 86
87 // RECORDING USER METRICS FOR FLAGS: 87 // RECORDING USER METRICS FOR FLAGS:
88 // ----------------------------------------------------------------------------- 88 // -----------------------------------------------------------------------------
89 // The first line of the experiment is the internal name. If you'd like to 89 // The first line of the experiment is the internal name. If you'd like to
90 // gather statistics about the usage of your flag, you should append a marker 90 // gather statistics about the usage of your flag, you should append a marker
91 // comment to the end of the feature name, like so: 91 // comment to the end of the feature name, like so:
92 // "my-special-feature", // FLAGS:RECORD_UMA 92 // "my-special-feature", // FLAGS:RECORD_UMA
93 // 93 //
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 IDS_FLAGS_ENABLE_POINTER_LOCK_DESCRIPTION, 461 IDS_FLAGS_ENABLE_POINTER_LOCK_DESCRIPTION,
462 kOsAll, 462 kOsAll,
463 SINGLE_VALUE_TYPE(switches::kEnablePointerLock) 463 SINGLE_VALUE_TYPE(switches::kEnablePointerLock)
464 }, 464 },
465 #if defined(USE_AURA) 465 #if defined(USE_AURA)
466 { 466 {
467 "aura-workspace-manager", 467 "aura-workspace-manager",
468 IDS_FLAGS_AURA_WORKSPACE_MANAGER_NAME, 468 IDS_FLAGS_AURA_WORKSPACE_MANAGER_NAME,
469 IDS_FLAGS_AURA_WORKSPACE_MANAGER_DESCRIPTION, 469 IDS_FLAGS_AURA_WORKSPACE_MANAGER_DESCRIPTION,
470 kOsWin | kOsLinux | kOsCrOS, 470 kOsWin | kOsLinux | kOsCrOS,
471 SINGLE_VALUE_TYPE(aura_shell::switches::kAuraWorkspaceManager) 471 SINGLE_VALUE_TYPE(ash::switches::kAuraWorkspaceManager)
472 }, 472 },
473 { 473 {
474 "aura-translucent-frames", 474 "aura-translucent-frames",
475 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME, 475 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_NAME,
476 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION, 476 IDS_FLAGS_AURA_TRANSLUCENT_FRAMES_DESCRIPTION,
477 kOsWin | kOsLinux | kOsCrOS, 477 kOsWin | kOsLinux | kOsCrOS,
478 SINGLE_VALUE_TYPE(aura_shell::switches::kAuraTranslucentFrames) 478 SINGLE_VALUE_TYPE(ash::switches::kAuraTranslucentFrames)
479 }, 479 },
480 #endif // defined(USE_AURA) 480 #endif // defined(USE_AURA)
481 { 481 {
482 "enable-gamepad", 482 "enable-gamepad",
483 IDS_FLAGS_ENABLE_GAMEPAD_NAME, 483 IDS_FLAGS_ENABLE_GAMEPAD_NAME,
484 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION, 484 IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION,
485 kOsMac | kOsWin, 485 kOsMac | kOsWin,
486 SINGLE_VALUE_TYPE(switches::kEnableGamepad) 486 SINGLE_VALUE_TYPE(switches::kEnableGamepad)
487 }, 487 },
488 #if defined(USE_AURA) 488 #if defined(USE_AURA)
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 } 941 }
942 942
943 const Experiment* GetExperiments(size_t* count) { 943 const Experiment* GetExperiments(size_t* count) {
944 *count = num_experiments; 944 *count = num_experiments;
945 return experiments; 945 return experiments;
946 } 946 }
947 947
948 } // namespace testing 948 } // namespace testing
949 949
950 } // namespace about_flags 950 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698