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

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

Issue 2666873005: Implement aria-modal (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 bool isProgressIndicator() const override; 122 bool isProgressIndicator() const override;
123 bool isRichlyEditable() const override; 123 bool isRichlyEditable() const override;
124 bool isSlider() const override; 124 bool isSlider() const override;
125 bool isNativeSlider() const override; 125 bool isNativeSlider() const override;
126 126
127 // Check object state. 127 // Check object state.
128 bool isChecked() const final; 128 bool isChecked() const final;
129 bool isClickable() const final; 129 bool isClickable() const final;
130 bool isEnabled() const override; 130 bool isEnabled() const override;
131 AccessibilityExpanded isExpanded() const override; 131 AccessibilityExpanded isExpanded() const override;
132 bool isModal() const final;
132 bool isPressed() const final; 133 bool isPressed() const final;
133 bool isReadOnly() const override; 134 bool isReadOnly() const override;
134 bool isRequired() const final; 135 bool isRequired() const final;
135 136
136 // Check whether certain properties can be modified. 137 // Check whether certain properties can be modified.
137 bool canSetFocusAttribute() const override; 138 bool canSetFocusAttribute() const override;
138 bool canSetValueAttribute() const override; 139 bool canSetValueAttribute() const override;
139 bool canSetSelectedAttribute() const override; 140 bool canSetSelectedAttribute() const override;
140 141
141 // Properties of static elements. 142 // Properties of static elements.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 NameSources*, 237 NameSources*,
237 bool* foundTextAlternative) const; 238 bool* foundTextAlternative) const;
238 float stepValueForRange() const; 239 float stepValueForRange() const;
239 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 240 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
240 String placeholderFromNativeAttribute() const; 241 String placeholderFromNativeAttribute() const;
241 }; 242 };
242 243
243 } // namespace blink 244 } // namespace blink
244 245
245 #endif // AXNodeObject_h 246 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698