OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Nokia Inc. All rights reserved. | 2 * Copyright (C) 2011 Nokia Inc. All rights reserved. |
3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
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 12 matching lines...) Expand all Loading... |
23 #define RenderQuote_h | 23 #define RenderQuote_h |
24 | 24 |
25 #include "core/rendering/RenderInline.h" | 25 #include "core/rendering/RenderInline.h" |
26 #include "core/rendering/style/QuotesData.h" | 26 #include "core/rendering/style/QuotesData.h" |
27 #include "core/rendering/style/RenderStyle.h" | 27 #include "core/rendering/style/RenderStyle.h" |
28 #include "core/rendering/style/RenderStyleConstants.h" | 28 #include "core/rendering/style/RenderStyleConstants.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 class Document; | 32 class Document; |
| 33 class RenderTextFragment; |
33 | 34 |
34 class RenderQuote final : public RenderInline { | 35 class RenderQuote final : public RenderInline { |
35 public: | 36 public: |
36 RenderQuote(Document*, const QuoteType); | 37 RenderQuote(Document*, const QuoteType); |
37 virtual ~RenderQuote(); | 38 virtual ~RenderQuote(); |
38 virtual void trace(Visitor*) override; | 39 virtual void trace(Visitor*) override; |
39 void attachQuote(); | 40 void attachQuote(); |
40 | 41 |
41 private: | 42 private: |
42 void detachQuote(); | 43 void detachQuote(); |
(...skipping 20 matching lines...) Expand all Loading... |
63 String m_text; | 64 String m_text; |
64 }; | 65 }; |
65 | 66 |
66 WILL_NOT_BE_EAGERLY_TRACED_CLASS(RenderQuote); | 67 WILL_NOT_BE_EAGERLY_TRACED_CLASS(RenderQuote); |
67 | 68 |
68 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderQuote, isQuote()); | 69 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderQuote, isQuote()); |
69 | 70 |
70 } // namespace blink | 71 } // namespace blink |
71 | 72 |
72 #endif // RenderQuote_h | 73 #endif // RenderQuote_h |
OLD | NEW |