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 * Copyright (C) 2015 Google Inc. All rights reserved. | 3 * Copyright (C) 2015 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 bool handleMousePressEventSingleClick(const MouseEventWithHitTestResults&); | 55 bool handleMousePressEventSingleClick(const MouseEventWithHitTestResults&); |
56 bool handleMousePressEventDoubleClick(const MouseEventWithHitTestResults&); | 56 bool handleMousePressEventDoubleClick(const MouseEventWithHitTestResults&); |
57 bool handleMousePressEventTripleClick(const MouseEventWithHitTestResults&); | 57 bool handleMousePressEventTripleClick(const MouseEventWithHitTestResults&); |
58 void handleMouseDraggedEvent(const MouseEventWithHitTestResults&, | 58 void handleMouseDraggedEvent(const MouseEventWithHitTestResults&, |
59 const IntPoint&, | 59 const IntPoint&, |
60 const LayoutPoint&, | 60 const LayoutPoint&, |
61 Node*, | 61 Node*, |
62 const IntPoint&); | 62 const IntPoint&); |
63 bool handleMouseReleaseEvent(const MouseEventWithHitTestResults&, | 63 bool handleMouseReleaseEvent(const MouseEventWithHitTestResults&, |
64 const LayoutPoint&); | 64 const LayoutPoint&); |
65 bool handlePasteGlobalSelection(const PlatformMouseEvent&); | 65 bool handlePasteGlobalSelection(const WebMouseEvent&); |
66 bool handleGestureLongPress(const WebGestureEvent&, const HitTestResult&); | 66 bool handleGestureLongPress(const WebGestureEvent&, const HitTestResult&); |
67 void handleGestureTwoFingerTap(const GestureEventWithHitTestResults&); | 67 void handleGestureTwoFingerTap(const GestureEventWithHitTestResults&); |
68 void handleGestureLongTap(const GestureEventWithHitTestResults&); | 68 void handleGestureLongTap(const GestureEventWithHitTestResults&); |
69 | 69 |
70 void updateSelectionForMouseDrag(Node*, const LayoutPoint&, const IntPoint&); | 70 void updateSelectionForMouseDrag(Node*, const LayoutPoint&, const IntPoint&); |
71 void updateSelectionForMouseDrag(const HitTestResult&, | 71 void updateSelectionForMouseDrag(const HitTestResult&, |
72 Node*, | 72 Node*, |
73 const LayoutPoint&, | 73 const LayoutPoint&, |
74 const IntPoint&); | 74 const IntPoint&); |
75 void sendContextMenuEvent(const MouseEventWithHitTestResults&, | 75 void sendContextMenuEvent(const MouseEventWithHitTestResults&, |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 }; | 143 }; |
144 SelectionState m_selectionState; | 144 SelectionState m_selectionState; |
145 }; | 145 }; |
146 | 146 |
147 bool isLinkSelection(const MouseEventWithHitTestResults&); | 147 bool isLinkSelection(const MouseEventWithHitTestResults&); |
148 bool isExtendingSelection(const MouseEventWithHitTestResults&); | 148 bool isExtendingSelection(const MouseEventWithHitTestResults&); |
149 | 149 |
150 } // namespace blink | 150 } // namespace blink |
151 | 151 |
152 #endif // SelectionController_h | 152 #endif // SelectionController_h |
OLD | NEW |