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

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

Issue 2496593002: Adding an experimental flag to block autoplay with sound in cross-origin iframes (Closed)
Patch Set: nits Created 4 years 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 virtual void setAllowRunningOfInsecureContent(bool) = 0; 142 virtual void setAllowRunningOfInsecureContent(bool) = 0;
143 virtual void setAllowScriptsToCloseWindows(bool) = 0; 143 virtual void setAllowScriptsToCloseWindows(bool) = 0;
144 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; 144 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0;
145 virtual void setAlwaysShowContextMenuOnTouch(bool) = 0; 145 virtual void setAlwaysShowContextMenuOnTouch(bool) = 0;
146 virtual void setAntialiased2dCanvasEnabled(bool) = 0; 146 virtual void setAntialiased2dCanvasEnabled(bool) = 0;
147 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0; 147 virtual void setAntialiasedClips2dCanvasEnabled(bool) = 0;
148 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; 148 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0;
149 virtual void setBrowserSideNavigationEnabled(bool) = 0; 149 virtual void setBrowserSideNavigationEnabled(bool) = 0;
150 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; 150 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0;
151 virtual void setCookieEnabled(bool) = 0; 151 virtual void setCookieEnabled(bool) = 0;
152 virtual void setCrossOriginMediaPlaybackRequiresUserGesture(bool) = 0;
152 virtual void setNavigateOnDragDrop(bool) = 0; 153 virtual void setNavigateOnDragDrop(bool) = 0;
153 virtual void setCursiveFontFamily(const WebString&, 154 virtual void setCursiveFontFamily(const WebString&,
154 UScriptCode = USCRIPT_COMMON) = 0; 155 UScriptCode = USCRIPT_COMMON) = 0;
155 virtual void setDNSPrefetchingEnabled(bool) = 0; 156 virtual void setDNSPrefetchingEnabled(bool) = 0;
156 virtual void setDataSaverEnabled(bool) = 0; 157 virtual void setDataSaverEnabled(bool) = 0;
157 virtual void setDOMPasteAllowed(bool) = 0; 158 virtual void setDOMPasteAllowed(bool) = 0;
158 virtual void setDefaultFixedFontSize(int) = 0; 159 virtual void setDefaultFixedFontSize(int) = 0;
159 virtual void setDefaultFontSize(int) = 0; 160 virtual void setDefaultFontSize(int) = 0;
160 virtual void setDefaultTextEncodingName(const WebString&) = 0; 161 virtual void setDefaultTextEncodingName(const WebString&) = 0;
161 virtual void setDefaultVideoPosterURL(const WebString&) = 0; 162 virtual void setDefaultVideoPosterURL(const WebString&) = 0;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 virtual void setExpensiveBackgroundThrottlingMaxBudget(float) = 0; 296 virtual void setExpensiveBackgroundThrottlingMaxBudget(float) = 0;
296 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0; 297 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0;
297 298
298 protected: 299 protected:
299 ~WebSettings() {} 300 ~WebSettings() {}
300 }; 301 };
301 302
302 } // namespace blink 303 } // namespace blink
303 304
304 #endif 305 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698