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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 2536723007: Removed android scrolling fake mouse moves and device_supports_mouse (Closed)
Patch Set: rebase Created 4 years 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void dispatchFakeMouseMoveEventSoon(); 100 void dispatchFakeMouseMoveEventSoon();
101 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); 101 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&);
102 102
103 HitTestResult hitTestResultAtPoint( 103 HitTestResult hitTestResultAtPoint(
104 const LayoutPoint&, 104 const LayoutPoint&,
105 HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly | 105 HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly |
106 HitTestRequest::Active, 106 HitTestRequest::Active,
107 const LayoutSize& padding = LayoutSize()); 107 const LayoutSize& padding = LayoutSize());
108 108
109 bool mousePressed() const { return m_mouseEventManager->mousePressed(); } 109 bool mousePressed() const { return m_mouseEventManager->mousePressed(); }
110 110 bool isMousePositionUnknown() const {
111 return m_mouseEventManager->isMousePositionUnknown();
112 }
113 void clearMouseEventManager() const { m_mouseEventManager->clear(); }
111 void setCapturingMouseEventsNode( 114 void setCapturingMouseEventsNode(
112 Node*); // A caller is responsible for resetting capturing node to 0. 115 Node*); // A caller is responsible for resetting capturing node to 0.
113 116
114 WebInputEventResult updateDragAndDrop(const PlatformMouseEvent&, 117 WebInputEventResult updateDragAndDrop(const PlatformMouseEvent&,
115 DataTransfer*); 118 DataTransfer*);
116 void cancelDragAndDrop(const PlatformMouseEvent&, DataTransfer*); 119 void cancelDragAndDrop(const PlatformMouseEvent&, DataTransfer*);
117 WebInputEventResult performDragAndDrop(const PlatformMouseEvent&, 120 WebInputEventResult performDragAndDrop(const PlatformMouseEvent&,
118 DataTransfer*); 121 DataTransfer*);
119 void updateDragStateAfterEditDragIfNeeded(Element* rootEditableElement); 122 void updateDragStateAfterEditDragIfNeeded(Element* rootEditableElement);
120 123
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 388
386 // Set on GestureTapDown if the |pointerdown| event corresponding to the 389 // Set on GestureTapDown if the |pointerdown| event corresponding to the
387 // triggering |touchstart| event was canceled. This suppresses mouse event 390 // triggering |touchstart| event was canceled. This suppresses mouse event
388 // firing for the current gesture sequence (i.e. until next GestureTapDown). 391 // firing for the current gesture sequence (i.e. until next GestureTapDown).
389 bool m_suppressMouseEventsFromGestures; 392 bool m_suppressMouseEventsFromGestures;
390 }; 393 };
391 394
392 } // namespace blink 395 } // namespace blink
393 396
394 #endif // EventHandler_h 397 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Settings.in ('k') | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698