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

Side by Side Diff: third_party/WebKit/Source/web/WebSettingsImpl.h

Issue 2344353003: Force preload=none and disable autoplay on lowend Android devices. (Closed)
Patch Set: Fix enum namespace. 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void setDoubleTapToZoomEnabled(bool) override; 90 void setDoubleTapToZoomEnabled(bool) override;
91 void setDownloadableBinaryFontsEnabled(bool) override; 91 void setDownloadableBinaryFontsEnabled(bool) override;
92 void setEditingBehavior(EditingBehavior) override; 92 void setEditingBehavior(EditingBehavior) override;
93 void setEnableScrollAnimator(bool) override; 93 void setEnableScrollAnimator(bool) override;
94 void setEnableTouchAdjustment(bool) override; 94 void setEnableTouchAdjustment(bool) override;
95 bool multiTargetTapNotificationEnabled() override; 95 bool multiTargetTapNotificationEnabled() override;
96 void setMultiTargetTapNotificationEnabled(bool) override; 96 void setMultiTargetTapNotificationEnabled(bool) override;
97 void setExperimentalWebGLEnabled(bool) override; 97 void setExperimentalWebGLEnabled(bool) override;
98 void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) ov erride; 98 void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) ov erride;
99 void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) over ride; 99 void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) over ride;
100 void setForcePreloadNoneForMediaElements(bool) override;
100 void setForceZeroLayoutHeight(bool) override; 101 void setForceZeroLayoutHeight(bool) override;
101 void setFullscreenSupported(bool) override; 102 void setFullscreenSupported(bool) override;
102 void setHistoryEntryRequiresUserGesture(bool) override; 103 void setHistoryEntryRequiresUserGesture(bool) override;
103 void setHyperlinkAuditingEnabled(bool) override; 104 void setHyperlinkAuditingEnabled(bool) override;
104 void setIgnoreMainFrameOverflowHiddenQuirk(bool) override; 105 void setIgnoreMainFrameOverflowHiddenQuirk(bool) override;
105 void setImageAnimationPolicy(ImageAnimationPolicy) override; 106 void setImageAnimationPolicy(ImageAnimationPolicy) override;
106 void setImagesEnabled(bool) override; 107 void setImagesEnabled(bool) override;
107 void setInlineTextBoxAccessibilityEnabled(bool) override; 108 void setInlineTextBoxAccessibilityEnabled(bool) override;
108 void setInertVisualViewport(bool) override; 109 void setInertVisualViewport(bool) override;
109 void setJavaScriptCanAccessClipboard(bool) override; 110 void setJavaScriptCanAccessClipboard(bool) override;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool m_viewportMetaNonUserScalableQuirk; 230 bool m_viewportMetaNonUserScalableQuirk;
230 // This quirk is to maintain compatibility with Android apps built on 231 // This quirk is to maintain compatibility with Android apps built on
231 // the Android SDK prior to and including version 18. Presumably, this 232 // the Android SDK prior to and including version 18. Presumably, this
232 // can be removed any time after 2015. See http://crbug.com/313754. 233 // can be removed any time after 2015. See http://crbug.com/313754.
233 bool m_clobberUserAgentInitialScaleQuirk; 234 bool m_clobberUserAgentInitialScaleQuirk;
234 }; 235 };
235 236
236 } // namespace blink 237 } // namespace blink
237 238
238 #endif 239 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698