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

Unified Diff: Source/core/html/shadow/TextControlInnerElements.cpp

Issue 922423002: Move rendering/RenderTextControl* to layout/LayoutTextControl* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/html/forms/TextFieldInputType.cpp ('k') | Source/core/layout/LayoutTextControl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/TextControlInnerElements.cpp
diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp
index 7440f41983dd5ac138509fdc29ebbb75b7737bc4..376b8216ff9361f0dfd218aededaf3d7a552b734 100644
--- a/Source/core/html/shadow/TextControlInnerElements.cpp
+++ b/Source/core/html/shadow/TextControlInnerElements.cpp
@@ -36,8 +36,8 @@
#include "core/frame/LocalFrame.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/shadow/ShadowElementNames.h"
+#include "core/layout/LayoutTextControlSingleLine.h"
#include "core/page/EventHandler.h"
-#include "core/rendering/RenderTextControlSingleLine.h"
#include "core/rendering/RenderView.h"
#include "platform/UserGestureIndicator.h"
@@ -59,7 +59,7 @@ PassRefPtrWillBeRawPtr<TextControlInnerContainer> TextControlInnerContainer::cre
LayoutObject* TextControlInnerContainer::createRenderer(const LayoutStyle&)
{
- return new RenderTextControlInnerContainer(this);
+ return new LayoutTextControlInnerContainer(this);
}
// ---------------------------
@@ -132,7 +132,7 @@ void TextControlInnerEditorElement::defaultEventHandler(Event* event)
LayoutObject* TextControlInnerEditorElement::createRenderer(const LayoutStyle&)
{
- return new RenderTextControlInnerBlock(this);
+ return new LayoutTextControlInnerBlock(this);
}
PassRefPtr<LayoutStyle> TextControlInnerEditorElement::customStyleForRenderer()
@@ -140,7 +140,7 @@ PassRefPtr<LayoutStyle> TextControlInnerEditorElement::customStyleForRenderer()
LayoutObject* parentRenderer = shadowHost()->renderer();
if (!parentRenderer || !parentRenderer->isTextControl())
return originalStyleForRenderer();
- RenderTextControl* textControlRenderer = toRenderTextControl(parentRenderer);
+ LayoutTextControl* textControlRenderer = toLayoutTextControl(parentRenderer);
return textControlRenderer->createInnerEditorStyle(textControlRenderer->styleRef());
}
« no previous file with comments | « Source/core/html/forms/TextFieldInputType.cpp ('k') | Source/core/layout/LayoutTextControl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698