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

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

Issue 2287433003: Get rid of remaining uses of AXObject::elementRect (Closed)
Patch Set: Rebase Created 4 years, 3 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) 2010 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2010 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 AccessibilityRole roleValue() const override; 52 AccessibilityRole roleValue() const override;
53 bool canHaveChildren() const override { return false; } 53 bool canHaveChildren() const override { return false; }
54 54
55 Element* actionElement() const override; 55 Element* actionElement() const override;
56 bool isEnabled() const override; 56 bool isEnabled() const override;
57 bool isVisible() const override; 57 bool isVisible() const override;
58 bool isOffScreen() const override; 58 bool isOffScreen() const override;
59 bool isSelected() const override; 59 bool isSelected() const override;
60 void setSelected(bool) override; 60 void setSelected(bool) override;
61 bool canSetSelectedAttribute() const override; 61 bool canSetSelectedAttribute() const override;
62 LayoutRect elementRect() const override; 62 void getRelativeBounds(AXObject** outContainer, FloatRect& outBoundsInContai ner, SkMatrix44& outContainerTransform) const override;
63 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri de; 63 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri de;
64 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ; 64 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ;
65 65
66 Member<HTMLOptionElement> m_element; 66 Member<HTMLOptionElement> m_element;
67 }; 67 };
68 68
69 DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListOption, isMenuListOption()); 69 DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListOption, isMenuListOption());
70 70
71 } // namespace blink 71 } // namespace blink
72 72
73 #endif // AXMenuListOption_h 73 #endif // AXMenuListOption_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698