OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
4 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010, 2012 Apple Inc. | 4 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010, 2012 Apple Inc. |
5 * All rights reserved. | 5 * All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 10 matching lines...) Expand all Loading... |
21 * | 21 * |
22 */ | 22 */ |
23 | 23 |
24 #ifndef LayoutEmbeddedObject_h | 24 #ifndef LayoutEmbeddedObject_h |
25 #define LayoutEmbeddedObject_h | 25 #define LayoutEmbeddedObject_h |
26 | 26 |
27 #include "core/layout/LayoutPart.h" | 27 #include "core/layout/LayoutPart.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class TextRun; | |
32 | |
33 // LayoutObject for embeds and objects, often, but not always, rendered via | 31 // LayoutObject for embeds and objects, often, but not always, rendered via |
34 // plugins. For example, <embed src="foo.html"> does not invoke a plugin. | 32 // plugins. For example, <embed src="foo.html"> does not invoke a plugin. |
35 class LayoutEmbeddedObject : public LayoutPart { | 33 class LayoutEmbeddedObject : public LayoutPart { |
36 public: | 34 public: |
37 LayoutEmbeddedObject(Element*); | 35 LayoutEmbeddedObject(Element*); |
38 ~LayoutEmbeddedObject() override; | 36 ~LayoutEmbeddedObject() override; |
39 | 37 |
40 enum PluginAvailability { | 38 enum PluginAvailability { |
41 PluginAvailable, | 39 PluginAvailable, |
42 PluginMissing, | 40 PluginMissing, |
(...skipping 30 matching lines...) Expand all Loading... |
73 | 71 |
74 PluginAvailability m_pluginAvailability = PluginAvailable; | 72 PluginAvailability m_pluginAvailability = PluginAvailable; |
75 String m_unavailablePluginReplacementText; | 73 String m_unavailablePluginReplacementText; |
76 }; | 74 }; |
77 | 75 |
78 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutEmbeddedObject, isEmbeddedObject()); | 76 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutEmbeddedObject, isEmbeddedObject()); |
79 | 77 |
80 } // namespace blink | 78 } // namespace blink |
81 | 79 |
82 #endif // LayoutEmbeddedObject_h | 80 #endif // LayoutEmbeddedObject_h |
OLD | NEW |