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: public/web/WebSettings.h

Issue 17391015: Add support for clicking to play/pause <video> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 months 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
« no previous file with comments | « Source/core/page/Settings.in ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual void setImagesEnabled(bool) = 0; 115 virtual void setImagesEnabled(bool) = 0;
116 virtual void setJavaEnabled(bool) = 0; 116 virtual void setJavaEnabled(bool) = 0;
117 virtual void setJavaScriptCanAccessClipboard(bool) = 0; 117 virtual void setJavaScriptCanAccessClipboard(bool) = 0;
118 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; 118 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0;
119 virtual void setJavaScriptEnabled(bool) = 0; 119 virtual void setJavaScriptEnabled(bool) = 0;
120 virtual void setLayoutFallbackWidth(int) = 0; 120 virtual void setLayoutFallbackWidth(int) = 0;
121 virtual void setLoadsImagesAutomatically(bool) = 0; 121 virtual void setLoadsImagesAutomatically(bool) = 0;
122 virtual void setLoadWithOverviewMode(bool) = 0; 122 virtual void setLoadWithOverviewMode(bool) = 0;
123 virtual void setLocalStorageEnabled(bool) = 0; 123 virtual void setLocalStorageEnabled(bool) = 0;
124 virtual void setMediaPlaybackRequiresUserGesture(bool) = 0; 124 virtual void setMediaPlaybackRequiresUserGesture(bool) = 0;
125 virtual void setClickToPlayPauseVideo(bool) = 0;
125 virtual void setMemoryInfoEnabled(bool) = 0; 126 virtual void setMemoryInfoEnabled(bool) = 0;
126 virtual void setMinimumAccelerated2dCanvasSize(int) = 0; 127 virtual void setMinimumAccelerated2dCanvasSize(int) = 0;
127 virtual void setMinimumFontSize(int) = 0; 128 virtual void setMinimumFontSize(int) = 0;
128 virtual void setMinimumLogicalFontSize(int) = 0; 129 virtual void setMinimumLogicalFontSize(int) = 0;
129 virtual void setMockScrollbarsEnabled(bool) = 0; 130 virtual void setMockScrollbarsEnabled(bool) = 0;
130 virtual void setNeedsSiteSpecificQuirks(bool) = 0; 131 virtual void setNeedsSiteSpecificQuirks(bool) = 0;
131 virtual void setOfflineWebApplicationCacheEnabled(bool) = 0; 132 virtual void setOfflineWebApplicationCacheEnabled(bool) = 0;
132 virtual void setOpenGLMultisamplingEnabled(bool) = 0; 133 virtual void setOpenGLMultisamplingEnabled(bool) = 0;
133 virtual void setPasswordEchoDurationInSeconds(double) = 0; 134 virtual void setPasswordEchoDurationInSeconds(double) = 0;
134 virtual void setPasswordEchoEnabled(bool) = 0; 135 virtual void setPasswordEchoEnabled(bool) = 0;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void setFixedElementsLayoutRelativeToFrame(bool) { } 180 void setFixedElementsLayoutRelativeToFrame(bool) { }
180 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); } 181 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); }
181 182
182 protected: 183 protected:
183 ~WebSettings() { } 184 ~WebSettings() { }
184 }; 185 };
185 186
186 } // namespace WebKit 187 } // namespace WebKit
187 188
188 #endif 189 #endif
OLDNEW
« no previous file with comments | « Source/core/page/Settings.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698