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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 132163002: First set of changes to remove ENABLE_TOUCH_ICON_LOADING compile time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index eb374e7046068e3631e715de1569489aedf80e00..8f1ffde058e7e1fc5500963b737e1f9cbd4c93ca 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -370,6 +370,16 @@ bool WebRuntimeFeatures::isTouchEnabled()
return RuntimeEnabledFeatures::touchEnabled();
}
+void WebRuntimeFeatures::enableTouchIconLoading(bool enable)
+{
+ RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable);
+}
+
+bool WebRuntimeFeatures::isTouchIconLoadingEnabled()
+{
+ return RuntimeEnabledFeatures::touchIconLoadingEnabled();
+}
+
void WebRuntimeFeatures::enableWebAnimationsCSS(bool enable)
{
RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698