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

Unified Diff: Source/WebKit/chromium/public/WebRuntimeFeatures.h

Issue 14910008: Standardize naming of WebRuntimeFeatures functions for easier autogeneration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ready for review Created 7 years, 7 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 | « no previous file | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebRuntimeFeatures.h
diff --git a/Source/WebKit/chromium/public/WebRuntimeFeatures.h b/Source/WebKit/chromium/public/WebRuntimeFeatures.h
index 89605c4a9d0be57187a40c783658b07796b62700..625e20f13db63710551ca107e4697c1d80b5aef7 100644
--- a/Source/WebKit/chromium/public/WebRuntimeFeatures.h
+++ b/Source/WebKit/chromium/public/WebRuntimeFeatures.h
@@ -45,9 +45,17 @@ public:
WEBKIT_EXPORT static void enableExperimentalFeatures(bool);
WEBKIT_EXPORT static void enableTestOnlyFeatures(bool);
+ // FIXME: Delete after removing all callers in Content.
+ static void enableFullScreenAPI(bool enable) { enableFullscreen(enable); }
+ static void enableIndexedDatabase(bool enable) { enableIndexedDB(enable); }
+ static void enableWebAudio(bool enable) { enableAudioContext(enable); }
+
WEBKIT_EXPORT static void enableApplicationCache(bool);
WEBKIT_EXPORT static bool isApplicationCacheEnabled();
+ WEBKIT_EXPORT static void enableAudioContext(bool);
+ WEBKIT_EXPORT static bool isAudioContextEnabled();
+
WEBKIT_EXPORT static void enableCanvasPath(bool);
WEBKIT_EXPORT static bool isCanvasPathEnabled();
@@ -82,7 +90,7 @@ public:
WEBKIT_EXPORT static bool isEncryptedMediaEnabled();
WEBKIT_EXPORT static void enableExperimentalCanvasFeatures(bool);
- WEBKIT_EXPORT static bool areExperimentalCanvasFeaturesEnabled();
+ WEBKIT_EXPORT static bool isExperimentalCanvasFeaturesEnabled();
WEBKIT_EXPORT static void enableExperimentalContentSecurityPolicyFeatures(bool);
WEBKIT_EXPORT static bool isExperimentalContentSecurityPolicyFeaturesEnabled();
@@ -99,8 +107,8 @@ public:
WEBKIT_EXPORT static void enableFontLoadEvents(bool);
WEBKIT_EXPORT static bool isFontLoadEventsEnabled();
- WEBKIT_EXPORT static void enableFullScreenAPI(bool);
- WEBKIT_EXPORT static bool isFullScreenAPIEnabled();
+ WEBKIT_EXPORT static void enableFullscreen(bool);
+ WEBKIT_EXPORT static bool isFullscreenEnabled();
WEBKIT_EXPORT static void enableGamepad(bool);
WEBKIT_EXPORT static bool isGamepadEnabled();
@@ -111,8 +119,8 @@ public:
WEBKIT_EXPORT static void enableIMEAPI(bool);
WEBKIT_EXPORT static bool isIMEAPIEnabled();
- WEBKIT_EXPORT static void enableIndexedDatabase(bool);
- WEBKIT_EXPORT static bool isIndexedDatabaseEnabled();
+ WEBKIT_EXPORT static void enableIndexedDB(bool);
+ WEBKIT_EXPORT static bool isIndexedDBEnabled();
WEBKIT_EXPORT static void enableInputTypeDateTime(bool);
WEBKIT_EXPORT static bool isInputTypeDateTimeEnabled();
@@ -154,7 +162,7 @@ public:
WEBKIT_EXPORT static bool isScriptedSpeechEnabled();
WEBKIT_EXPORT static void enableSeamlessIFrames(bool);
- WEBKIT_EXPORT static bool areSeamlessIFramesEnabled();
+ WEBKIT_EXPORT static bool isSeamlessIFramesEnabled();
WEBKIT_EXPORT static void enableSessionStorage(bool);
WEBKIT_EXPORT static bool isSessionStorageEnabled();
@@ -174,9 +182,6 @@ public:
WEBKIT_EXPORT static void enableVideoTrack(bool);
WEBKIT_EXPORT static bool isVideoTrackEnabled();
- WEBKIT_EXPORT static void enableWebAudio(bool);
- WEBKIT_EXPORT static bool isWebAudioEnabled();
-
WEBKIT_EXPORT static void enableWebMIDI(bool);
WEBKIT_EXPORT static bool isWebMIDIEnabled();
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698