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

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

Issue 2496593002: Adding an experimental flag to block autoplay with sound in cross-origin iframes (Closed)
Patch Set: falling back to adding a boolean flag Created 4 years, 1 month 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void setAllowScriptsToCloseWindows(bool) override; 63 void setAllowScriptsToCloseWindows(bool) override;
64 void setAllowUniversalAccessFromFileURLs(bool) override; 64 void setAllowUniversalAccessFromFileURLs(bool) override;
65 void setAlwaysShowContextMenuOnTouch(bool) override; 65 void setAlwaysShowContextMenuOnTouch(bool) override;
66 void setAntialiased2dCanvasEnabled(bool) override; 66 void setAntialiased2dCanvasEnabled(bool) override;
67 void setAntialiasedClips2dCanvasEnabled(bool) override; 67 void setAntialiasedClips2dCanvasEnabled(bool) override;
68 void setAutoplayExperimentMode(const WebString&) override; 68 void setAutoplayExperimentMode(const WebString&) override;
69 void setAutoZoomFocusedNodeToLegibleScale(bool) override; 69 void setAutoZoomFocusedNodeToLegibleScale(bool) override;
70 void setBrowserSideNavigationEnabled(bool) override; 70 void setBrowserSideNavigationEnabled(bool) override;
71 void setClobberUserAgentInitialScaleQuirk(bool) override; 71 void setClobberUserAgentInitialScaleQuirk(bool) override;
72 void setCookieEnabled(bool) override; 72 void setCookieEnabled(bool) override;
73 void setCrossOriginMediaPlaybackRequiresUserGesture(bool) override;
73 void setNavigateOnDragDrop(bool) override; 74 void setNavigateOnDragDrop(bool) override;
74 void setCursiveFontFamily(const WebString&, 75 void setCursiveFontFamily(const WebString&,
75 UScriptCode = USCRIPT_COMMON) override; 76 UScriptCode = USCRIPT_COMMON) override;
76 void setDNSPrefetchingEnabled(bool) override; 77 void setDNSPrefetchingEnabled(bool) override;
77 void setDataSaverEnabled(bool) override; 78 void setDataSaverEnabled(bool) override;
78 void setDOMPasteAllowed(bool) override; 79 void setDOMPasteAllowed(bool) override;
79 void setDefaultFixedFontSize(int) override; 80 void setDefaultFixedFontSize(int) override;
80 void setDefaultFontSize(int) override; 81 void setDefaultFontSize(int) override;
81 void setDefaultTextEncodingName(const WebString&) override; 82 void setDefaultTextEncodingName(const WebString&) override;
82 void setDefaultVideoPosterURL(const WebString&) override; 83 void setDefaultVideoPosterURL(const WebString&) override;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 bool m_clobberUserAgentInitialScaleQuirk; 272 bool m_clobberUserAgentInitialScaleQuirk;
272 float m_expensiveBackgroundThrottlingCPUBudget; 273 float m_expensiveBackgroundThrottlingCPUBudget;
273 float m_expensiveBackgroundThrottlingInitialBudget; 274 float m_expensiveBackgroundThrottlingInitialBudget;
274 float m_expensiveBackgroundThrottlingMaxBudget; 275 float m_expensiveBackgroundThrottlingMaxBudget;
275 float m_expensiveBackgroundThrottlingMaxDelay; 276 float m_expensiveBackgroundThrottlingMaxDelay;
276 }; 277 };
277 278
278 } // namespace blink 279 } // namespace blink
279 280
280 #endif 281 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698