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

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

Issue 2120523002: The children of non-editable combo boxes, search boxes and text fields should not be hidden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Windows browser test. Created 4 years, 5 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
« no previous file with comments | « content/test/data/accessibility/html/input-datetime-expected-win.txt ('k') | no next file » | 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 void init() override; 91 void init() override;
92 void detach() override; 92 void detach() override;
93 bool isDetached() const override { return !m_node; } 93 bool isDetached() const override { return !m_node; }
94 bool isAXNodeObject() const final { return true; } 94 bool isAXNodeObject() const final { return true; }
95 95
96 // Check object role or purpose. 96 // Check object role or purpose.
97 bool isAnchor() const final; 97 bool isAnchor() const final;
98 bool isControl() const override; 98 bool isControl() const override;
99 bool isControllingVideoElement() const; 99 bool isControllingVideoElement() const;
100 bool isEditable() const override { return isTextControl(); } 100 bool isEditable() const override { return isNativeTextControl(); }
101 bool isEmbeddedObject() const final; 101 bool isEmbeddedObject() const final;
102 bool isFieldset() const final; 102 bool isFieldset() const final;
103 bool isHeading() const final; 103 bool isHeading() const final;
104 bool isHovered() const final; 104 bool isHovered() const final;
105 bool isImage() const final; 105 bool isImage() const final;
106 bool isImageButton() const; 106 bool isImageButton() const;
107 bool isInputImage() const final; 107 bool isInputImage() const final;
108 bool isLink() const override; 108 bool isLink() const override;
109 bool isMenu() const final; 109 bool isMenu() const final;
110 bool isMenuButton() const final; 110 bool isMenuButton() const final;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 bool isNativeCheckboxInMixedState() const; 211 bool isNativeCheckboxInMixedState() const;
212 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide; 212 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide;
213 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const; 213 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const;
214 float stepValueForRange() const; 214 float stepValueForRange() const;
215 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 215 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
216 }; 216 };
217 217
218 } // namespace blink 218 } // namespace blink
219 219
220 #endif // AXNodeObject_h 220 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « content/test/data/accessibility/html/input-datetime-expected-win.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698