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

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

Issue 337113005: Reduce forward declarations in core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/rendering/RenderButton.h ('k') | Source/core/rendering/RenderFlowThread.h » ('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 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 * 20 *
21 */ 21 */
22 22
23 #ifndef RenderEmbeddedObject_h 23 #ifndef RenderEmbeddedObject_h
24 #define RenderEmbeddedObject_h 24 #define RenderEmbeddedObject_h
25 25
26 #include "core/rendering/RenderPart.h" 26 #include "core/rendering/RenderPart.h"
27 27
28 namespace WebCore { 28 namespace WebCore {
29 29
30 class MouseEvent;
31 class TextRun; 30 class TextRun;
32 31
33 // Renderer for embeds and objects, often, but not always, rendered via plug-ins . 32 // Renderer for embeds and objects, often, but not always, rendered via plug-ins .
34 // For example, <embed src="foo.html"> does not invoke a plug-in. 33 // For example, <embed src="foo.html"> does not invoke a plug-in.
35 class RenderEmbeddedObject : public RenderPart { 34 class RenderEmbeddedObject : public RenderPart {
36 public: 35 public:
37 RenderEmbeddedObject(Element*); 36 RenderEmbeddedObject(Element*);
38 virtual ~RenderEmbeddedObject(); 37 virtual ~RenderEmbeddedObject();
39 38
40 enum PluginUnavailabilityReason { 39 enum PluginUnavailabilityReason {
(...skipping 29 matching lines...) Expand all
70 bool m_showsUnavailablePluginIndicator; 69 bool m_showsUnavailablePluginIndicator;
71 PluginUnavailabilityReason m_pluginUnavailabilityReason; 70 PluginUnavailabilityReason m_pluginUnavailabilityReason;
72 String m_unavailablePluginReplacementText; 71 String m_unavailablePluginReplacementText;
73 }; 72 };
74 73
75 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderEmbeddedObject, isEmbeddedObject()); 74 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderEmbeddedObject, isEmbeddedObject());
76 75
77 } // namespace WebCore 76 } // namespace WebCore
78 77
79 #endif // RenderEmbeddedObject_h 78 #endif // RenderEmbeddedObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderButton.h ('k') | Source/core/rendering/RenderFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698