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

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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 VisiblePosition modifyMovingForward(TextGranularity); 258 VisiblePosition modifyMovingForward(TextGranularity);
259 VisiblePosition modifyExtendingLeft(TextGranularity); 259 VisiblePosition modifyExtendingLeft(TextGranularity);
260 VisiblePosition modifyExtendingBackward(TextGranularity); 260 VisiblePosition modifyExtendingBackward(TextGranularity);
261 VisiblePosition modifyMovingLeft(TextGranularity); 261 VisiblePosition modifyMovingLeft(TextGranularity);
262 VisiblePosition modifyMovingBackward(TextGranularity); 262 VisiblePosition modifyMovingBackward(TextGranularity);
263 263
264 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType); 264 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType);
265 265
266 void notifyAccessibilityForSelectionChange(); 266 void notifyAccessibilityForSelectionChange();
267 void notifyCompositorForSelectionChange(); 267 void notifyCompositorForSelectionChange();
268 void notifyEventHandlerForSelectionChange();
268 269
269 void focusedOrActiveStateChanged(); 270 void focusedOrActiveStateChanged();
270 271
271 void caretBlinkTimerFired(Timer<FrameSelection>*); 272 void caretBlinkTimerFired(Timer<FrameSelection>*);
272 273
273 void setUseSecureKeyboardEntry(bool); 274 void setUseSecureKeyboardEntry(bool);
274 275
275 void setCaretVisibility(CaretVisibility); 276 void setCaretVisibility(CaretVisibility);
276 bool shouldBlinkCaret() const; 277 bool shouldBlinkCaret() const;
277 278
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 } 335 }
335 } // namespace blink 336 } // namespace blink
336 337
337 #ifndef NDEBUG 338 #ifndef NDEBUG
338 // Outside the WebCore namespace for ease of invocation from gdb. 339 // Outside the WebCore namespace for ease of invocation from gdb.
339 void showTree(const blink::FrameSelection&); 340 void showTree(const blink::FrameSelection&);
340 void showTree(const blink::FrameSelection*); 341 void showTree(const blink::FrameSelection*);
341 #endif 342 #endif
342 343
343 #endif // FrameSelection_h 344 #endif // FrameSelection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698