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

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: 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void setAllowRunningOfInsecureContent(bool) override; 61 void setAllowRunningOfInsecureContent(bool) override;
62 void setAllowScriptsToCloseWindows(bool) override; 62 void setAllowScriptsToCloseWindows(bool) override;
63 void setAllowUniversalAccessFromFileURLs(bool) override; 63 void setAllowUniversalAccessFromFileURLs(bool) override;
64 void setAlwaysShowContextMenuOnTouch(bool) override; 64 void setAlwaysShowContextMenuOnTouch(bool) override;
65 void setAntialiased2dCanvasEnabled(bool) override; 65 void setAntialiased2dCanvasEnabled(bool) override;
66 void setAntialiasedClips2dCanvasEnabled(bool) override; 66 void setAntialiasedClips2dCanvasEnabled(bool) override;
67 void setAutoZoomFocusedNodeToLegibleScale(bool) override; 67 void setAutoZoomFocusedNodeToLegibleScale(bool) override;
68 void setBrowserSideNavigationEnabled(bool) override; 68 void setBrowserSideNavigationEnabled(bool) override;
69 void setClobberUserAgentInitialScaleQuirk(bool) override; 69 void setClobberUserAgentInitialScaleQuirk(bool) override;
70 void setCookieEnabled(bool) override; 70 void setCookieEnabled(bool) override;
71 void setCrossOriginMediaPlaybackRequiresUserGesture(bool) override;
71 void setNavigateOnDragDrop(bool) override; 72 void setNavigateOnDragDrop(bool) override;
72 void setCursiveFontFamily(const WebString&, 73 void setCursiveFontFamily(const WebString&,
73 UScriptCode = USCRIPT_COMMON) override; 74 UScriptCode = USCRIPT_COMMON) override;
74 void setDNSPrefetchingEnabled(bool) override; 75 void setDNSPrefetchingEnabled(bool) override;
75 void setDataSaverEnabled(bool) override; 76 void setDataSaverEnabled(bool) override;
76 void setDOMPasteAllowed(bool) override; 77 void setDOMPasteAllowed(bool) override;
77 void setDefaultFixedFontSize(int) override; 78 void setDefaultFixedFontSize(int) override;
78 void setDefaultFontSize(int) override; 79 void setDefaultFontSize(int) override;
79 void setDefaultTextEncodingName(const WebString&) override; 80 void setDefaultTextEncodingName(const WebString&) override;
80 void setDefaultVideoPosterURL(const WebString&) override; 81 void setDefaultVideoPosterURL(const WebString&) override;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 bool m_clobberUserAgentInitialScaleQuirk; 271 bool m_clobberUserAgentInitialScaleQuirk;
271 float m_expensiveBackgroundThrottlingCPUBudget; 272 float m_expensiveBackgroundThrottlingCPUBudget;
272 float m_expensiveBackgroundThrottlingInitialBudget; 273 float m_expensiveBackgroundThrottlingInitialBudget;
273 float m_expensiveBackgroundThrottlingMaxBudget; 274 float m_expensiveBackgroundThrottlingMaxBudget;
274 float m_expensiveBackgroundThrottlingMaxDelay; 275 float m_expensiveBackgroundThrottlingMaxDelay;
275 }; 276 };
276 277
277 } // namespace blink 278 } // namespace blink
278 279
279 #endif 280 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | third_party/WebKit/Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698