OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |