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

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, 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
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 VisiblePosition modifyMovingForward(TextGranularity); 246 VisiblePosition modifyMovingForward(TextGranularity);
247 VisiblePosition modifyExtendingLeft(TextGranularity); 247 VisiblePosition modifyExtendingLeft(TextGranularity);
248 VisiblePosition modifyExtendingBackward(TextGranularity); 248 VisiblePosition modifyExtendingBackward(TextGranularity);
249 VisiblePosition modifyMovingLeft(TextGranularity); 249 VisiblePosition modifyMovingLeft(TextGranularity);
250 VisiblePosition modifyMovingBackward(TextGranularity); 250 VisiblePosition modifyMovingBackward(TextGranularity);
251 251
252 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType); 252 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType);
253 253
254 void notifyAccessibilityForSelectionChange(); 254 void notifyAccessibilityForSelectionChange();
255 void notifyCompositorForSelectionChange(); 255 void notifyCompositorForSelectionChange();
256 void notifyEventHandlerForSelectionChange();
256 257
257 void focusedOrActiveStateChanged(); 258 void focusedOrActiveStateChanged();
258 259
259 void caretBlinkTimerFired(Timer<FrameSelection>*); 260 void caretBlinkTimerFired(Timer<FrameSelection>*);
260 261
261 void setUseSecureKeyboardEntry(bool); 262 void setUseSecureKeyboardEntry(bool);
262 263
263 void setCaretVisibility(CaretVisibility); 264 void setCaretVisibility(CaretVisibility);
264 bool shouldBlinkCaret() const; 265 bool shouldBlinkCaret() const;
265 266
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 } 317 }
317 } // namespace blink 318 } // namespace blink
318 319
319 #ifndef NDEBUG 320 #ifndef NDEBUG
320 // Outside the WebCore namespace for ease of invocation from gdb. 321 // Outside the WebCore namespace for ease of invocation from gdb.
321 void showTree(const blink::FrameSelection&); 322 void showTree(const blink::FrameSelection&);
322 void showTree(const blink::FrameSelection*); 323 void showTree(const blink::FrameSelection*);
323 #endif 324 #endif
324 325
325 #endif // FrameSelection_h 326 #endif // FrameSelection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698