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

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

Issue 2698573002: Support offscreen contexts which own their backing surface (Closed)
Patch Set: Rebase and retry again Created 3 years, 10 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/child/runtime_features.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 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, 1616 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows,
1617 switches::kDisableMacViewsNativeAppWindows)}, 1617 switches::kDisableMacViewsNativeAppWindows)},
1618 {"app-window-cycling", IDS_FLAGS_APP_WINDOW_CYCLING_NAME, 1618 {"app-window-cycling", IDS_FLAGS_APP_WINDOW_CYCLING_NAME,
1619 IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION, kOsMac, 1619 IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION, kOsMac,
1620 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling, 1620 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling,
1621 switches::kDisableAppWindowCycling)}, 1621 switches::kDisableAppWindowCycling)},
1622 #endif // OS_MACOSX 1622 #endif // OS_MACOSX
1623 {"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll, 1623 {"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll,
1624 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, 1624 SINGLE_VALUE_TYPE(switches::kEnableWebVR)},
1625 #if defined(ENABLE_WEBVR) 1625 #if defined(ENABLE_WEBVR)
1626 {"enable-webvr-experimental-rendering",
1627 IDS_FLAGS_WEBVR_EXPERIMENTAL_RENDERING_NAME,
1628 IDS_FLAGS_WEBVR_EXPERIMENTAL_RENDERING_DESCRIPTION, kOsAndroid,
1629 FEATURE_VALUE_TYPE(features::kWebVRExperimentalRendering)},
1626 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME, 1630 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME,
1627 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, 1631 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid,
1628 FEATURE_VALUE_TYPE(features::kVrShell)}, 1632 FEATURE_VALUE_TYPE(features::kVrShell)},
1629 #endif 1633 #endif
1630 #if defined(OS_CHROMEOS) 1634 #if defined(OS_CHROMEOS)
1631 {"disable-accelerated-mjpeg-decode", 1635 {"disable-accelerated-mjpeg-decode",
1632 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_NAME, 1636 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_NAME,
1633 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_DESCRIPTION, kOsCrOS, 1637 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_DESCRIPTION, kOsCrOS,
1634 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, 1638 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
1635 #endif // OS_CHROMEOS 1639 #endif // OS_CHROMEOS
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2466 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2470 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2467 2471
2468 const FeatureEntry* GetFeatureEntries(size_t* count) { 2472 const FeatureEntry* GetFeatureEntries(size_t* count) {
2469 *count = arraysize(kFeatureEntries); 2473 *count = arraysize(kFeatureEntries);
2470 return kFeatureEntries; 2474 return kFeatureEntries;
2471 } 2475 }
2472 2476
2473 } // namespace testing 2477 } // namespace testing
2474 2478
2475 } // namespace about_flags 2479 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698