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. All rights
reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010, 2012 Apple Inc. All rights
reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 30 matching lines...) Expand all Loading... |
41 PluginMissing, | 41 PluginMissing, |
42 PluginBlockedByContentSecurityPolicy, | 42 PluginBlockedByContentSecurityPolicy, |
43 }; | 43 }; |
44 void setPluginUnavailabilityReason(PluginUnavailabilityReason); | 44 void setPluginUnavailabilityReason(PluginUnavailabilityReason); |
45 bool showsUnavailablePluginIndicator() const; | 45 bool showsUnavailablePluginIndicator() const; |
46 | 46 |
47 // FIXME: This belongs on HTMLObjectElement. | 47 // FIXME: This belongs on HTMLObjectElement. |
48 bool hasFallbackContent() const { return m_hasFallbackContent; } | 48 bool hasFallbackContent() const { return m_hasFallbackContent; } |
49 void setHasFallbackContent(bool hasFallbackContent) { m_hasFallbackContent =
hasFallbackContent; } | 49 void setHasFallbackContent(bool hasFallbackContent) { m_hasFallbackContent =
hasFallbackContent; } |
50 | 50 |
51 bool allowsAcceleratedCompositing() const; | |
52 | |
53 protected: | 51 protected: |
54 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; | 52 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; |
55 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; | 53 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL; |
56 | 54 |
57 const RenderObjectChildList* children() const { return &m_children; } | 55 const RenderObjectChildList* children() const { return &m_children; } |
58 RenderObjectChildList* children() { return &m_children; } | 56 RenderObjectChildList* children() { return &m_children; } |
59 | 57 |
60 protected: | 58 protected: |
61 virtual void layout() OVERRIDE FINAL; | 59 virtual void layout() OVERRIDE FINAL; |
62 | 60 |
(...skipping 20 matching lines...) Expand all Loading... |
83 PluginUnavailabilityReason m_pluginUnavailabilityReason; | 81 PluginUnavailabilityReason m_pluginUnavailabilityReason; |
84 String m_unavailablePluginReplacementText; | 82 String m_unavailablePluginReplacementText; |
85 RenderObjectChildList m_children; | 83 RenderObjectChildList m_children; |
86 }; | 84 }; |
87 | 85 |
88 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderEmbeddedObject, isEmbeddedObject()); | 86 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderEmbeddedObject, isEmbeddedObject()); |
89 | 87 |
90 } // namespace WebCore | 88 } // namespace WebCore |
91 | 89 |
92 #endif // RenderEmbeddedObject_h | 90 #endif // RenderEmbeddedObject_h |
OLD | NEW |