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

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

Issue 2147963004: AX: Don't use listIndex in AXListBoxOption class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool isSelectedOptionActive() const override; 55 bool isSelectedOptionActive() const override;
56 void setSelected(bool) override; 56 void setSelected(bool) override;
57 bool canSetSelectedAttribute() const override; 57 bool canSetSelectedAttribute() const override;
58 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri de; 58 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri de;
59 59
60 private: 60 private:
61 bool canHaveChildren() const override { return false; } 61 bool canHaveChildren() const override { return false; }
62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ; 62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ;
63 63
64 HTMLSelectElement* listBoxOptionParentNode() const; 64 HTMLSelectElement* listBoxOptionParentNode() const;
65 int listBoxOptionIndex() const;
66 bool isParentPresentationalRole() const; 65 bool isParentPresentationalRole() const;
67 }; 66 };
68 67
69 } // namespace blink 68 } // namespace blink
70 69
71 #endif // AXListBoxOption_h 70 #endif // AXListBoxOption_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698