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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.h

Issue 2344353003: Force preload=none and disable autoplay on lowend Android devices. (Closed)
Patch Set: Disable autoplay too. Created 4 years, 3 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: third_party/WebKit/Source/web/WebSettingsImpl.h
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.h b/third_party/WebKit/Source/web/WebSettingsImpl.h
index 396f50b2280855af85e945b939658ffc86715a2e..8f3a6c9793a51c0b05fc88871e38f5e663af0c11 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.h
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.h
@@ -97,6 +97,7 @@ public:
void setExperimentalWebGLEnabled(bool) override;
void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) override;
void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) override;
+ void setForcePreloadNoneForMediaElements(bool) override;
void setForceZeroLayoutHeight(bool) override;
void setFullscreenSupported(bool) override;
void setHistoryEntryRequiresUserGesture(bool) override;

Powered by Google App Engine
This is Rietveld 408576698