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

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

Issue 792873004: Win32k lockdown: move to chrome://flags, add UMA, add finch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_browser_main_win.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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing) 438 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing)
439 }, 439 },
440 #if defined(OS_WIN) 440 #if defined(OS_WIN)
441 { 441 {
442 "disable-direct-write", 442 "disable-direct-write",
443 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, 443 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME,
444 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION, 444 IDS_FLAGS_DISABLE_DIRECT_WRITE_DESCRIPTION,
445 kOsWin, 445 kOsWin,
446 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite) 446 SINGLE_VALUE_TYPE(switches::kDisableDirectWrite)
447 }, 447 },
448 {
449 "enable-win32k-renderer-lockdown",
450 IDS_FLAGS_ENABLE_WIN32K_RENDERER_LOCKDOWN_NAME,
451 IDS_FLAGS_ENABLE_WIN32K_RENDERER_LOCKDOWN_DESCRIPTION,
452 kOsWin,
453 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableWin32kRendererLockDown,
454 switches::kDisableWin32kRendererLockDown)
455 },
448 #endif 456 #endif
449 { 457 {
450 "enable-experimental-canvas-features", 458 "enable-experimental-canvas-features",
451 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, 459 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME,
452 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, 460 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION,
453 kOsAll, 461 kOsAll,
454 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) 462 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)
455 }, 463 },
456 { 464 {
457 "disable-accelerated-2d-canvas", 465 "disable-accelerated-2d-canvas",
(...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after
2642 } 2650 }
2643 2651
2644 const Experiment* GetExperiments(size_t* count) { 2652 const Experiment* GetExperiments(size_t* count) {
2645 *count = num_experiments; 2653 *count = num_experiments;
2646 return experiments; 2654 return experiments;
2647 } 2655 }
2648 2656
2649 } // namespace testing 2657 } // namespace testing
2650 2658
2651 } // namespace about_flags 2659 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_browser_main_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698