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

Side by Side Diff: Source/core/accessibility/AccessibilitySlider.h

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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 | Annotate | Revision Log
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 28 matching lines...) Expand all
39 class AccessibilitySlider : public AccessibilityRenderObject { 39 class AccessibilitySlider : public AccessibilityRenderObject {
40 40
41 public: 41 public:
42 static PassRefPtr<AccessibilitySlider> create(RenderObject*); 42 static PassRefPtr<AccessibilitySlider> create(RenderObject*);
43 virtual ~AccessibilitySlider() { } 43 virtual ~AccessibilitySlider() { }
44 44
45 protected: 45 protected:
46 explicit AccessibilitySlider(RenderObject*); 46 explicit AccessibilitySlider(RenderObject*);
47 47
48 private: 48 private:
49 HTMLInputElement* element() const; 49 Result<HTMLInputElement> element() const;
50 virtual AccessibilityObject* elementAccessibilityHitTest(const IntPoint&) co nst; 50 virtual AccessibilityObject* elementAccessibilityHitTest(const IntPoint&) co nst;
51 51
52 virtual AccessibilityRole roleValue() const { return SliderRole; } 52 virtual AccessibilityRole roleValue() const { return SliderRole; }
53 virtual bool isSlider() const { return true; } 53 virtual bool isSlider() const { return true; }
54 virtual bool isInputSlider() const { return true; } 54 virtual bool isInputSlider() const { return true; }
55 virtual bool isControl() const { return true; } 55 virtual bool isControl() const { return true; }
56 56
57 virtual void addChildren(); 57 virtual void addChildren();
58 58
59 virtual bool canSetValueAttribute() const { return true; } 59 virtual bool canSetValueAttribute() const { return true; }
(...skipping 19 matching lines...) Expand all
79 private: 79 private:
80 AccessibilitySliderThumb(); 80 AccessibilitySliderThumb();
81 81
82 virtual bool computeAccessibilityIsIgnored() const; 82 virtual bool computeAccessibilityIsIgnored() const;
83 }; 83 };
84 84
85 85
86 } // namespace WebCore 86 } // namespace WebCore
87 87
88 #endif // AccessibilitySlider_h 88 #endif // AccessibilitySlider_h
OLDNEW
« no previous file with comments | « Source/core/accessibility/AccessibilityRenderObject.cpp ('k') | Source/core/accessibility/AccessibilitySlider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698