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

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

Issue 679623002: Check whether aria-expanded attribute is defined (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add COMPILE ASSERT for new enum type Created 6 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 unified diff | Download patch
« no previous file with comments | « Source/core/accessibility/AXMenuList.cpp ('k') | Source/core/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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual bool isNativeTextControl() const override final; 106 virtual bool isNativeTextControl() const override final;
107 virtual bool isNonNativeTextControl() const override final; 107 virtual bool isNonNativeTextControl() const override final;
108 virtual bool isPasswordField() const override final; 108 virtual bool isPasswordField() const override final;
109 virtual bool isProgressIndicator() const override; 109 virtual bool isProgressIndicator() const override;
110 virtual bool isSlider() const override; 110 virtual bool isSlider() const override;
111 111
112 // Check object state. 112 // Check object state.
113 virtual bool isChecked() const override final; 113 virtual bool isChecked() const override final;
114 virtual bool isClickable() const override final; 114 virtual bool isClickable() const override final;
115 virtual bool isEnabled() const override; 115 virtual bool isEnabled() const override;
116 virtual bool isExpanded() const override final; 116 virtual AccessibilityExpanded isExpanded() const override;
117 virtual bool isIndeterminate() const override final; 117 virtual bool isIndeterminate() const override final;
118 virtual bool isPressed() const override final; 118 virtual bool isPressed() const override final;
119 virtual bool isReadOnly() const override; 119 virtual bool isReadOnly() const override;
120 virtual bool isRequired() const override final; 120 virtual bool isRequired() const override final;
121 121
122 // Check whether certain properties can be modified. 122 // Check whether certain properties can be modified.
123 virtual bool canSetFocusAttribute() const override; 123 virtual bool canSetFocusAttribute() const override;
124 virtual bool canSetValueAttribute() const override; 124 virtual bool canSetValueAttribute() const override;
125 125
126 // Properties of static elements. 126 // Properties of static elements.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 void ariaLabeledByText(Vector<AccessibilityText>&) const; 194 void ariaLabeledByText(Vector<AccessibilityText>&) const;
195 void changeValueByPercent(float percentChange); 195 void changeValueByPercent(float percentChange);
196 float stepValueForRange() const; 196 float stepValueForRange() const;
197 }; 197 };
198 198
199 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 199 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
200 200
201 } // namespace blink 201 } // namespace blink
202 202
203 #endif // AXNodeObject_h 203 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXMenuList.cpp ('k') | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698