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

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: 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 virtual void setLoadsImagesAutomatically(bool) = 0; 195 virtual void setLoadsImagesAutomatically(bool) = 0;
196 virtual void setLoadWithOverviewMode(bool) = 0; 196 virtual void setLoadWithOverviewMode(bool) = 0;
197 virtual void setShouldReuseGlobalForUnownedMainFrame(bool) = 0; 197 virtual void setShouldReuseGlobalForUnownedMainFrame(bool) = 0;
198 virtual void setProgressBarCompletion(ProgressBarCompletion) = 0; 198 virtual void setProgressBarCompletion(ProgressBarCompletion) = 0;
199 virtual void setLocalStorageEnabled(bool) = 0; 199 virtual void setLocalStorageEnabled(bool) = 0;
200 virtual void setMainFrameClipsContent(bool) = 0; 200 virtual void setMainFrameClipsContent(bool) = 0;
201 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0; 201 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0;
202 virtual void setMaxTouchPoints(int) = 0; 202 virtual void setMaxTouchPoints(int) = 0;
203 virtual void setMediaControlsOverlayPlayButtonEnabled(bool) = 0; 203 virtual void setMediaControlsOverlayPlayButtonEnabled(bool) = 0;
204 virtual void setMediaPlaybackRequiresUserGesture(bool) = 0; 204 virtual void setMediaPlaybackRequiresUserGesture(bool) = 0;
205 virtual void setMediaPlaybackInCrossOriginIframesRequiresUserGesture(
206 bool) = 0;
205 virtual void setPresentationRequiresUserGesture(bool) = 0; 207 virtual void setPresentationRequiresUserGesture(bool) = 0;
206 virtual void setMinimumAccelerated2dCanvasSize(int) = 0; 208 virtual void setMinimumAccelerated2dCanvasSize(int) = 0;
207 virtual void setMinimumFontSize(int) = 0; 209 virtual void setMinimumFontSize(int) = 0;
208 virtual void setMinimumLogicalFontSize(int) = 0; 210 virtual void setMinimumLogicalFontSize(int) = 0;
209 virtual void setMockScrollbarsEnabled(bool) = 0; 211 virtual void setMockScrollbarsEnabled(bool) = 0;
210 virtual void setHideScrollbars(bool) = 0; 212 virtual void setHideScrollbars(bool) = 0;
211 virtual void setOfflineWebApplicationCacheEnabled(bool) = 0; 213 virtual void setOfflineWebApplicationCacheEnabled(bool) = 0;
212 virtual void setPassiveEventListenerDefault(PassiveEventListenerDefault) = 0; 214 virtual void setPassiveEventListenerDefault(PassiveEventListenerDefault) = 0;
213 virtual void setPasswordEchoDurationInSeconds(double) = 0; 215 virtual void setPasswordEchoDurationInSeconds(double) = 0;
214 virtual void setPasswordEchoEnabled(bool) = 0; 216 virtual void setPasswordEchoEnabled(bool) = 0;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 virtual void setExpensiveBackgroundThrottlingMaxBudget(float) = 0; 297 virtual void setExpensiveBackgroundThrottlingMaxBudget(float) = 0;
296 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0; 298 virtual void setExpensiveBackgroundThrottlingMaxDelay(float) = 0;
297 299
298 protected: 300 protected:
299 ~WebSettings() {} 301 ~WebSettings() {}
300 }; 302 };
301 303
302 } // namespace blink 304 } // namespace blink
303 305
304 #endif 306 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698