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

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

Issue 11975006: Merge 139419 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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) 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 19 matching lines...) Expand all
30 #include "DragActions.h" 30 #include "DragActions.h"
31 #include "DragState.h" 31 #include "DragState.h"
32 #include "FocusDirection.h" 32 #include "FocusDirection.h"
33 #include "HitTestRequest.h" 33 #include "HitTestRequest.h"
34 #include "PlatformMouseEvent.h" 34 #include "PlatformMouseEvent.h"
35 #include "PlatformWheelEvent.h" 35 #include "PlatformWheelEvent.h"
36 #include "ScrollTypes.h" 36 #include "ScrollTypes.h"
37 #include "TextEventInputType.h" 37 #include "TextEventInputType.h"
38 #include "TextGranularity.h" 38 #include "TextGranularity.h"
39 #include "Timer.h" 39 #include "Timer.h"
40 #include "UserGestureIndicator.h"
40 #include <wtf/Forward.h> 41 #include <wtf/Forward.h>
41 #include <wtf/OwnPtr.h> 42 #include <wtf/OwnPtr.h>
42 #include <wtf/RefPtr.h> 43 #include <wtf/RefPtr.h>
43 44
44 #if PLATFORM(MAC) && !defined(__OBJC__) 45 #if PLATFORM(MAC) && !defined(__OBJC__)
45 class NSView; 46 class NSView;
46 #endif 47 #endif
47 48
48 #if ENABLE(TOUCH_EVENTS) 49 #if ENABLE(TOUCH_EVENTS)
49 #include <wtf/HashMap.h> 50 #include <wtf/HashMap.h>
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 RefPtr<HTMLFrameSetElement> m_frameSetBeingResized; 439 RefPtr<HTMLFrameSetElement> m_frameSetBeingResized;
439 440
440 LayoutSize m_offsetFromResizeCorner; // In the coords of m_resizeLayer. 441 LayoutSize m_offsetFromResizeCorner; // In the coords of m_resizeLayer.
441 442
442 bool m_mousePositionIsUnknown; 443 bool m_mousePositionIsUnknown;
443 IntPoint m_lastKnownMousePosition; 444 IntPoint m_lastKnownMousePosition;
444 IntPoint m_lastKnownMouseGlobalPosition; 445 IntPoint m_lastKnownMouseGlobalPosition;
445 IntPoint m_mouseDownPos; // In our view's coords. 446 IntPoint m_mouseDownPos; // In our view's coords.
446 double m_mouseDownTimestamp; 447 double m_mouseDownTimestamp;
447 PlatformMouseEvent m_mouseDown; 448 PlatformMouseEvent m_mouseDown;
449 RefPtr<UserGestureIndicator::Token> m_lastMouseDownUserGestureToken;
448 450
449 RefPtr<Node> m_latchedWheelEventNode; 451 RefPtr<Node> m_latchedWheelEventNode;
450 bool m_widgetIsLatched; 452 bool m_widgetIsLatched;
451 453
452 RefPtr<Node> m_previousWheelScrolledNode; 454 RefPtr<Node> m_previousWheelScrolledNode;
453 455
454 #if PLATFORM(MAC) 456 #if PLATFORM(MAC)
455 NSView *m_mouseDownView; 457 NSView *m_mouseDownView;
456 bool m_sendingEventToSubview; 458 bool m_sendingEventToSubview;
457 int m_activationEventNumber; 459 int m_activationEventNumber;
(...skipping 13 matching lines...) Expand all
471 473
472 double m_maxMouseMovedDuration; 474 double m_maxMouseMovedDuration;
473 PlatformEvent::Type m_baseEventType; 475 PlatformEvent::Type m_baseEventType;
474 bool m_didStartDrag; 476 bool m_didStartDrag;
475 bool m_didLongPressInvokeContextMenu; 477 bool m_didLongPressInvokeContextMenu;
476 }; 478 };
477 479
478 } // namespace WebCore 480 } // namespace WebCore
479 481
480 #endif // EventHandler_h 482 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698