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

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

Issue 1628283002: posinset and setsize for input type, radio, exposed in AX tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed typo Created 4 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
Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
index fcd36e4c43633421e0013b08ff347aedf3399e9b..c4da326e2c1b24a97bde0d42f2b47d8d1171a497 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -1648,6 +1648,11 @@ bool HTMLInputElement::isImage() const
return m_inputType->isImage();
}
+bool HTMLInputElement::isRadioButton() const
+{
+ return m_inputType->isRadioButton();
+}
+
bool HTMLInputElement::isEnumeratable() const
{
return m_inputType->isEnumeratable();
@@ -1759,6 +1764,14 @@ RadioButtonGroupScope* HTMLInputElement::radioButtonGroupScope() const
return nullptr;
}
+unsigned HTMLInputElement::sizeOfRadioGroup() const
+{
+ RadioButtonGroupScope* scope = radioButtonGroupScope();
+ if (!scope)
+ return 0;
+ return scope->sizeOfGroup(this);
+}
+
inline void HTMLInputElement::addToRadioButtonGroup()
{
if (RadioButtonGroupScope* scope = radioButtonGroupScope())

Powered by Google App Engine
This is Rietveld 408576698