Chromium Code Reviews| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 | 126 |
| 127 // Return whether a mouse cursor update is currently pending. Used for test ing. | 127 // Return whether a mouse cursor update is currently pending. Used for test ing. |
| 128 bool cursorUpdatePending(); | 128 bool cursorUpdatePending(); |
| 129 | 129 |
| 130 void setResizingFrameSet(HTMLFrameSetElement*); | 130 void setResizingFrameSet(HTMLFrameSetElement*); |
| 131 | 131 |
| 132 void resizeScrollableAreaDestroyed(); | 132 void resizeScrollableAreaDestroyed(); |
| 133 | 133 |
| 134 IntPoint lastKnownMousePosition() const; | 134 IntPoint lastKnownMousePosition() const; |
| 135 | 135 |
| 136 IntPoint dragDataTransferLocation(); | |
|
fs
2016/02/23 17:27:45
...ForTesting()?
hyunjunekim2
2016/02/24 13:06:36
Done.
| |
| 137 | |
| 136 // Attempts to scroll the DOM tree. If that fails, scrolls the view. | 138 // Attempts to scroll the DOM tree. If that fails, scrolls the view. |
| 137 // If the view can't be scrolled either, recursively bubble to the parent fr ame. | 139 // If the view can't be scrolled either, recursively bubble to the parent fr ame. |
| 138 bool bubblingScroll(ScrollDirection, ScrollGranularity, Node* startingNode = nullptr); | 140 bool bubblingScroll(ScrollDirection, ScrollGranularity, Node* startingNode = nullptr); |
| 139 | 141 |
| 140 WebInputEventResult handleMouseMoveEvent(const PlatformMouseEvent&); | 142 WebInputEventResult handleMouseMoveEvent(const PlatformMouseEvent&); |
| 141 void handleMouseLeaveEvent(const PlatformMouseEvent&); | 143 void handleMouseLeaveEvent(const PlatformMouseEvent&); |
| 142 | 144 |
| 143 WebInputEventResult handleMousePressEvent(const PlatformMouseEvent&); | 145 WebInputEventResult handleMousePressEvent(const PlatformMouseEvent&); |
| 144 WebInputEventResult handleMouseReleaseEvent(const PlatformMouseEvent&); | 146 WebInputEventResult handleMouseReleaseEvent(const PlatformMouseEvent&); |
| 145 WebInputEventResult handleWheelEvent(const PlatformWheelEvent&); | 147 WebInputEventResult handleWheelEvent(const PlatformWheelEvent&); |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 456 // scroll which shouldn't propagate can't cause any element to | 458 // scroll which shouldn't propagate can't cause any element to |
| 457 // scroll other than the |m_previousGestureScrolledNode|. | 459 // scroll other than the |m_previousGestureScrolledNode|. |
| 458 bool m_deltaConsumedForScrollSequence; | 460 bool m_deltaConsumedForScrollSequence; |
| 459 }; | 461 }; |
| 460 | 462 |
| 461 } // namespace blink | 463 } // namespace blink |
| 462 | 464 |
| 463 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); | 465 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); |
| 464 | 466 |
| 465 #endif // EventHandler_h | 467 #endif // EventHandler_h |
| OLD | NEW |