Index: Source/core/rendering/line/RenderTextInfo.h |
diff --git a/Source/core/rendering/RenderApplet.h b/Source/core/rendering/line/RenderTextInfo.h |
similarity index 60% |
copy from Source/core/rendering/RenderApplet.h |
copy to Source/core/rendering/line/RenderTextInfo.h |
index 9f740f404db67a7586768f15194c64c06c9bbb97..0ad1c598a25f4246343f875a6bd37813ef2f10fc 100644 |
--- a/Source/core/rendering/RenderApplet.h |
+++ b/Source/core/rendering/line/RenderTextInfo.h |
@@ -1,6 +1,7 @@ |
/* |
- * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
- * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
+ * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
+ * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All right reserved. |
+ * Copyright (C) 2010 Google Inc. All rights reserved. |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Library General Public |
@@ -19,24 +20,28 @@ |
* |
*/ |
-#ifndef RenderApplet_h |
-#define RenderApplet_h |
+#ifndef RenderTextInfo_h |
+#define RenderTextInfo_h |
-#include "core/rendering/RenderEmbeddedObject.h" |
+#include "platform/text/TextBreakIterator.h" |
namespace WebCore { |
-class HTMLAppletElement; |
+class Font; |
+class RenderText; |
-class RenderApplet FINAL : public RenderEmbeddedObject { |
-public: |
- explicit RenderApplet(HTMLAppletElement*); |
- virtual ~RenderApplet(); |
+struct RenderTextInfo { |
+ RenderTextInfo() |
+ : m_text(0) |
+ , m_font(0) |
+ { |
+ } |
-private: |
- virtual const char* renderName() const OVERRIDE { return "RenderApplet"; } |
+ RenderText* m_text; |
+ LazyLineBreakIterator m_lineBreakIterator; |
+ const Font* m_font; |
}; |
} // namespace WebCore |
-#endif // RenderApplet_h |
+#endif // RenderTextInfo_h |