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

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

Issue 606653002: Let --js-flags work when Harmony is enabled in about:flags (reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | chrome/browser/chrome_content_browser_client.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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 IDS_FLAGS_MEDIADRM_ENABLE_NON_COMPOSITING_DESCRIPTION, 799 IDS_FLAGS_MEDIADRM_ENABLE_NON_COMPOSITING_DESCRIPTION,
800 kOsAndroid, 800 kOsAndroid,
801 SINGLE_VALUE_TYPE(switches::kMediaDrmEnableNonCompositing) 801 SINGLE_VALUE_TYPE(switches::kMediaDrmEnableNonCompositing)
802 }, 802 },
803 #endif // defined(OS_ANDROID) 803 #endif // defined(OS_ANDROID)
804 { 804 {
805 "enable-javascript-harmony", 805 "enable-javascript-harmony",
806 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_NAME, 806 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_NAME,
807 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_DESCRIPTION, 807 IDS_FLAGS_ENABLE_JAVASCRIPT_HARMONY_DESCRIPTION,
808 kOsAll, 808 kOsAll,
809 SINGLE_VALUE_TYPE_AND_VALUE(switches::kJavaScriptFlags, "--harmony") 809 SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony)
810 }, 810 },
811 { 811 {
812 "disable-software-rasterizer", 812 "disable-software-rasterizer",
813 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, 813 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME,
814 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, 814 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION,
815 #if defined(ENABLE_SWIFTSHADER) 815 #if defined(ENABLE_SWIFTSHADER)
816 kOsAll, 816 kOsAll,
817 #else 817 #else
818 0, 818 0,
819 #endif 819 #endif
(...skipping 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after
2508 } 2508 }
2509 2509
2510 const Experiment* GetExperiments(size_t* count) { 2510 const Experiment* GetExperiments(size_t* count) {
2511 *count = num_experiments; 2511 *count = num_experiments;
2512 return experiments; 2512 return experiments;
2513 } 2513 }
2514 2514
2515 } // namespace testing 2515 } // namespace testing
2516 2516
2517 } // namespace about_flags 2517 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698