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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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
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. 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
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 31
33 // LayoutObject for embeds and objects, often, but not always, rendered via 32 // LayoutObject for embeds and objects, often, but not always, rendered via
34 // plugins. For example, <embed src="foo.html"> does not invoke a plugin. 33 // plugins. For example, <embed src="foo.html"> does not invoke a plugin.
35 class LayoutEmbeddedObject : public LayoutPart { 34 class LayoutEmbeddedObject : public LayoutPart {
36 public: 35 public:
37 LayoutEmbeddedObject(Element*); 36 LayoutEmbeddedObject(Element*);
38 ~LayoutEmbeddedObject() override; 37 ~LayoutEmbeddedObject() override;
39 38
40 enum PluginAvailability { 39 enum PluginAvailability {
41 PluginAvailable, 40 PluginAvailable,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 72
74 PluginAvailability m_pluginAvailability = PluginAvailable; 73 PluginAvailability m_pluginAvailability = PluginAvailable;
75 String m_unavailablePluginReplacementText; 74 String m_unavailablePluginReplacementText;
76 }; 75 };
77 76
78 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutEmbeddedObject, isEmbeddedObject()); 77 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutEmbeddedObject, isEmbeddedObject());
79 78
80 } // namespace blink 79 } // namespace blink
81 80
82 #endif // LayoutEmbeddedObject_h 81 #endif // LayoutEmbeddedObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698