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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 virtual void setUnsafePluginPastingEnabled(bool) = 0; | 177 virtual void setUnsafePluginPastingEnabled(bool) = 0; |
178 virtual void setUserStyleSheetLocation(const WebURL&) = 0; | 178 virtual void setUserStyleSheetLocation(const WebURL&) = 0; |
179 virtual void setUsesEncodingDetector(bool) = 0; | 179 virtual void setUsesEncodingDetector(bool) = 0; |
180 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) = 0; | 180 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) = 0; |
181 virtual void setUseSolidColorScrollbars(bool) = 0; | 181 virtual void setUseSolidColorScrollbars(bool) = 0; |
182 virtual void setUseWideViewport(bool) = 0; | 182 virtual void setUseWideViewport(bool) = 0; |
183 virtual void setValidationMessageTimerMagnification(int) = 0; | 183 virtual void setValidationMessageTimerMagnification(int) = 0; |
184 virtual void setViewportEnabled(bool) = 0; | 184 virtual void setViewportEnabled(bool) = 0; |
185 virtual void setViewportMetaLayoutSizeQuirk(bool) = 0; | 185 virtual void setViewportMetaLayoutSizeQuirk(bool) = 0; |
186 virtual void setViewportMetaMergeContentQuirk(bool) = 0; | 186 virtual void setViewportMetaMergeContentQuirk(bool) = 0; |
| 187 virtual void setViewportMetaNonUserScalableQuirk(bool) = 0; |
187 virtual void setViewportMetaZeroValuesQuirk(bool) = 0; | 188 virtual void setViewportMetaZeroValuesQuirk(bool) = 0; |
188 virtual void setVisualWordMovementEnabled(bool) = 0; | 189 virtual void setVisualWordMovementEnabled(bool) = 0; |
189 virtual void setWebAudioEnabled(bool) = 0; | 190 virtual void setWebAudioEnabled(bool) = 0; |
190 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; | 191 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; |
191 virtual void setWebSecurityEnabled(bool) = 0; | 192 virtual void setWebSecurityEnabled(bool) = 0; |
192 virtual void setWideViewportQuirkEnabled(bool) = 0; | 193 virtual void setWideViewportQuirkEnabled(bool) = 0; |
193 virtual void setXSSAuditorEnabled(bool) = 0; | 194 virtual void setXSSAuditorEnabled(bool) = 0; |
194 | 195 |
195 // DEPRECATED: Delete after Chromium-side calls deleted. | 196 // DEPRECATED: Delete after Chromium-side calls deleted. |
196 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode
(enabled); } | 197 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode
(enabled); } |
197 | 198 |
198 protected: | 199 protected: |
199 ~WebSettings() { } | 200 ~WebSettings() { } |
200 }; | 201 }; |
201 | 202 |
202 } // namespace WebKit | 203 } // namespace WebKit |
203 | 204 |
204 #endif | 205 #endif |
OLD | NEW |