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

Side by Side Diff: branches/1700/src/chrome/browser/about_flags.cc

Issue 144603002: Re-add support for smooth scrolling in about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | no next file » | 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 kOsLinux | kOsCrOS, 694 kOsLinux | kOsCrOS,
695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableGestureTapHighlight, 695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableGestureTapHighlight,
696 switches::kDisableGestureTapHighlight) 696 switches::kDisableGestureTapHighlight)
697 }, 697 },
698 { 698 {
699 "enable-smooth-scrolling", // FLAGS:RECORD_UMA 699 "enable-smooth-scrolling", // FLAGS:RECORD_UMA
700 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, 700 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME,
701 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, 701 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION,
702 // Can't expose the switch unless the code is compiled in. 702 // Can't expose the switch unless the code is compiled in.
703 // On by default for the Mac (different implementation in WebKit). 703 // On by default for the Mac (different implementation in WebKit).
704 kOsLinux, 704 kOsWin | kOsLinux,
705 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) 705 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)
706 }, 706 },
707 { 707 {
708 "enable-overlay-scrollbars", 708 "enable-overlay-scrollbars",
709 IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_NAME, 709 IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_NAME,
710 IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_DESCRIPTION, 710 IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_DESCRIPTION,
711 // Uses the system preference on Mac (a different implementation). 711 // Uses the system preference on Mac (a different implementation).
712 // On Android, this is always enabled. 712 // On Android, this is always enabled.
713 kOsCrOS, 713 kOsCrOS,
714 SINGLE_VALUE_TYPE(switches::kEnableOverlayScrollbars) 714 SINGLE_VALUE_TYPE(switches::kEnableOverlayScrollbars)
(...skipping 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after
2301 } 2301 }
2302 2302
2303 const Experiment* GetExperiments(size_t* count) { 2303 const Experiment* GetExperiments(size_t* count) {
2304 *count = num_experiments; 2304 *count = num_experiments;
2305 return experiments; 2305 return experiments;
2306 } 2306 }
2307 2307
2308 } // namespace testing 2308 } // namespace testing
2309 2309
2310 } // namespace about_flags 2310 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698