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, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 * | 19 * |
20 */ | 20 */ |
21 | 21 |
22 #ifndef RenderQuote_h | 22 #ifndef RenderQuote_h |
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 "platform/RenderStyleConstants.h" |
29 | 29 |
30 namespace WebCore { | 30 namespace WebCore { |
31 | 31 |
32 class Document; | 32 class Document; |
33 | 33 |
34 class RenderQuote FINAL : public RenderInline { | 34 class RenderQuote FINAL : public RenderInline { |
35 public: | 35 public: |
36 RenderQuote(Document*, const QuoteType); | 36 RenderQuote(Document*, const QuoteType); |
37 virtual ~RenderQuote(); | 37 virtual ~RenderQuote(); |
38 void attachQuote(); | 38 void attachQuote(); |
(...skipping 19 matching lines...) Expand all Loading... |
58 RenderQuote* m_previous; | 58 RenderQuote* m_previous; |
59 bool m_attached; | 59 bool m_attached; |
60 String m_text; | 60 String m_text; |
61 }; | 61 }; |
62 | 62 |
63 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderQuote, isQuote()); | 63 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderQuote, isQuote()); |
64 | 64 |
65 } // namespace WebCore | 65 } // namespace WebCore |
66 | 66 |
67 #endif // RenderQuote_h | 67 #endif // RenderQuote_h |
OLD | NEW |