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

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

Issue 2394263004: Reformat comments in core/layout up until LayoutMultiColumnFlowThread (Closed)
Patch Set: Rebase w/HEAD Created 4 years, 2 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
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.
5 * All rights reserved.
5 * 6 *
6 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
9 * 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.
10 * 11 *
11 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 15 * Library General Public License for more details.
15 * 16 *
16 * You should have received a copy of the GNU Library General Public License 17 * 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 18 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 20 * Boston, MA 02110-1301, USA.
20 * 21 *
21 */ 22 */
22 23
23 #ifndef LayoutEmbeddedObject_h 24 #ifndef LayoutEmbeddedObject_h
24 #define LayoutEmbeddedObject_h 25 #define LayoutEmbeddedObject_h
25 26
26 #include "core/layout/LayoutPart.h" 27 #include "core/layout/LayoutPart.h"
27 28
28 namespace blink { 29 namespace blink {
29 30
30 class TextRun; 31 class TextRun;
31 32
32 // LayoutObject for embeds and objects, often, but not always, rendered via plug ins. 33 // LayoutObject for embeds and objects, often, but not always, rendered via
33 // For example, <embed src="foo.html"> does not invoke a plugin. 34 // plugins. For example, <embed src="foo.html"> does not invoke a plugin.
34 class LayoutEmbeddedObject : public LayoutPart { 35 class LayoutEmbeddedObject : public LayoutPart {
35 public: 36 public:
36 LayoutEmbeddedObject(Element*); 37 LayoutEmbeddedObject(Element*);
37 ~LayoutEmbeddedObject() override; 38 ~LayoutEmbeddedObject() override;
38 39
39 enum PluginAvailability { 40 enum PluginAvailability {
40 PluginAvailable, 41 PluginAvailable,
41 PluginMissing, 42 PluginMissing,
42 PluginBlockedByContentSecurityPolicy, 43 PluginBlockedByContentSecurityPolicy,
43 }; 44 };
(...skipping 28 matching lines...) Expand all
72 73
73 PluginAvailability m_pluginAvailability = PluginAvailable; 74 PluginAvailability m_pluginAvailability = PluginAvailable;
74 String m_unavailablePluginReplacementText; 75 String m_unavailablePluginReplacementText;
75 }; 76 };
76 77
77 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutEmbeddedObject, isEmbeddedObject()); 78 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutEmbeddedObject, isEmbeddedObject());
78 79
79 } // namespace blink 80 } // namespace blink
80 81
81 #endif // LayoutEmbeddedObject_h 82 #endif // LayoutEmbeddedObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698