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

Unified Diff: Source/core/layout/LayoutIFrame.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/LayoutEmbeddedObject.cpp ('k') | Source/core/layout/LayoutIFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutIFrame.h
diff --git a/Source/core/rendering/RenderIFrame.h b/Source/core/layout/LayoutIFrame.h
similarity index 81%
rename from Source/core/rendering/RenderIFrame.h
rename to Source/core/layout/LayoutIFrame.h
index f9bc2ebaaffef2c3427d2278677c61e93cd26715..7d3d2be750e151fa728d4859fb4d14184d4469fb 100644
--- a/Source/core/rendering/RenderIFrame.h
+++ b/Source/core/layout/LayoutIFrame.h
@@ -23,16 +23,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RenderIFrame_h
-#define RenderIFrame_h
+#ifndef LayoutIFrame_h
+#define LayoutIFrame_h
#include "core/layout/LayoutPart.h"
namespace blink {
-class RenderIFrame final : public LayoutPart {
+class LayoutIFrame final : public LayoutPart {
public:
- explicit RenderIFrame(Element*);
+ explicit LayoutIFrame(Element*);
private:
virtual bool shouldComputeSizeAsReplaced() const override;
@@ -40,15 +40,15 @@ private:
virtual void layout() override;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRenderIFrame || LayoutPart::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutIFrame || LayoutPart::isOfType(type); }
- virtual const char* renderName() const override { return "RenderPartObject"; } // Lying for now to avoid breaking tests
+ virtual const char* renderName() const override { return "LayoutIFrame"; }
virtual LayerType layerTypeRequired() const override;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderIFrame, isRenderIFrame());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutIFrame, isLayoutIFrame());
} // namespace blink
-#endif // RenderIFrame_h
+#endif // LayoutIFrame_h
« no previous file with comments | « Source/core/layout/LayoutEmbeddedObject.cpp ('k') | Source/core/layout/LayoutIFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698