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

Unified Diff: Source/core/layout/LayoutEmbeddedObject.h

Issue 930183002: Move and rename RenderEmbeddedObject and RenderIFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename properly to LayoutIFrame in test expectations. Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutApplet.cpp ('k') | Source/core/layout/LayoutEmbeddedObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutEmbeddedObject.h
diff --git a/Source/core/rendering/RenderEmbeddedObject.h b/Source/core/layout/LayoutEmbeddedObject.h
similarity index 87%
rename from Source/core/rendering/RenderEmbeddedObject.h
rename to Source/core/layout/LayoutEmbeddedObject.h
index 879f8d967315f209e87c7e308fb4eb1dc8cbef0f..fb5d6a3500f7a993a01aa140ed52acb981a05f3d 100644
--- a/Source/core/rendering/RenderEmbeddedObject.h
+++ b/Source/core/layout/LayoutEmbeddedObject.h
@@ -20,8 +20,8 @@
*
*/
-#ifndef RenderEmbeddedObject_h
-#define RenderEmbeddedObject_h
+#ifndef LayoutEmbeddedObject_h
+#define LayoutEmbeddedObject_h
#include "core/layout/LayoutPart.h"
@@ -31,10 +31,10 @@ class TextRun;
// Renderer for embeds and objects, often, but not always, rendered via plug-ins.
// For example, <embed src="foo.html"> does not invoke a plug-in.
-class RenderEmbeddedObject : public LayoutPart {
+class LayoutEmbeddedObject : public LayoutPart {
public:
- RenderEmbeddedObject(Element*);
- virtual ~RenderEmbeddedObject();
+ LayoutEmbeddedObject(Element*);
+ virtual ~LayoutEmbeddedObject();
enum PluginUnavailabilityReason {
PluginMissing,
@@ -50,7 +50,7 @@ private:
virtual void layout() override final;
- virtual const char* renderName() const override { return "RenderEmbeddedObject"; }
+ virtual const char* renderName() const override { return "LayoutEmbeddedObject"; }
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectEmbeddedObject || LayoutPart::isOfType(type); }
virtual RenderBox* embeddedContentBox() const override final;
@@ -67,8 +67,8 @@ private:
String m_unavailablePluginReplacementText;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderEmbeddedObject, isEmbeddedObject());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutEmbeddedObject, isEmbeddedObject());
} // namespace blink
-#endif // RenderEmbeddedObject_h
+#endif // LayoutEmbeddedObject_h
« no previous file with comments | « Source/core/layout/LayoutApplet.cpp ('k') | Source/core/layout/LayoutEmbeddedObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698