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

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

Issue 201823002: Add about:flags entry for --enable-bleeding-edge-rendering-fast-paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « chrome/app/generated_resources.grd ('k') | 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 1846 matching lines...) Expand 10 before | Expand all | Expand 10 after
1857 SINGLE_VALUE_TYPE(app_list::switches::kEnableExperimentalAppListPosition) 1857 SINGLE_VALUE_TYPE(app_list::switches::kEnableExperimentalAppListPosition)
1858 }, 1858 },
1859 #endif 1859 #endif
1860 { 1860 {
1861 "touch-scrolling-mode", 1861 "touch-scrolling-mode",
1862 IDS_FLAGS_TOUCH_SCROLLING_MODE_NAME, 1862 IDS_FLAGS_TOUCH_SCROLLING_MODE_NAME,
1863 IDS_FLAGS_TOUCH_SCROLLING_MODE_DESCRIPTION, 1863 IDS_FLAGS_TOUCH_SCROLLING_MODE_DESCRIPTION,
1864 kOsWin | kOsLinux | kOsCrOS | kOsAndroid, 1864 kOsWin | kOsLinux | kOsCrOS | kOsAndroid,
1865 MULTI_VALUE_TYPE(kTouchScrollingModeChoices) 1865 MULTI_VALUE_TYPE(kTouchScrollingModeChoices)
1866 }, 1866 },
1867 {
1868 "bleeding-edge-renderer-mode",
1869 IDS_FLAGS_BLEEDING_RENDERER_NAME,
1870 IDS_FLAGS_BLEEDING_RENDERER_DESCRIPTION,
1871 kOsAll,
1872 SINGLE_VALUE_TYPE(switches::kEnableBleedingEdgeRenderingFastPaths)
1873 },
1867 }; 1874 };
1868 1875
1869 const Experiment* experiments = kExperiments; 1876 const Experiment* experiments = kExperiments;
1870 size_t num_experiments = arraysize(kExperiments); 1877 size_t num_experiments = arraysize(kExperiments);
1871 1878
1872 // Stores and encapsulates the little state that about:flags has. 1879 // Stores and encapsulates the little state that about:flags has.
1873 class FlagsState { 1880 class FlagsState {
1874 public: 1881 public:
1875 FlagsState() : needs_restart_(false) {} 1882 FlagsState() : needs_restart_(false) {}
1876 void ConvertFlagsToSwitches(FlagsStorage* flags_storage, 1883 void ConvertFlagsToSwitches(FlagsStorage* flags_storage,
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
2381 } 2388 }
2382 2389
2383 const Experiment* GetExperiments(size_t* count) { 2390 const Experiment* GetExperiments(size_t* count) {
2384 *count = num_experiments; 2391 *count = num_experiments;
2385 return experiments; 2392 return experiments;
2386 } 2393 }
2387 2394
2388 } // namespace testing 2395 } // namespace testing
2389 2396
2390 } // namespace about_flags 2397 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698