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

Side by Side Diff: third_party/WebKit/public/web/WebSettings.h

Issue 2344353003: Force preload=none and disable autoplay on lowend Android devices. (Closed)
Patch Set: Fix enum namespace. Created 4 years, 2 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 virtual void setDoubleTapToZoomEnabled(bool) = 0; 165 virtual void setDoubleTapToZoomEnabled(bool) = 0;
166 virtual void setDownloadableBinaryFontsEnabled(bool) = 0; 166 virtual void setDownloadableBinaryFontsEnabled(bool) = 0;
167 virtual void setEditingBehavior(EditingBehavior) = 0; 167 virtual void setEditingBehavior(EditingBehavior) = 0;
168 virtual void setEnableScrollAnimator(bool) = 0; 168 virtual void setEnableScrollAnimator(bool) = 0;
169 virtual void setEnableTouchAdjustment(bool) = 0; 169 virtual void setEnableTouchAdjustment(bool) = 0;
170 virtual bool multiTargetTapNotificationEnabled() = 0; 170 virtual bool multiTargetTapNotificationEnabled() = 0;
171 virtual void setMultiTargetTapNotificationEnabled(bool) = 0; 171 virtual void setMultiTargetTapNotificationEnabled(bool) = 0;
172 virtual void setExperimentalWebGLEnabled(bool) = 0; 172 virtual void setExperimentalWebGLEnabled(bool) = 0;
173 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0; 173 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0;
174 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0; 174 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0;
175 virtual void setForcePreloadNoneForMediaElements(bool) = 0;
175 virtual void setForceZeroLayoutHeight(bool) = 0; 176 virtual void setForceZeroLayoutHeight(bool) = 0;
176 virtual void setFullscreenSupported(bool) = 0; 177 virtual void setFullscreenSupported(bool) = 0;
177 virtual void setHistoryEntryRequiresUserGesture(bool) = 0; 178 virtual void setHistoryEntryRequiresUserGesture(bool) = 0;
178 virtual void setHyperlinkAuditingEnabled(bool) = 0; 179 virtual void setHyperlinkAuditingEnabled(bool) = 0;
179 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; 180 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0;
180 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0; 181 virtual void setImageAnimationPolicy(ImageAnimationPolicy) = 0;
181 virtual void setImagesEnabled(bool) = 0; 182 virtual void setImagesEnabled(bool) = 0;
182 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; 183 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0;
183 virtual void setInertVisualViewport(bool) = 0; 184 virtual void setInertVisualViewport(bool) = 0;
184 virtual void setJavaScriptCanAccessClipboard(bool) = 0; 185 virtual void setJavaScriptCanAccessClipboard(bool) = 0;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 virtual void setWideViewportQuirkEnabled(bool) = 0; 278 virtual void setWideViewportQuirkEnabled(bool) = 0;
278 virtual void setXSSAuditorEnabled(bool) = 0; 279 virtual void setXSSAuditorEnabled(bool) = 0;
279 280
280 protected: 281 protected:
281 ~WebSettings() { } 282 ~WebSettings() { }
282 }; 283 };
283 284
284 } // namespace blink 285 } // namespace blink
285 286
286 #endif 287 #endif
OLDNEW
« content/renderer/render_view_impl.cc ('K') | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698