summaryrefslogtreecommitdiff
path: root/chromium/ui/accessibility/ax_enum_util.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/ui/accessibility/ax_enum_util.cc
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ui/accessibility/ax_enum_util.cc')
-rw-r--r--chromium/ui/accessibility/ax_enum_util.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/ui/accessibility/ax_enum_util.cc b/chromium/ui/accessibility/ax_enum_util.cc
index 35bbef5afc6..6d592227fc2 100644
--- a/chromium/ui/accessibility/ax_enum_util.cc
+++ b/chromium/ui/accessibility/ax_enum_util.cc
@@ -81,8 +81,6 @@ const char* ToString(ax::mojom::Event event) {
return "menuListValueChanged";
case ax::mojom::Event::kMenuPopupEnd:
return "menuPopupEnd";
- case ax::mojom::Event::kMenuPopupHide:
- return "menuPopupHide";
case ax::mojom::Event::kMenuPopupStart:
return "menuPopupStart";
case ax::mojom::Event::kMenuStart:
@@ -211,8 +209,6 @@ ax::mojom::Event ParseEvent(const char* event) {
return ax::mojom::Event::kMenuListValueChanged;
if (0 == strcmp(event, "menuPopupEnd"))
return ax::mojom::Event::kMenuPopupEnd;
- if (0 == strcmp(event, "menuPopupHide"))
- return ax::mojom::Event::kMenuPopupHide;
if (0 == strcmp(event, "menuPopupStart"))
return ax::mojom::Event::kMenuPopupStart;
if (0 == strcmp(event, "menuStart"))
@@ -1884,6 +1880,8 @@ const char* ToString(ax::mojom::BoolAttribute bool_attribute) {
return "clipsChildren";
case ax::mojom::BoolAttribute::kSelected:
return "selected";
+ case ax::mojom::BoolAttribute::kSelectedFromFocus:
+ return "selectedFromFocus";
case ax::mojom::BoolAttribute::kSupportsTextLocation:
return "supportsTextLocation";
case ax::mojom::BoolAttribute::kIsLineBreakingObject:
@@ -1926,6 +1924,8 @@ ax::mojom::BoolAttribute ParseBoolAttribute(const char* bool_attribute) {
return ax::mojom::BoolAttribute::kClipsChildren;
if (0 == strcmp(bool_attribute, "selected"))
return ax::mojom::BoolAttribute::kSelected;
+ if (0 == strcmp(bool_attribute, "selectedFromFocus"))
+ return ax::mojom::BoolAttribute::kSelectedFromFocus;
if (0 == strcmp(bool_attribute, "supportsTextLocation"))
return ax::mojom::BoolAttribute::kSupportsTextLocation;
if (0 == strcmp(bool_attribute, "isLineBreakingObject"))