| Index: third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| index 5a2abc3cd1a38e4acf70a72b2f06409e7084b220..9bd7ce182df5201a8d8461b3e42f9782547e5ece 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| @@ -917,7 +917,8 @@ static String queryString(WebLocalizedString::Name name)
|
|
|
| String AXObject::actionVerb() const
|
| {
|
| - // FIXME: Need to add verbs for select elements.
|
| + if (!actionElement())
|
| + return emptyString();
|
|
|
| switch (roleValue()) {
|
| case ButtonRole:
|
| @@ -933,13 +934,9 @@ String AXObject::actionVerb() const
|
| case LinkRole:
|
| return queryString(WebLocalizedString::AXLinkActionVerb);
|
| case PopUpButtonRole:
|
| - // FIXME: Implement.
|
| - return String();
|
| - case MenuListPopupRole:
|
| - // FIXME: Implement.
|
| - return String();
|
| + return queryString(WebLocalizedString::AXPopUpButtonActionVerb);
|
| default:
|
| - return emptyString();
|
| + return queryString(WebLocalizedString::AXDefaultActionVerb);
|
| }
|
| }
|
|
|
|
|