| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 bool m_mouseDownWasSingleClickInSelection; | 137 bool m_mouseDownWasSingleClickInSelection; |
| 138 bool m_mouseDownAllowsMultiClick; | 138 bool m_mouseDownAllowsMultiClick; |
| 139 enum class SelectionState { | 139 enum class SelectionState { |
| 140 HaveNotStartedSelection, | 140 HaveNotStartedSelection, |
| 141 PlacedCaret, | 141 PlacedCaret, |
| 142 ExtendedSelection | 142 ExtendedSelection |
| 143 }; | 143 }; |
| 144 SelectionState m_selectionState; | 144 SelectionState m_selectionState; |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 bool isSelectionOverLink(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 |