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

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

Issue 50433002: Fix dragging text inside a input element nested in a draggable element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Better names and comments Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/DragController.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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 void setLastKnownMousePosition(const PlatformMouseEvent&); 294 void setLastKnownMousePosition(const PlatformMouseEvent&);
295 295
296 Frame* const m_frame; 296 Frame* const m_frame;
297 297
298 bool m_mousePressed; 298 bool m_mousePressed;
299 bool m_capturesDragging; 299 bool m_capturesDragging;
300 RefPtr<Node> m_mousePressNode; 300 RefPtr<Node> m_mousePressNode;
301 301
302 bool m_mouseDownMayStartSelect; 302 bool m_mouseDownMayStartSelect;
303 bool m_mouseDownMayStartDrag; 303 bool m_mouseDownMayStartDrag;
304 bool m_dragMayStartSelectionInstead;
305 bool m_mouseDownWasSingleClickInSelection; 304 bool m_mouseDownWasSingleClickInSelection;
306 enum SelectionInitiationState { HaveNotStartedSelection, PlacedCaret, Extend edSelection }; 305 enum SelectionInitiationState { HaveNotStartedSelection, PlacedCaret, Extend edSelection };
307 SelectionInitiationState m_selectionInitiationState; 306 SelectionInitiationState m_selectionInitiationState;
308 307
309 LayoutPoint m_dragStartPos; 308 LayoutPoint m_dragStartPos;
310 309
311 bool m_panScrollButtonPressed; 310 bool m_panScrollButtonPressed;
312 311
313 Timer<EventHandler> m_hoverTimer; 312 Timer<EventHandler> m_hoverTimer;
314 Timer<EventHandler> m_cursorUpdateTimer; 313 Timer<EventHandler> m_cursorUpdateTimer;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 bool m_longTapShouldInvokeContextMenu; 373 bool m_longTapShouldInvokeContextMenu;
375 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorCss; 374 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorCss;
376 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorDip; 375 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorDip;
377 OwnPtr<IntPoint> m_lastSyntheticPanLocation; 376 OwnPtr<IntPoint> m_lastSyntheticPanLocation;
378 float m_syntheticPageScaleFactor; 377 float m_syntheticPageScaleFactor;
379 }; 378 };
380 379
381 } // namespace WebCore 380 } // namespace WebCore
382 381
383 #endif // EventHandler_h 382 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « Source/core/page/DragController.cpp ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698