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

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: Created 4 years, 11 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 03cba21d8ca1fabba0b517620be266004b48713b..688653cc5d60ef1d20db5dc0e563ee4b9c43c82d 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -1749,6 +1749,22 @@ RadioButtonGroupScope* HTMLInputElement::radioButtonGroupScope() const
return nullptr;
}
+unsigned HTMLInputElement::posInRadioGroup()
+{
+ RadioButtonGroupScope* scope = radioButtonGroupScope();
+ if (!scope)
+ return 0;
+ return scope->posInGroup(this);
+}
+
+unsigned HTMLInputElement::sizeOfRadioGroup()
+{
+ 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