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

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

Issue 1146053009: Added experiment for changing viewport scroll ordering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added new about_flag to histograms.xml Created 5 years, 6 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
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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1856 }, 1856 },
1857 #endif 1857 #endif
1858 { 1858 {
1859 "disable-threaded-scrolling", 1859 "disable-threaded-scrolling",
1860 IDS_FLAGS_DISABLE_THREADED_SCROLLING_NAME, 1860 IDS_FLAGS_DISABLE_THREADED_SCROLLING_NAME,
1861 IDS_FLAGS_DISABLE_THREADED_SCROLLING_DESCRIPTION, 1861 IDS_FLAGS_DISABLE_THREADED_SCROLLING_DESCRIPTION,
1862 kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsMac, 1862 kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsMac,
1863 SINGLE_VALUE_TYPE(switches::kDisableThreadedScrolling) 1863 SINGLE_VALUE_TYPE(switches::kDisableThreadedScrolling)
1864 }, 1864 },
1865 { 1865 {
1866 "invert-viewport-scroll-order",
1867 IDS_FLAGS_INVERT_VIEWPORT_SCROLL_ORDER_NAME,
1868 IDS_FLAGS_INVERT_VIEWPORT_SCROLL_ORDER_DESCRIPTION,
1869 kOsAll,
1870 SINGLE_VALUE_TYPE(switches::kInvertViewportScrollOrder)
1871 },
1872 {
1866 "bleeding-edge-renderer-mode", 1873 "bleeding-edge-renderer-mode",
1867 IDS_FLAGS_BLEEDING_RENDERER_NAME, 1874 IDS_FLAGS_BLEEDING_RENDERER_NAME,
1868 IDS_FLAGS_BLEEDING_RENDERER_DESCRIPTION, 1875 IDS_FLAGS_BLEEDING_RENDERER_DESCRIPTION,
1869 kOsAndroid, 1876 kOsAndroid,
1870 SINGLE_VALUE_TYPE(switches::kEnableBleedingEdgeRenderingFastPaths) 1877 SINGLE_VALUE_TYPE(switches::kEnableBleedingEdgeRenderingFastPaths)
1871 }, 1878 },
1872 { 1879 {
1873 "enable-settings-window", 1880 "enable-settings-window",
1874 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_NAME, 1881 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_NAME,
1875 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_DESCRIPTION, 1882 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_DESCRIPTION,
(...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
3007 } 3014 }
3008 3015
3009 const Experiment* GetExperiments(size_t* count) { 3016 const Experiment* GetExperiments(size_t* count) {
3010 *count = num_experiments; 3017 *count = num_experiments;
3011 return experiments; 3018 return experiments;
3012 } 3019 }
3013 3020
3014 } // namespace testing 3021 } // namespace testing
3015 3022
3016 } // namespace about_flags 3023 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698