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

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

Issue 177003009: Remove the enable-d3d11 flag so that d3d11 is enabled by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 8 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/test/gpu/page_sets/pixel_tests.json » ('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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter) 523 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter)
524 }, 524 },
525 { 525 {
526 "disable-webgl", 526 "disable-webgl",
527 IDS_FLAGS_DISABLE_WEBGL_NAME, 527 IDS_FLAGS_DISABLE_WEBGL_NAME,
528 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, 528 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION,
529 kOsAll, 529 kOsAll,
530 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) 530 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL)
531 }, 531 },
532 { 532 {
533 "enable-d3d11",
534 IDS_FLAGS_ENABLE_D3D11_NAME,
535 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION,
536 kOsWin,
537 SINGLE_VALUE_TYPE(switches::kEnableD3D11)
538 },
539 {
540 "disable-webrtc", 533 "disable-webrtc",
541 IDS_FLAGS_DISABLE_WEBRTC_NAME, 534 IDS_FLAGS_DISABLE_WEBRTC_NAME,
542 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, 535 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION,
543 kOsAndroid, 536 kOsAndroid,
544 #if defined(OS_ANDROID) 537 #if defined(OS_ANDROID)
545 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) 538 SINGLE_VALUE_TYPE(switches::kDisableWebRTC)
546 #else 539 #else
547 SINGLE_VALUE_TYPE("") 540 SINGLE_VALUE_TYPE("")
548 #endif 541 #endif
549 }, 542 },
(...skipping 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 } 2366 }
2374 2367
2375 const Experiment* GetExperiments(size_t* count) { 2368 const Experiment* GetExperiments(size_t* count) {
2376 *count = num_experiments; 2369 *count = num_experiments;
2377 return experiments; 2370 return experiments;
2378 } 2371 }
2379 2372
2380 } // namespace testing 2373 } // namespace testing
2381 2374
2382 } // namespace about_flags 2375 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/test/gpu/page_sets/pixel_tests.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698