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

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

Issue 2444813002: Remove unsafe mode to enable es3 api by default for WebGL2 and ES3 context (Closed)
Patch Set: fix a bug Created 4 years, 1 month 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 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1782 IDS_FLAGS_SET_MARKET_URL_FOR_TESTING_DESCRIPTION, kOsAndroid, 1782 IDS_FLAGS_SET_MARKET_URL_FOR_TESTING_DESCRIPTION, kOsAndroid,
1783 SINGLE_VALUE_TYPE_AND_VALUE( 1783 SINGLE_VALUE_TYPE_AND_VALUE(
1784 switches::kMarketUrlForTesting, 1784 switches::kMarketUrlForTesting,
1785 "https://play.google.com/store/apps/details?id=com.android.chrome")}, 1785 "https://play.google.com/store/apps/details?id=com.android.chrome")},
1786 #endif // OS_ANDROID 1786 #endif // OS_ANDROID
1787 #if defined(OS_WIN) || defined(OS_MACOSX) 1787 #if defined(OS_WIN) || defined(OS_MACOSX)
1788 {"automatic-tab-discarding", IDS_FLAGS_AUTOMATIC_TAB_DISCARDING_NAME, 1788 {"automatic-tab-discarding", IDS_FLAGS_AUTOMATIC_TAB_DISCARDING_NAME,
1789 IDS_FLAGS_AUTOMATIC_TAB_DISCARDING_DESCRIPTION, kOsWin | kOsMac, 1789 IDS_FLAGS_AUTOMATIC_TAB_DISCARDING_DESCRIPTION, kOsWin | kOsMac,
1790 FEATURE_VALUE_TYPE(features::kAutomaticTabDiscarding)}, 1790 FEATURE_VALUE_TYPE(features::kAutomaticTabDiscarding)},
1791 #endif // OS_WIN || OS_MACOSX 1791 #endif // OS_WIN || OS_MACOSX
1792 {"enable-unsafe-es3-apis", IDS_FLAGS_WEBGL2_NAME,
1793 IDS_FLAGS_WEBGL2_DESCRIPTION, kOsAll,
1794 SINGLE_VALUE_TYPE(switches::kEnableUnsafeES3APIs)},
1795 {"enable-webfonts-intervention-v2", 1792 {"enable-webfonts-intervention-v2",
1796 IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_NAME, 1793 IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_NAME,
1797 IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_DESCRIPTION, kOsAll, 1794 IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_DESCRIPTION, kOsAll,
1798 MULTI_VALUE_TYPE(kEnableWebFontsInterventionV2Choices)}, 1795 MULTI_VALUE_TYPE(kEnableWebFontsInterventionV2Choices)},
1799 {"enable-webfonts-intervention-trigger", 1796 {"enable-webfonts-intervention-trigger",
1800 IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_TRIGGER_NAME, 1797 IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_TRIGGER_NAME,
1801 IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_TRIGGER_DESCRIPTION, kOsAll, 1798 IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_TRIGGER_DESCRIPTION, kOsAll,
1802 SINGLE_VALUE_TYPE(switches::kEnableWebFontsInterventionTrigger)}, 1799 SINGLE_VALUE_TYPE(switches::kEnableWebFontsInterventionTrigger)},
1803 {"enable-grouped-history", IDS_FLAGS_ENABLE_GROUPED_HISTORY_NAME, 1800 {"enable-grouped-history", IDS_FLAGS_ENABLE_GROUPED_HISTORY_NAME,
1804 IDS_FLAGS_ENABLE_GROUPED_HISTORY_DESCRIPTION, kOsDesktop, 1801 IDS_FLAGS_ENABLE_GROUPED_HISTORY_DESCRIPTION, kOsDesktop,
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
2276 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2273 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2277 2274
2278 const FeatureEntry* GetFeatureEntries(size_t* count) { 2275 const FeatureEntry* GetFeatureEntries(size_t* count) {
2279 *count = arraysize(kFeatureEntries); 2276 *count = arraysize(kFeatureEntries);
2280 return kFeatureEntries; 2277 return kFeatureEntries;
2281 } 2278 }
2282 2279
2283 } // namespace testing 2280 } // namespace testing
2284 2281
2285 } // namespace about_flags 2282 } // 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