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

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

Issue 2492083002: Implement aria-placeholder (Closed)
Patch Set: Rebaseline android placeholder test Created 4 years, 1 month 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 69ebc35548aaca9bff168e5b0dc3ece4718ee0fc..a2e6ab8aeec63fe0917cd2bb5935aa3f5ed6cc78 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -348,7 +348,6 @@ enum AXDescriptionFrom {
AXDescriptionFromUninitialized = -1,
AXDescriptionFromAttribute = 0,
AXDescriptionFromContents,
- AXDescriptionFromPlaceholder,
AXDescriptionFromRelatedElement,
};
@@ -717,9 +716,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
// Takes the result of nameFrom and descriptionFrom from calling |name| and
// |description|, above, and retrieves the placeholder of the object, if
// present and if it wasn't already exposed by one of the two functions above.
- virtual String placeholder(AXNameFrom, AXDescriptionFrom) const {
- return String();
- }
+ virtual String placeholder(AXNameFrom) const { return String(); }
// Internal functions used by name and description, above.
typedef HeapHashSet<Member<const AXObject>> AXObjectSet;

Powered by Google App Engine
This is Rietveld 408576698