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

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

Issue 1049233003: Keep the selection of the text field when changed by JS. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 VisiblePosition modifyMovingForward(TextGranularity); 262 VisiblePosition modifyMovingForward(TextGranularity);
263 VisiblePosition modifyExtendingLeft(TextGranularity); 263 VisiblePosition modifyExtendingLeft(TextGranularity);
264 VisiblePosition modifyExtendingBackward(TextGranularity); 264 VisiblePosition modifyExtendingBackward(TextGranularity);
265 VisiblePosition modifyMovingLeft(TextGranularity); 265 VisiblePosition modifyMovingLeft(TextGranularity);
266 VisiblePosition modifyMovingBackward(TextGranularity); 266 VisiblePosition modifyMovingBackward(TextGranularity);
267 267
268 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType); 268 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType);
269 269
270 void notifyAccessibilityForSelectionChange(); 270 void notifyAccessibilityForSelectionChange();
271 void notifyCompositorForSelectionChange(); 271 void notifyCompositorForSelectionChange();
272 void notifyEventHandlerForSelectionChange();
272 273
273 void focusedOrActiveStateChanged(); 274 void focusedOrActiveStateChanged();
274 275
275 void caretBlinkTimerFired(Timer<FrameSelection>*); 276 void caretBlinkTimerFired(Timer<FrameSelection>*);
276 277
277 void setUseSecureKeyboardEntry(bool); 278 void setUseSecureKeyboardEntry(bool);
278 279
279 void setCaretVisibility(CaretVisibility); 280 void setCaretVisibility(CaretVisibility);
280 bool shouldBlinkCaret() const; 281 bool shouldBlinkCaret() const;
281 282
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 } 339 }
339 } // namespace blink 340 } // namespace blink
340 341
341 #ifndef NDEBUG 342 #ifndef NDEBUG
342 // Outside the WebCore namespace for ease of invocation from gdb. 343 // Outside the WebCore namespace for ease of invocation from gdb.
343 void showTree(const blink::FrameSelection&); 344 void showTree(const blink::FrameSelection&);
344 void showTree(const blink::FrameSelection*); 345 void showTree(const blink::FrameSelection*);
345 #endif 346 #endif
346 347
347 #endif // FrameSelection_h 348 #endif // FrameSelection_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/setrangetext-within-events.html ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698