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

Side by Side Diff: Source/core/editing/FrameSelection.h

Issue 507533002: Fix to keep the selection of the text field in input element after setSelectionRange is called by d… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 VisiblePosition modifyMovingForward(TextGranularity); 239 VisiblePosition modifyMovingForward(TextGranularity);
240 VisiblePosition modifyExtendingLeft(TextGranularity); 240 VisiblePosition modifyExtendingLeft(TextGranularity);
241 VisiblePosition modifyExtendingBackward(TextGranularity); 241 VisiblePosition modifyExtendingBackward(TextGranularity);
242 VisiblePosition modifyMovingLeft(TextGranularity); 242 VisiblePosition modifyMovingLeft(TextGranularity);
243 VisiblePosition modifyMovingBackward(TextGranularity); 243 VisiblePosition modifyMovingBackward(TextGranularity);
244 244
245 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType); 245 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType);
246 246
247 void notifyAccessibilityForSelectionChange(); 247 void notifyAccessibilityForSelectionChange();
248 void notifyCompositorForSelectionChange(); 248 void notifyCompositorForSelectionChange();
249 void notifyEventHandlerForSelectionChange();
249 250
250 void focusedOrActiveStateChanged(); 251 void focusedOrActiveStateChanged();
251 252
252 void caretBlinkTimerFired(Timer<FrameSelection>*); 253 void caretBlinkTimerFired(Timer<FrameSelection>*);
253 254
254 void setUseSecureKeyboardEntry(bool); 255 void setUseSecureKeyboardEntry(bool);
255 256
256 void setCaretVisibility(CaretVisibility); 257 void setCaretVisibility(CaretVisibility);
257 bool shouldBlinkCaret() const; 258 bool shouldBlinkCaret() const;
258 259
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 } 310 }
310 } // namespace blink 311 } // namespace blink
311 312
312 #ifndef NDEBUG 313 #ifndef NDEBUG
313 // Outside the WebCore namespace for ease of invocation from gdb. 314 // Outside the WebCore namespace for ease of invocation from gdb.
314 void showTree(const blink::FrameSelection&); 315 void showTree(const blink::FrameSelection&);
315 void showTree(const blink::FrameSelection*); 316 void showTree(const blink::FrameSelection*);
316 #endif 317 #endif
317 318
318 #endif // FrameSelection_h 319 #endif // FrameSelection_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/setrangetext-within-events-expected.txt ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698