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

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

Issue 785323002: 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 },
440 #if defined(OS_WIN) 433 #if defined(OS_WIN)
441 { 434 {
442 "disable-direct-write", 435 "disable-direct-write",
443 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, 436 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME,
444 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, 437 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION,
445 kOsWin, 438 kOsWin,
446 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) 439 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite)
447 }, 440 },
448 #endif 441 #endif
449 { 442 {
(...skipping 2193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2643 } 2636 }
2644 2637
2645 const Experiment* GetExperiments(size_t* count) { 2638 const Experiment* GetExperiments(size_t* count) {
2646 *count = num_experiments; 2639 *count = num_experiments;
2647 return experiments; 2640 return experiments;
2648 } 2641 }
2649 2642
2650 } // namespace testing 2643 } // namespace testing
2651 2644
2652 } // namespace about_flags 2645 } // 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