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

Side by Side Diff: Source/modules/accessibility/AXSlider.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/accessibility/AXSVGRoot.cpp ('k') | Source/modules/accessibility/AXSlider.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) 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 22 matching lines...) Expand all
33 #include "modules/accessibility/AXRenderObject.h" 33 #include "modules/accessibility/AXRenderObject.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class AXObjectCacheImpl; 37 class AXObjectCacheImpl;
38 class HTMLInputElement; 38 class HTMLInputElement;
39 39
40 class AXSlider : public AXRenderObject { 40 class AXSlider : public AXRenderObject {
41 41
42 public: 42 public:
43 static PassRefPtr<AXSlider> create(RenderObject*, AXObjectCacheImpl*); 43 static PassRefPtr<AXSlider> create(LayoutObject*, AXObjectCacheImpl*);
44 virtual ~AXSlider() { } 44 virtual ~AXSlider() { }
45 45
46 protected: 46 protected:
47 AXSlider(RenderObject*, 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 { return SliderRole; }
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;
(...skipping 18 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXSVGRoot.cpp ('k') | Source/modules/accessibility/AXSlider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698