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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 virtual void setTouchEditingEnabled(bool) = 0; | 169 virtual void setTouchEditingEnabled(bool) = 0; |
170 virtual void setUnifiedTextCheckerEnabled(bool) = 0; | 170 virtual void setUnifiedTextCheckerEnabled(bool) = 0; |
171 virtual void setUnsafePluginPastingEnabled(bool) = 0; | 171 virtual void setUnsafePluginPastingEnabled(bool) = 0; |
172 virtual void setUserStyleSheetLocation(const WebURL&) = 0; | 172 virtual void setUserStyleSheetLocation(const WebURL&) = 0; |
173 virtual void setUsesEncodingDetector(bool) = 0; | 173 virtual void setUsesEncodingDetector(bool) = 0; |
174 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) = 0; | 174 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) = 0; |
175 virtual void setUseSolidColorScrollbars(bool) = 0; | 175 virtual void setUseSolidColorScrollbars(bool) = 0; |
176 virtual void setUseWideViewport(bool) = 0; | 176 virtual void setUseWideViewport(bool) = 0; |
177 virtual void setValidationMessageTimerMagnification(int) = 0; | 177 virtual void setValidationMessageTimerMagnification(int) = 0; |
178 virtual void setViewportEnabled(bool) = 0; | 178 virtual void setViewportEnabled(bool) = 0; |
| 179 virtual void setViewportMetaLayoutSizeQuirk(bool) = 0; |
179 virtual void setVisualWordMovementEnabled(bool) = 0; | 180 virtual void setVisualWordMovementEnabled(bool) = 0; |
180 virtual void setWebAudioEnabled(bool) = 0; | 181 virtual void setWebAudioEnabled(bool) = 0; |
181 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; | 182 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; |
182 virtual void setWebSecurityEnabled(bool) = 0; | 183 virtual void setWebSecurityEnabled(bool) = 0; |
183 virtual void setXSSAuditorEnabled(bool) = 0; | 184 virtual void setXSSAuditorEnabled(bool) = 0; |
184 | 185 |
185 // DEPRECATED: Delete after Chromium-side calls deleted. | 186 // DEPRECATED: Delete after Chromium-side calls deleted. |
186 void setApplyPageScaleFactorInCompositor(bool enabled) { } | 187 void setApplyPageScaleFactorInCompositor(bool enabled) { } |
187 void setApplyDefaultDeviceScaleFactorInCompositor(bool enabled) { } | 188 void setApplyDefaultDeviceScaleFactorInCompositor(bool enabled) { } |
188 void setFixedElementsLayoutRelativeToFrame(bool) { } | 189 void setFixedElementsLayoutRelativeToFrame(bool) { } |
189 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode
(enabled); } | 190 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode
(enabled); } |
190 | 191 |
191 protected: | 192 protected: |
192 ~WebSettings() { } | 193 ~WebSettings() { } |
193 }; | 194 }; |
194 | 195 |
195 } // namespace WebKit | 196 } // namespace WebKit |
196 | 197 |
197 #endif | 198 #endif |
OLD | NEW |