| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void clear(); | 43 void clear(); |
| 44 | 44 |
| 45 bool isInDocument(const Document&) const; | 45 bool isInDocument(const Document&) const; |
| 46 VisibleSelection calcVisibleSelection() const; | 46 VisibleSelection calcVisibleSelection() const; |
| 47 | 47 |
| 48 DECLARE_TRACE(); | 48 DECLARE_TRACE(); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 PendingSelection(); | 51 PendingSelection(); |
| 52 | 52 |
| 53 template <typename Strategy> |
| 54 bool isInDocumentAlgorithm(const Document&) const; |
| 55 |
| 56 template <typename Strategy> |
| 57 VisibleSelection calcVisibleSelectionAlgorithm() const; |
| 58 |
| 53 VisibleSelection m_selection; | 59 VisibleSelection m_selection; |
| 54 bool m_hasPendingSelection : 1; | 60 bool m_hasPendingSelection : 1; |
| 55 bool m_shouldShowBlockCursor : 1; | 61 bool m_shouldShowBlockCursor : 1; |
| 56 }; | 62 }; |
| 57 | 63 |
| 58 } // namespace blink | 64 } // namespace blink |
| 59 | 65 |
| 60 #endif | 66 #endif |
| OLD | NEW |