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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 PlatformMouseEvent&); |
66 bool handleGestureLongPress(const PlatformGestureEvent&, | 66 bool handleGestureLongPress(const WebGestureEvent&, const HitTestResult&); |
67 const HitTestResult&); | |
68 void handleGestureTwoFingerTap(const GestureEventWithHitTestResults&); | 67 void handleGestureTwoFingerTap(const GestureEventWithHitTestResults&); |
69 void handleGestureLongTap(const GestureEventWithHitTestResults&); | 68 void handleGestureLongTap(const GestureEventWithHitTestResults&); |
70 | 69 |
71 void updateSelectionForMouseDrag(Node*, const LayoutPoint&, const IntPoint&); | 70 void updateSelectionForMouseDrag(Node*, const LayoutPoint&, const IntPoint&); |
72 void updateSelectionForMouseDrag(const HitTestResult&, | 71 void updateSelectionForMouseDrag(const HitTestResult&, |
73 Node*, | 72 Node*, |
74 const LayoutPoint&, | 73 const LayoutPoint&, |
75 const IntPoint&); | 74 const IntPoint&); |
76 void sendContextMenuEvent(const MouseEventWithHitTestResults&, | 75 void sendContextMenuEvent(const MouseEventWithHitTestResults&, |
77 const LayoutPoint&); | 76 const LayoutPoint&); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 }; | 141 }; |
143 SelectionState m_selectionState; | 142 SelectionState m_selectionState; |
144 }; | 143 }; |
145 | 144 |
146 bool isLinkSelection(const MouseEventWithHitTestResults&); | 145 bool isLinkSelection(const MouseEventWithHitTestResults&); |
147 bool isExtendingSelection(const MouseEventWithHitTestResults&); | 146 bool isExtendingSelection(const MouseEventWithHitTestResults&); |
148 | 147 |
149 } // namespace blink | 148 } // namespace blink |
150 | 149 |
151 #endif // SelectionController_h | 150 #endif // SelectionController_h |
OLD | NEW |