Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: Source/core/rendering/RenderEmbeddedObject.h

Issue 202523008: Simplify CompositingReasonFinder::requiresCompositingForPlugin (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix bad merge Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/rendering/RenderEmbeddedObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderEmbeddedObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698