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

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: fix the indentation of HTML document Created 6 years, 4 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 VisiblePosition modifyMovingForward(TextGranularity); 238 VisiblePosition modifyMovingForward(TextGranularity);
239 VisiblePosition modifyExtendingLeft(TextGranularity); 239 VisiblePosition modifyExtendingLeft(TextGranularity);
240 VisiblePosition modifyExtendingBackward(TextGranularity); 240 VisiblePosition modifyExtendingBackward(TextGranularity);
241 VisiblePosition modifyMovingLeft(TextGranularity); 241 VisiblePosition modifyMovingLeft(TextGranularity);
242 VisiblePosition modifyMovingBackward(TextGranularity); 242 VisiblePosition modifyMovingBackward(TextGranularity);
243 243
244 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType); 244 LayoutUnit lineDirectionPointForBlockDirectionNavigation(EPositionType);
245 245
246 void notifyAccessibilityForSelectionChange(); 246 void notifyAccessibilityForSelectionChange();
247 void notifyCompositorForSelectionChange(); 247 void notifyCompositorForSelectionChange();
248 void notifyEventHandlerrForSelectionChange();
yosin_UTC9 2014/08/26 03:55:08 nit: Extra "r" in Handlerr notifyEventHandlerrForS
248 249
249 void focusedOrActiveStateChanged(); 250 void focusedOrActiveStateChanged();
250 251
251 void caretBlinkTimerFired(Timer<FrameSelection>*); 252 void caretBlinkTimerFired(Timer<FrameSelection>*);
252 253
253 void setUseSecureKeyboardEntry(bool); 254 void setUseSecureKeyboardEntry(bool);
254 255
255 void setCaretVisibility(CaretVisibility); 256 void setCaretVisibility(CaretVisibility);
256 bool shouldBlinkCaret() const; 257 bool shouldBlinkCaret() const;
257 258
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 } 309 }
309 } // namespace blink 310 } // namespace blink
310 311
311 #ifndef NDEBUG 312 #ifndef NDEBUG
312 // Outside the WebCore namespace for ease of invocation from gdb. 313 // Outside the WebCore namespace for ease of invocation from gdb.
313 void showTree(const blink::FrameSelection&); 314 void showTree(const blink::FrameSelection&);
314 void showTree(const blink::FrameSelection*); 315 void showTree(const blink::FrameSelection*);
315 #endif 316 #endif
316 317
317 #endif // FrameSelection_h 318 #endif // FrameSelection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698