OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |