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

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: removed isRadiobutton() 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..135ff16f852eca03f6ce74cbb3be5f9d126bf4bc 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -1759,6 +1759,14 @@ RadioButtonGroupScope* HTMLInputElement::radioButtonGroupScope() const
return nullptr;
}
+unsigned HTMLInputElement::sizeOfRadioGroup() const
+{
+ RadioButtonGroupScope* scope = radioButtonGroupScope();
+ if (!scope)
+ return 0;
+ return scope->groupSizeFor(this);
+}
+
inline void HTMLInputElement::addToRadioButtonGroup()
{
if (RadioButtonGroupScope* scope = radioButtonGroupScope())

Powered by Google App Engine
This is Rietveld 408576698