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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.h

Issue 2770333002: Merge to M58: AXObject::performDefaultAction() should focus if it can't click (Closed)
Patch Set: Created 3 years, 9 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/modules/accessibility/AXObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
index 090f8f1b11988f0313a68ee8fbcc919c77f2b0c4..99e9eea48b82ad4f694e9152c014c36614403080 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -990,8 +990,8 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
// Modify or take an action on an object.
virtual void increment() {}
virtual void decrement() {}
- bool performDefaultAction() const { return press(); }
- virtual bool press() const;
+ bool performDefaultAction() { return press(); }
+ virtual bool press();
// Make this object visible by scrolling as many nested scrollable views as
// needed.
void scrollToMakeVisible() const;

Powered by Google App Engine
This is Rietveld 408576698