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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool selectClosestWordFromHitTestResult(const HitTestResult&, | 103 bool selectClosestWordFromHitTestResult(const HitTestResult&, |
104 AppendTrailingWhitespace, | 104 AppendTrailingWhitespace, |
105 SelectInputEventType); | 105 SelectInputEventType); |
106 void selectClosestMisspellingFromHitTestResult(const HitTestResult&, | 106 void selectClosestMisspellingFromHitTestResult(const HitTestResult&, |
107 AppendTrailingWhitespace); | 107 AppendTrailingWhitespace); |
108 void selectClosestWordFromMouseEvent(const MouseEventWithHitTestResults&); | 108 void selectClosestWordFromMouseEvent(const MouseEventWithHitTestResults&); |
109 void selectClosestMisspellingFromMouseEvent( | 109 void selectClosestMisspellingFromMouseEvent( |
110 const MouseEventWithHitTestResults&); | 110 const MouseEventWithHitTestResults&); |
111 void selectClosestWordOrLinkFromMouseEvent( | 111 void selectClosestWordOrLinkFromMouseEvent( |
112 const MouseEventWithHitTestResults&); | 112 const MouseEventWithHitTestResults&); |
113 void setNonDirectionalSelectionIfNeeded(const VisibleSelectionInFlatTree&, | 113 void setNonDirectionalSelectionIfNeeded(const SelectionInFlatTree&, |
114 TextGranularity, | 114 TextGranularity, |
115 EndPointsAdjustmentMode, | 115 EndPointsAdjustmentMode, |
116 HandleVisibility); | 116 HandleVisibility); |
117 void setCaretAtHitTestResult(const HitTestResult&); | 117 void setCaretAtHitTestResult(const HitTestResult&); |
118 bool updateSelectionForMouseDownDispatchingSelectStart( | 118 bool updateSelectionForMouseDownDispatchingSelectStart( |
119 Node*, | 119 Node*, |
120 const VisibleSelectionInFlatTree&, | 120 const VisibleSelectionInFlatTree&, |
121 TextGranularity, | 121 TextGranularity, |
122 HandleVisibility); | 122 HandleVisibility); |
123 | 123 |
(...skipping 19 matching lines...) Expand all Loading... |
143 }; | 143 }; |
144 SelectionState m_selectionState; | 144 SelectionState m_selectionState; |
145 }; | 145 }; |
146 | 146 |
147 bool isSelectionOverLink(const MouseEventWithHitTestResults&); | 147 bool isSelectionOverLink(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 |