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

Unified Diff: Source/core/html/HTMLInputElement.cpp

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests 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/HTMLInputElement.h ('k') | Source/core/html/HTMLInputElementTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index f9667a2078f2a7f3c827334862550c46beb18b78..711a50f41f71c813ec149bbc902e6b543a895316 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -139,7 +139,7 @@ PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& docu
{
RefPtrWillBeRawPtr<HTMLInputElement> inputElement = adoptRefWillBeNoop(new HTMLInputElement(document, form, createdByParser));
if (!createdByParser)
- inputElement->ensureUserAgentShadowRoot();
+ inputElement->ensureClosedShadowRoot();
return inputElement.release();
}
@@ -159,12 +159,12 @@ HTMLImageLoader& HTMLInputElement::ensureImageLoader()
return *m_imageLoader;
}
-void HTMLInputElement::didAddUserAgentShadowRoot(ShadowRoot&)
+void HTMLInputElement::didAddClosedShadowRoot(ShadowRoot&)
{
m_inputTypeView->createShadowSubtree();
}
-void HTMLInputElement::willAddFirstAuthorShadowRoot()
+void HTMLInputElement::willAddFirstOpenShadowRoot()
{
m_inputTypeView->destroyShadowSubtree();
m_inputTypeView = InputTypeView::create(*this);
@@ -435,7 +435,7 @@ void HTMLInputElement::initializeTypeInParsing()
const AtomicString& newTypeName = InputType::normalizeTypeName(fastGetAttribute(typeAttr));
m_inputType = InputType::create(*this, newTypeName);
m_inputTypeView = m_inputType;
- ensureUserAgentShadowRoot();
+ ensureClosedShadowRoot();
updateTouchEventHandlerRegistry();
@@ -467,7 +467,7 @@ void HTMLInputElement::updateType()
lazyReattachIfAttached();
m_inputType = newType.release();
- if (hasAuthorShadowRoot())
+ if (hasOpenShadowRoot())
m_inputTypeView = InputTypeView::create(*this);
else
m_inputTypeView = m_inputType;
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/HTMLInputElementTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698