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

Unified Diff: ui/base/ui_base_switches.cc

Issue 464063005: Add a flag to enable remote CoreAnimation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_switches.cc
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index 9bacd0a71c2855db41efe4b66370bc8873a6123d..eadd3598ba52d0e5dbd20d9fd1fbe1a3afe21a6e 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -9,6 +9,10 @@ namespace switches {
#if defined(OS_MACOSX) && !defined(OS_IOS)
// Disable use of CoreAnimation to draw on the Mac.
const char kDisableCoreAnimation[] = "disable-core-animation";
+
+// Enable use of cross-process CALayers to display content directly from the
+// GPU process on Mac.
+const char kEnableRemoteCoreAnimation[] = "enable-remote-core-animation";
#endif
// Disables use of DWM composition for top level windows.
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698