OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 settings->setAccelerated2dCanvasEnabled(accelerated2dCanvasEnabled); | 188 settings->setAccelerated2dCanvasEnabled(accelerated2dCanvasEnabled); |
189 settings->setPerTilePaintingEnabled(perTilePaintingEnabled); | 189 settings->setPerTilePaintingEnabled(perTilePaintingEnabled); |
190 settings->setDeferredImageDecodingEnabled(deferredImageDecodingEnabled); | 190 settings->setDeferredImageDecodingEnabled(deferredImageDecodingEnabled); |
191 settings->setMediaPlaybackRequiresUserGesture(mediaPlaybackRequiresUserGestu
re); | 191 settings->setMediaPlaybackRequiresUserGesture(mediaPlaybackRequiresUserGestu
re); |
192 settings->setMockScrollbarsEnabled(mockScrollbarsEnabled); | 192 settings->setMockScrollbarsEnabled(mockScrollbarsEnabled); |
193 settings->setShouldRespectImageOrientation(shouldRespectImageOrientation); | 193 settings->setShouldRespectImageOrientation(shouldRespectImageOrientation); |
194 settings->setAsynchronousSpellCheckingEnabled(asynchronousSpellCheckingEnabl
ed); | 194 settings->setAsynchronousSpellCheckingEnabled(asynchronousSpellCheckingEnabl
ed); |
195 | 195 |
196 // Fixed values. | 196 // Fixed values. |
197 settings->setTouchDragDropEnabled(false); | 197 settings->setTouchDragDropEnabled(false); |
| 198 settings->setTouchEditingEnabled(false); |
198 settings->setTextDirectionSubmenuInclusionBehaviorNeverIncluded(); | 199 settings->setTextDirectionSubmenuInclusionBehaviorNeverIncluded(); |
199 settings->setDownloadableBinaryFontsEnabled(true); | 200 settings->setDownloadableBinaryFontsEnabled(true); |
200 settings->setAllowScriptsToCloseWindows(false); | 201 settings->setAllowScriptsToCloseWindows(false); |
201 settings->setNeedsSiteSpecificQuirks(true); | 202 settings->setNeedsSiteSpecificQuirks(true); |
202 settings->setEditableLinkBehaviorNeverLive(); | 203 settings->setEditableLinkBehaviorNeverLive(); |
203 settings->setEnableScrollAnimator(false); | 204 settings->setEnableScrollAnimator(false); |
204 settings->setFontRenderingModeNormal(); | 205 settings->setFontRenderingModeNormal(); |
205 settings->setTextDirectionSubmenuInclusionBehaviorNeverIncluded(); | 206 settings->setTextDirectionSubmenuInclusionBehaviorNeverIncluded(); |
206 settings->setUsesEncodingDetector(false); | 207 settings->setUsesEncodingDetector(false); |
207 settings->setImagesEnabled(true); | 208 settings->setImagesEnabled(true); |
208 settings->setInteractiveFormValidationEnabled(true); | 209 settings->setInteractiveFormValidationEnabled(true); |
209 // Enable fullscreen so the fullscreen layout tests can run. | 210 // Enable fullscreen so the fullscreen layout tests can run. |
210 settings->setFullScreenEnabled(true); | 211 settings->setFullScreenEnabled(true); |
211 settings->setValidationMessageTimerMagnification(-1); | 212 settings->setValidationMessageTimerMagnification(-1); |
212 settings->setVisualWordMovementEnabled(false); | 213 settings->setVisualWordMovementEnabled(false); |
213 settings->setPasswordEchoEnabled(false); | 214 settings->setPasswordEchoEnabled(false); |
214 settings->setSmartInsertDeleteEnabled(true); | 215 settings->setSmartInsertDeleteEnabled(true); |
215 #ifdef WIN32 | 216 #ifdef WIN32 |
216 settings->setSelectTrailingWhitespaceEnabled(true); | 217 settings->setSelectTrailingWhitespaceEnabled(true); |
217 #else | 218 #else |
218 settings->setSelectTrailingWhitespaceEnabled(false); | 219 settings->setSelectTrailingWhitespaceEnabled(false); |
219 #endif | 220 #endif |
220 } | 221 } |
221 | 222 |
222 } | 223 } |
OLD | NEW |