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

Unified Diff: Source/core/html/forms/TextFieldInputType.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/forms/SearchInputType.cpp ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/TextFieldInputType.cpp
diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp
index 989465d48f8a878616b0ada4ecf71e077b877c46..29e2e6343d73d61f87cb787a2a3652bc5a6c0114 100644
--- a/Source/core/html/forms/TextFieldInputType.cpp
+++ b/Source/core/html/forms/TextFieldInputType.cpp
@@ -124,7 +124,7 @@ TextFieldInputType::~TextFieldInputType()
SpinButtonElement* TextFieldInputType::spinButtonElement() const
{
- return toSpinButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton()));
+ return toSpinButtonElement(element().closedShadowRoot()->getElementById(ShadowElementNames::spinButton()));
}
bool TextFieldInputType::shouldShowFocusRingOnMouseFocus() const
@@ -281,7 +281,7 @@ bool TextFieldInputType::shouldHaveSpinButton() const
void TextFieldInputType::createShadowSubtree()
{
ASSERT(element().shadow());
- ShadowRoot* shadowRoot = element().userAgentShadowRoot();
+ ShadowRoot* shadowRoot = element().closedShadowRoot();
ASSERT(!shadowRoot->hasChildren());
Document& document = element().document();
@@ -316,7 +316,7 @@ void TextFieldInputType::createShadowSubtree()
Element* TextFieldInputType::containerElement() const
{
- return element().userAgentShadowRoot()->getElementById(ShadowElementNames::textFieldContainer());
+ return element().closedShadowRoot()->getElementById(ShadowElementNames::textFieldContainer());
}
void TextFieldInputType::destroyShadowSubtree()
@@ -330,7 +330,7 @@ void TextFieldInputType::listAttributeTargetChanged()
{
if (Chrome* chrome = this->chrome())
chrome->client().textFieldDataListChanged(element());
- Element* picker = element().userAgentShadowRoot()->getElementById(ShadowElementNames::pickerIndicator());
+ Element* picker = element().closedShadowRoot()->getElementById(ShadowElementNames::pickerIndicator());
bool didHavePickerIndicator = picker;
bool willHavePickerIndicator = element().hasValidDataListOptions();
if (didHavePickerIndicator == willHavePickerIndicator)
« no previous file with comments | « Source/core/html/forms/SearchInputType.cpp ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698