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

Side by Side Diff: Source/core/page/EventHandler.h

Issue 548413002: Revert of Fix to keep the selection of the text field in input element after setSelectionRange... (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/editing/FrameSelection.cpp ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 void focusDocumentView(); 188 void focusDocumentView();
189 189
190 void capsLockStateMayHaveChanged(); // Only called by FrameSelection 190 void capsLockStateMayHaveChanged(); // Only called by FrameSelection
191 191
192 bool handleTouchEvent(const PlatformTouchEvent&); 192 bool handleTouchEvent(const PlatformTouchEvent&);
193 193
194 bool useHandCursor(Node*, bool isOverLink); 194 bool useHandCursor(Node*, bool isOverLink);
195 195
196 void notifyElementActivated(); 196 void notifyElementActivated();
197 void notifySelectionChanged();
198 197
199 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_last MouseDownUserGestureToken.release(); } 198 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_last MouseDownUserGestureToken.release(); }
200 199
201 private: 200 private:
202 static DragState& dragState(); 201 static DragState& dragState();
203 202
204 PassRefPtrWillBeRawPtr<DataTransfer> createDraggingDataTransfer() const; 203 PassRefPtrWillBeRawPtr<DataTransfer> createDraggingDataTransfer() const;
205 204
206 bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleS election&, TextGranularity); 205 bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleS election&, TextGranularity);
207 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing Whitespace); 206 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing Whitespace);
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 bool m_longTapShouldInvokeContextMenu; 402 bool m_longTapShouldInvokeContextMenu;
404 403
405 Timer<EventHandler> m_activeIntervalTimer; 404 Timer<EventHandler> m_activeIntervalTimer;
406 double m_lastShowPressTimestamp; 405 double m_lastShowPressTimestamp;
407 RefPtrWillBeMember<Element> m_lastDeferredTapElement; 406 RefPtrWillBeMember<Element> m_lastDeferredTapElement;
408 }; 407 };
409 408
410 } // namespace blink 409 } // namespace blink
411 410
412 #endif // EventHandler_h 411 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « Source/core/editing/FrameSelection.cpp ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698