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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 virtual void setTextAutosizingEnabled(bool) = 0; | 157 virtual void setTextAutosizingEnabled(bool) = 0; |
158 virtual void setTextAutosizingFontScaleFactor(float) = 0; | 158 virtual void setTextAutosizingFontScaleFactor(float) = 0; |
159 virtual void setTextDirectionSubmenuInclusionBehaviorNeverIncluded() = 0; | 159 virtual void setTextDirectionSubmenuInclusionBehaviorNeverIncluded() = 0; |
160 virtual void setThreadedHTMLParser(bool) = 0; | 160 virtual void setThreadedHTMLParser(bool) = 0; |
161 virtual void setTouchDragDropEnabled(bool) = 0; | 161 virtual void setTouchDragDropEnabled(bool) = 0; |
162 virtual void setUnifiedTextCheckerEnabled(bool) = 0; | 162 virtual void setUnifiedTextCheckerEnabled(bool) = 0; |
163 virtual void setUnsafePluginPastingEnabled(bool) = 0; | 163 virtual void setUnsafePluginPastingEnabled(bool) = 0; |
164 virtual void setUserStyleSheetLocation(const WebURL&) = 0; | 164 virtual void setUserStyleSheetLocation(const WebURL&) = 0; |
165 virtual void setUsesEncodingDetector(bool) = 0; | 165 virtual void setUsesEncodingDetector(bool) = 0; |
166 virtual void setUsesPageCache(bool) = 0; | 166 virtual void setUsesPageCache(bool) = 0; |
| 167 virtual void setUseWideViewport(bool) = 0; |
167 virtual void setValidationMessageTimerMagnification(int) = 0; | 168 virtual void setValidationMessageTimerMagnification(int) = 0; |
168 virtual void setViewportEnabled(bool) = 0; | 169 virtual void setViewportEnabled(bool) = 0; |
169 virtual void setVisualWordMovementEnabled(bool) = 0; | 170 virtual void setVisualWordMovementEnabled(bool) = 0; |
170 virtual void setWebAudioEnabled(bool) = 0; | 171 virtual void setWebAudioEnabled(bool) = 0; |
171 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; | 172 virtual void setWebGLErrorsToConsoleEnabled(bool) = 0; |
172 virtual void setWebSecurityEnabled(bool) = 0; | 173 virtual void setWebSecurityEnabled(bool) = 0; |
173 virtual void setXSSAuditorEnabled(bool) = 0; | 174 virtual void setXSSAuditorEnabled(bool) = 0; |
174 | 175 |
175 // TODO(aelias): Delete after Chromium-side calls deleted. | 176 // TODO(aelias): Delete after Chromium-side calls deleted. |
176 void setApplyPageScaleFactorInCompositor(bool enabled) { } | 177 void setApplyPageScaleFactorInCompositor(bool enabled) { } |
177 void setApplyDefaultDeviceScaleFactorInCompositor(bool enabled) { } | 178 void setApplyDefaultDeviceScaleFactorInCompositor(bool enabled) { } |
178 | 179 |
179 protected: | 180 protected: |
180 ~WebSettings() { } | 181 ~WebSettings() { } |
181 }; | 182 }; |
182 | 183 |
183 } // namespace WebKit | 184 } // namespace WebKit |
184 | 185 |
185 #endif | 186 #endif |
OLD | NEW |