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

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: Some layout tests 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
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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 void setLastKnownMousePosition(const PlatformMouseEvent&); 296 void setLastKnownMousePosition(const PlatformMouseEvent&);
297 297
298 Frame* const m_frame; 298 Frame* const m_frame;
299 299
300 bool m_mousePressed; 300 bool m_mousePressed;
301 bool m_capturesDragging; 301 bool m_capturesDragging;
302 RefPtr<Node> m_mousePressNode; 302 RefPtr<Node> m_mousePressNode;
303 303
304 bool m_mouseDownMayStartSelect; 304 bool m_mouseDownMayStartSelect;
305 bool m_mouseDownMayStartDrag; 305 bool m_mouseDownMayStartDrag;
306 bool m_dragMayStartSelectionInstead;
307 bool m_mouseDownWasSingleClickInSelection; 306 bool m_mouseDownWasSingleClickInSelection;
308 enum SelectionInitiationState { HaveNotStartedSelection, PlacedCaret, Extend edSelection }; 307 enum SelectionInitiationState { HaveNotStartedSelection, PlacedCaret, Extend edSelection };
309 SelectionInitiationState m_selectionInitiationState; 308 SelectionInitiationState m_selectionInitiationState;
310 309
311 LayoutPoint m_dragStartPos; 310 LayoutPoint m_dragStartPos;
312 311
313 bool m_panScrollButtonPressed; 312 bool m_panScrollButtonPressed;
314 313
315 Timer<EventHandler> m_hoverTimer; 314 Timer<EventHandler> m_hoverTimer;
316 Timer<EventHandler> m_cursorUpdateTimer; 315 Timer<EventHandler> m_cursorUpdateTimer;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 bool m_longTapShouldInvokeContextMenu; 375 bool m_longTapShouldInvokeContextMenu;
377 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorCss; 376 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorCss;
378 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorDip; 377 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorDip;
379 OwnPtr<IntPoint> m_lastSyntheticPanLocation; 378 OwnPtr<IntPoint> m_lastSyntheticPanLocation;
380 float m_syntheticPageScaleFactor; 379 float m_syntheticPageScaleFactor;
381 }; 380 };
382 381
383 } // namespace WebCore 382 } // namespace WebCore
384 383
385 #endif // EventHandler_h 384 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698