| 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 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 #ifndef PendingSelection_h | 22 #ifndef PendingSelection_h |
| 23 #define PendingSelection_h | 23 #define PendingSelection_h |
| 24 | 24 |
| 25 #include "core/editing/Position.h" | 25 #include "core/editing/Position.h" |
| 26 #include "core/editing/VisibleSelection.h" | 26 #include "core/editing/VisibleSelection.h" |
| 27 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
| 28 | 28 |
| 29 namespace blink { | 29 namespace blink { |
| 30 | 30 |
| 31 class Document; | |
| 32 class FrameSelection; | 31 class FrameSelection; |
| 33 class LayoutView; | 32 class LayoutView; |
| 34 | 33 |
| 35 class PendingSelection final : public GarbageCollected<PendingSelection> { | 34 class PendingSelection final : public GarbageCollected<PendingSelection> { |
| 36 public: | 35 public: |
| 37 static PendingSelection* create(FrameSelection& frameSelection) { | 36 static PendingSelection* create(FrameSelection& frameSelection) { |
| 38 return new PendingSelection(frameSelection); | 37 return new PendingSelection(frameSelection); |
| 39 } | 38 } |
| 40 | 39 |
| 41 bool hasPendingSelection() const { return m_hasPendingSelection; } | 40 bool hasPendingSelection() const { return m_hasPendingSelection; } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 52 VisibleSelectionInFlatTree calcVisibleSelection( | 51 VisibleSelectionInFlatTree calcVisibleSelection( |
| 53 const VisibleSelectionInFlatTree&) const; | 52 const VisibleSelectionInFlatTree&) const; |
| 54 | 53 |
| 55 Member<FrameSelection> m_frameSelection; | 54 Member<FrameSelection> m_frameSelection; |
| 56 bool m_hasPendingSelection : 1; | 55 bool m_hasPendingSelection : 1; |
| 57 }; | 56 }; |
| 58 | 57 |
| 59 } // namespace blink | 58 } // namespace blink |
| 60 | 59 |
| 61 #endif | 60 #endif |
| OLD | NEW |