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

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

Issue 14466008: Switch speech synthesis from compile-flag to runtime-flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/WebKit/chromium/public/WebRuntimeFeatures.h
diff --git a/Source/WebKit/chromium/public/WebRuntimeFeatures.h b/Source/WebKit/chromium/public/WebRuntimeFeatures.h
index 7551e3ac1535b0a87aa7f8fb00cb1bd1746cfa9e..9a991cd338be9e200624b5ec7241911a842fc9de 100644
--- a/Source/WebKit/chromium/public/WebRuntimeFeatures.h
+++ b/Source/WebKit/chromium/public/WebRuntimeFeatures.h
@@ -176,6 +176,9 @@ public:
WEBKIT_EXPORT static void enableIMEAPI(bool);
WEBKIT_EXPORT static bool isIMEAPIEnabled();
+ WEBKIT_EXPORT static void enableSpeechSynthesis(bool);
+ WEBKIT_EXPORT static bool isSpeechSynthesisEnabled();
+
private:
WebRuntimeFeatures();
};
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp » ('j') | Source/core/page/RuntimeEnabledFeatures.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698