OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 static PassRefPtr<AXSlider> create(LayoutObject*, AXObjectCacheImpl*); | 43 static PassRefPtr<AXSlider> create(LayoutObject*, AXObjectCacheImpl*); |
44 virtual ~AXSlider() { } | 44 virtual ~AXSlider() { } |
45 | 45 |
46 protected: | 46 protected: |
47 AXSlider(LayoutObject*, AXObjectCacheImpl*); | 47 AXSlider(LayoutObject*, AXObjectCacheImpl*); |
48 | 48 |
49 private: | 49 private: |
50 HTMLInputElement* element() const; | 50 HTMLInputElement* element() const; |
51 virtual AXObject* elementAccessibilityHitTest(const IntPoint&) const overrid
e final; | 51 virtual AXObject* elementAccessibilityHitTest(const IntPoint&) const overrid
e final; |
52 | 52 |
53 virtual AccessibilityRole roleValue() const override { return SliderRole; } | 53 virtual AccessibilityRole roleValue() const override; |
54 virtual bool isSlider() const override final { return true; } | 54 virtual bool isSlider() const override final { return true; } |
55 virtual bool isControl() const override final { return true; } | 55 virtual bool isControl() const override final { return true; } |
56 | 56 |
57 virtual void addChildren() override final; | 57 virtual void addChildren() override final; |
58 | 58 |
59 virtual bool canSetValueAttribute() const override final { return true; } | 59 virtual bool canSetValueAttribute() const override final { return true; } |
60 const AtomicString& getAttribute(const QualifiedName& attribute) const; | 60 const AtomicString& getAttribute(const QualifiedName& attribute) const; |
61 | 61 |
62 virtual void setValue(const String&) override final; | 62 virtual void setValue(const String&) override final; |
63 virtual AccessibilityOrientation orientation() const override final; | 63 virtual AccessibilityOrientation orientation() const override final; |
(...skipping 12 matching lines...) Expand all Loading... |
76 private: | 76 private: |
77 explicit AXSliderThumb(AXObjectCacheImpl*); | 77 explicit AXSliderThumb(AXObjectCacheImpl*); |
78 | 78 |
79 virtual bool computeAccessibilityIsIgnored() const override; | 79 virtual bool computeAccessibilityIsIgnored() const override; |
80 }; | 80 }; |
81 | 81 |
82 | 82 |
83 } // namespace blink | 83 } // namespace blink |
84 | 84 |
85 #endif // AXSlider_h | 85 #endif // AXSlider_h |
OLD | NEW |