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

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

Issue 789163004: Revert of Delete the enable/disable layer squashing flags and settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // 423 //
424 // When adding a new choice, add it to the end of the list. 424 // When adding a new choice, add it to the end of the list.
425 const Experiment kExperiments[] = { 425 const Experiment kExperiments[] = {
426 { 426 {
427 "ignore-gpu-blacklist", 427 "ignore-gpu-blacklist",
428 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME, 428 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME,
429 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION, 429 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION,
430 kOsAll, 430 kOsAll,
431 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) 431 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)
432 }, 432 },
433 {
434 "disable_layer_squashing",
435 IDS_FLAGS_DISABLE_LAYER_SQUASHING_NAME,
436 IDS_FLAGS_DISABLE_LAYER_SQUASHING_DESCRIPTION,
437 kOsAll,
438 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing)
439 },
433 #if defined(OS_WIN) 440 #if defined(OS_WIN)
434 { 441 {
435 "disable-direct-write", 442 "disable-direct-write",
436 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, 443 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME,
437 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, 444 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION,
438 kOsWin, 445 kOsWin,
439 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) 446 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite)
440 }, 447 },
441 #endif 448 #endif
442 { 449 {
(...skipping 2193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2636 } 2643 }
2637 2644
2638 const Experiment* GetExperiments(size_t* count) { 2645 const Experiment* GetExperiments(size_t* count) {
2639 *count = num_experiments; 2646 *count = num_experiments;
2640 return experiments; 2647 return experiments;
2641 } 2648 }
2642 2649
2643 } // namespace testing 2650 } // namespace testing
2644 2651
2645 } // namespace about_flags 2652 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698