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

Unified Diff: Source/core/page/RuntimeEnabledFeatures.h

Issue 14298018: This CL implements the first draft of Canvas 2D Context Attributes, aka getContext('2d', { alpha: f… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to ToT; test cleanup Created 7 years, 8 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 | « Source/core/html/canvas/CanvasRenderingContext2D.idl ('k') | Source/core/page/RuntimeEnabledFeatures.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/RuntimeEnabledFeatures.h
diff --git a/Source/core/page/RuntimeEnabledFeatures.h b/Source/core/page/RuntimeEnabledFeatures.h
index 9422c8646daea9eb430cd636eb81b9c8ce5029dd..5e16eb4c76e70a4f81eecfab761ab48f45eded6b 100644
--- a/Source/core/page/RuntimeEnabledFeatures.h
+++ b/Source/core/page/RuntimeEnabledFeatures.h
@@ -224,6 +224,9 @@ public:
static void setIMEAPIEnabled(bool isEnabled) { isIMEAPIEnabled = isEnabled; }
static bool imeAPIEnabled() { return isIMEAPIEnabled; }
+ static bool experimentalCanvasFeaturesEnabled() { return areExperimentalCanvasFeaturesEnabled; }
+ static void setExperimentalCanvasFeaturesEnabled(bool isEnabled) { areExperimentalCanvasFeaturesEnabled = isEnabled; }
+
private:
// Never instantiate.
RuntimeEnabledFeatures() { }
@@ -291,6 +294,8 @@ private:
static bool isDirectoryUploadEnabled;
static bool isExperimentalWebSocketEnabled;
static bool isIMEAPIEnabled;
+
+ static bool areExperimentalCanvasFeaturesEnabled;
};
} // namespace WebCore
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.idl ('k') | Source/core/page/RuntimeEnabledFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698