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

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

Issue 8100003: Smooth scrolling build cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 2 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 | « build/common.gypi ('k') | chrome/chrome_browser.gypi » ('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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 IDS_FLAGS_SYNC_SEARCH_ENGINES_DESCRIPTION, 312 IDS_FLAGS_SYNC_SEARCH_ENGINES_DESCRIPTION,
313 kOsAll, 313 kOsAll,
314 SINGLE_VALUE_TYPE(switches::kEnableSyncSearchEngines) 314 SINGLE_VALUE_TYPE(switches::kEnableSyncSearchEngines)
315 }, 315 },
316 { 316 {
317 "enable-smooth-scrolling", // FLAGS:RECORD_UMA 317 "enable-smooth-scrolling", // FLAGS:RECORD_UMA
318 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, 318 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME,
319 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, 319 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION,
320 // Can't expose the switch unless the code is compiled in. 320 // Can't expose the switch unless the code is compiled in.
321 // On by default for the Mac (different implementation in WebKit). 321 // On by default for the Mac (different implementation in WebKit).
322 #if defined(ENABLE_SMOOTH_SCROLLING)
323 kOsWin | kOsLinux | kOsCrOS, 322 kOsWin | kOsLinux | kOsCrOS,
324 #else
325 0,
326 #endif
327 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) 323 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)
328 }, 324 },
329 { 325 {
330 "prerender-from-omnibox", // FLAGS:RECORD_UMA 326 "prerender-from-omnibox", // FLAGS:RECORD_UMA
331 IDS_FLAGS_PRERENDER_FROM_OMNIBOX_NAME, 327 IDS_FLAGS_PRERENDER_FROM_OMNIBOX_NAME,
332 IDS_FLAGS_PRERENDER_FROM_OMNIBOX_DESCRIPTION, 328 IDS_FLAGS_PRERENDER_FROM_OMNIBOX_DESCRIPTION,
333 kOsAll, 329 kOsAll,
334 SINGLE_VALUE_TYPE(switches::kPrerenderFromOmnibox) 330 SINGLE_VALUE_TYPE(switches::kPrerenderFromOmnibox)
335 }, 331 },
336 { 332 {
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 } 837 }
842 838
843 const Experiment* GetExperiments(size_t* count) { 839 const Experiment* GetExperiments(size_t* count) {
844 *count = num_experiments; 840 *count = num_experiments;
845 return experiments; 841 return experiments;
846 } 842 }
847 843
848 } // namespace testing 844 } // namespace testing
849 845
850 } // namespace about_flags 846 } // namespace about_flags
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698