Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: Tools/DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp

Issue 14089009: Change long press behavior when touch text selection is enabled: (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« Source/WebCore/page/EventHandler.cpp ('K') | « Source/WebKit/chromium/src/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698