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

Side by Side Diff: Source/modules/accessibility/AXNodeObject.h

Issue 813473004: Introducing new API placeHolder() to expose placeholder attribute on MAC (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporating comments Created 6 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 AccessibilityRole determineAriaRoleAttribute() const; 68 AccessibilityRole determineAriaRoleAttribute() const;
69 void elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element> >& e lements, const QualifiedName&) const; 69 void elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element> >& e lements, const QualifiedName&) const;
70 bool hasContentEditableAttributeSet() const; 70 bool hasContentEditableAttributeSet() const;
71 bool isDescendantOfBarrenParent() const; 71 bool isDescendantOfBarrenParent() const;
72 // This returns true if it's focusable but it's not content editable and it' s not a control or ARIA control. 72 // This returns true if it's focusable but it's not content editable and it' s not a control or ARIA control.
73 bool isGenericFocusableElement() const; 73 bool isGenericFocusableElement() const;
74 HTMLLabelElement* labelForElement(Element*) const; 74 HTMLLabelElement* labelForElement(Element*) const;
75 AXObject* menuButtonForMenu() const; 75 AXObject* menuButtonForMenu() const;
76 Element* menuItemElementForMenu() const; 76 Element* menuItemElementForMenu() const;
77 Element* mouseButtonListener() const; 77 Element* mouseButtonListener() const;
78 String placeholder() const;
78 AccessibilityRole remapAriaRoleDueToParent(AccessibilityRole) const; 79 AccessibilityRole remapAriaRoleDueToParent(AccessibilityRole) const;
79 bool isNativeCheckboxOrRadio() const; 80 bool isNativeCheckboxOrRadio() const;
80 void setNode(Node*); 81 void setNode(Node*);
81 AXObject* correspondingControlForLabelElement() const; 82 AXObject* correspondingControlForLabelElement() const;
82 HTMLLabelElement* labelElementContainer() const; 83 HTMLLabelElement* labelElementContainer() const;
83 84
84 // 85 //
85 // Overridden from AXObject. 86 // Overridden from AXObject.
86 // 87 //
87 88
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void changeValueByPercent(float percentChange); 202 void changeValueByPercent(float percentChange);
202 float stepValueForRange() const; 203 float stepValueForRange() const;
203 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; 204 AXObject* findChildWithTagName(const HTMLQualifiedName&) const;
204 }; 205 };
205 206
206 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 207 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
207 208
208 } // namespace blink 209 } // namespace blink
209 210
210 #endif // AXNodeObject_h 211 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698