| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #ifndef RenderSelectionInfo_h | 25 #ifndef RenderSelectionInfo_h |
| 26 #define RenderSelectionInfo_h | 26 #define RenderSelectionInfo_h |
| 27 | 27 |
| 28 #include "core/rendering/RenderBox.h" | 28 #include "core/rendering/RenderBox.h" |
| 29 #include "platform/geometry/IntRect.h" | 29 #include "platform/geometry/IntRect.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class RenderSelectionInfoBase : public DummyBase<RenderSelectionInfoBase> { | 33 class RenderSelectionInfoBase { |
| 34 WTF_MAKE_NONCOPYABLE(RenderSelectionInfoBase); WTF_MAKE_FAST_ALLOCATED_WILL_
BE_REMOVED; | 34 WTF_MAKE_NONCOPYABLE(RenderSelectionInfoBase); WTF_MAKE_FAST_ALLOCATED; |
| 35 public: | 35 public: |
| 36 RenderSelectionInfoBase() | 36 RenderSelectionInfoBase() |
| 37 : m_object(nullptr) | 37 : m_object(nullptr) |
| 38 , m_paintInvalidationContainer(nullptr) | 38 , m_paintInvalidationContainer(nullptr) |
| 39 , m_state(RenderObject::SelectionNone) | 39 , m_state(RenderObject::SelectionNone) |
| 40 { | 40 { |
| 41 } | 41 } |
| 42 | 42 |
| 43 RenderSelectionInfoBase(RenderObject* o) | 43 RenderSelectionInfoBase(RenderObject* o) |
| 44 : m_object(o) | 44 : m_object(o) |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 GapRects rects() const { return m_rects; } | 117 GapRects rects() const { return m_rects; } |
| 118 | 118 |
| 119 private: | 119 private: |
| 120 GapRects m_rects; // relative to paint invalidation container | 120 GapRects m_rects; // relative to paint invalidation container |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| 124 | 124 |
| 125 | 125 |
| 126 #endif // RenderSelectionInfo_h | 126 #endif // RenderSelectionInfo_h |
| OLD | NEW |