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

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

Issue 189543017: Revert 254571 "Remove the enable-d3d11 flag so that d3d11 is ena..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) 514 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters)
515 }, 515 },
516 { 516 {
517 "disable-webgl", 517 "disable-webgl",
518 IDS_FLAGS_DISABLE_WEBGL_NAME, 518 IDS_FLAGS_DISABLE_WEBGL_NAME,
519 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, 519 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION,
520 kOsAll, 520 kOsAll,
521 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) 521 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL)
522 }, 522 },
523 { 523 {
524 "enable-d3d11",
525 IDS_FLAGS_ENABLE_D3D11_NAME,
526 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION,
527 kOsWin,
528 SINGLE_VALUE_TYPE(switches::kEnableD3D11)
529 },
530 {
524 "disable-webrtc", 531 "disable-webrtc",
525 IDS_FLAGS_DISABLE_WEBRTC_NAME, 532 IDS_FLAGS_DISABLE_WEBRTC_NAME,
526 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, 533 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION,
527 kOsAndroid, 534 kOsAndroid,
528 #if defined(OS_ANDROID) 535 #if defined(OS_ANDROID)
529 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) 536 SINGLE_VALUE_TYPE(switches::kDisableWebRTC)
530 #else 537 #else
531 SINGLE_VALUE_TYPE("") 538 SINGLE_VALUE_TYPE("")
532 #endif 539 #endif
533 }, 540 },
(...skipping 1880 matching lines...) Expand 10 before | Expand all | Expand 10 after
2414 } 2421 }
2415 2422
2416 const Experiment* GetExperiments(size_t* count) { 2423 const Experiment* GetExperiments(size_t* count) {
2417 *count = num_experiments; 2424 *count = num_experiments;
2418 return experiments; 2425 return experiments;
2419 } 2426 }
2420 2427
2421 } // namespace testing 2428 } // namespace testing
2422 2429
2423 } // namespace about_flags 2430 } // namespace about_flags
OLDNEW
« no previous file with comments | « trunk/src/chrome/app/generated_resources.grd ('k') | trunk/src/content/test/gpu/page_sets/pixel_tests.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698