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

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: 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void setLoadsImagesAutomatically(bool) override; 116 void setLoadsImagesAutomatically(bool) override;
117 void setLoadWithOverviewMode(bool) override; 117 void setLoadWithOverviewMode(bool) override;
118 void setShouldReuseGlobalForUnownedMainFrame(bool) override; 118 void setShouldReuseGlobalForUnownedMainFrame(bool) override;
119 void setProgressBarCompletion(ProgressBarCompletion) override; 119 void setProgressBarCompletion(ProgressBarCompletion) override;
120 void setLocalStorageEnabled(bool) override; 120 void setLocalStorageEnabled(bool) override;
121 void setMainFrameClipsContent(bool) override; 121 void setMainFrameClipsContent(bool) override;
122 void setMainFrameResizesAreOrientationChanges(bool) override; 122 void setMainFrameResizesAreOrientationChanges(bool) override;
123 void setMaxTouchPoints(int) override; 123 void setMaxTouchPoints(int) override;
124 void setMediaControlsOverlayPlayButtonEnabled(bool) override; 124 void setMediaControlsOverlayPlayButtonEnabled(bool) override;
125 void setMediaPlaybackRequiresUserGesture(bool) override; 125 void setMediaPlaybackRequiresUserGesture(bool) override;
126 void setMediaPlaybackInCrossOriginIframesRequiresUserGesture(bool) override;
126 void setPresentationRequiresUserGesture(bool) override; 127 void setPresentationRequiresUserGesture(bool) override;
127 void setMinimumAccelerated2dCanvasSize(int) override; 128 void setMinimumAccelerated2dCanvasSize(int) override;
128 void setMinimumFontSize(int) override; 129 void setMinimumFontSize(int) override;
129 void setMinimumLogicalFontSize(int) override; 130 void setMinimumLogicalFontSize(int) override;
130 void setMockScrollbarsEnabled(bool) override; 131 void setMockScrollbarsEnabled(bool) override;
131 void setHideScrollbars(bool) override; 132 void setHideScrollbars(bool) override;
132 void setOfflineWebApplicationCacheEnabled(bool) override; 133 void setOfflineWebApplicationCacheEnabled(bool) override;
133 void setPassiveEventListenerDefault(PassiveEventListenerDefault) override; 134 void setPassiveEventListenerDefault(PassiveEventListenerDefault) override;
134 void setPasswordEchoDurationInSeconds(double) override; 135 void setPasswordEchoDurationInSeconds(double) override;
135 void setPasswordEchoEnabled(bool) override; 136 void setPasswordEchoEnabled(bool) override;
(...skipping 135 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