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

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

Issue 11938025: ChromeOS default switches cleanup - switches::kEnableThreadedCompositing and switches::kEnableSmoot… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 "force-compositing-mode-2", 320 "force-compositing-mode-2",
321 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME, 321 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME,
322 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION, 322 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION,
323 kOsMac | kOsWin | kOsLinux, 323 kOsMac | kOsWin | kOsLinux,
324 MULTI_VALUE_TYPE(kForceCompositingModeChoices) 324 MULTI_VALUE_TYPE(kForceCompositingModeChoices)
325 }, 325 },
326 { 326 {
327 "threaded-compositing-mode", 327 "threaded-compositing-mode",
328 IDS_FLAGS_THREADED_COMPOSITING_MODE_NAME, 328 IDS_FLAGS_THREADED_COMPOSITING_MODE_NAME,
329 IDS_FLAGS_THREADED_COMPOSITING_MODE_DESCRIPTION, 329 IDS_FLAGS_THREADED_COMPOSITING_MODE_DESCRIPTION,
330 kOsAll, 330 kOsAll & ~kOsCrOS,
331 MULTI_VALUE_TYPE(kThreadedCompositingModeChoices) 331 MULTI_VALUE_TYPE(kThreadedCompositingModeChoices)
332 }, 332 },
333 { 333 {
334 "disable-accelerated-2d-canvas", 334 "disable-accelerated-2d-canvas",
335 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, 335 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME,
336 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION, 336 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION,
337 kOsAll, 337 kOsAll,
338 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas) 338 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)
339 }, 339 },
340 { 340 {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 IDS_FLAGS_ENABLE_GESTURE_TAP_HIGHLIGHTING_DESCRIPTION, 555 IDS_FLAGS_ENABLE_GESTURE_TAP_HIGHLIGHTING_DESCRIPTION,
556 kOsLinux | kOsCrOS, 556 kOsLinux | kOsCrOS,
557 SINGLE_VALUE_TYPE(switches::kEnableGestureTapHighlight) 557 SINGLE_VALUE_TYPE(switches::kEnableGestureTapHighlight)
558 }, 558 },
559 { 559 {
560 "enable-smooth-scrolling", // FLAGS:RECORD_UMA 560 "enable-smooth-scrolling", // FLAGS:RECORD_UMA
561 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, 561 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME,
562 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, 562 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION,
563 // Can't expose the switch unless the code is compiled in. 563 // Can't expose the switch unless the code is compiled in.
564 // On by default for the Mac (different implementation in WebKit). 564 // On by default for the Mac (different implementation in WebKit).
565 kOsWin | kOsLinux | kOsCrOS, 565 kOsWin | kOsLinux,
566 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) 566 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)
567 }, 567 },
568 { 568 {
569 "omnibox-history-quick-provider-new-scoring", 569 "omnibox-history-quick-provider-new-scoring",
570 IDS_FLAGS_OMNIBOX_HISTORY_QUICK_PROVIDER_NEW_SCORING_NAME, 570 IDS_FLAGS_OMNIBOX_HISTORY_QUICK_PROVIDER_NEW_SCORING_NAME,
571 IDS_FLAGS_OMNIBOX_HISTORY_QUICK_PROVIDER_NEW_SCORING_DESCRIPTION, 571 IDS_FLAGS_OMNIBOX_HISTORY_QUICK_PROVIDER_NEW_SCORING_DESCRIPTION,
572 kOsAll, 572 kOsAll,
573 MULTI_VALUE_TYPE(kOmniboxHistoryQuickProviderNewScoringChoices) 573 MULTI_VALUE_TYPE(kOmniboxHistoryQuickProviderNewScoringChoices)
574 }, 574 },
575 { 575 {
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1666 } 1666 }
1667 1667
1668 const Experiment* GetExperiments(size_t* count) { 1668 const Experiment* GetExperiments(size_t* count) {
1669 *count = num_experiments; 1669 *count = num_experiments;
1670 return experiments; 1670 return experiments;
1671 } 1671 }
1672 1672
1673 } // namespace testing 1673 } // namespace testing
1674 1674
1675 } // namespace about_flags 1675 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698