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

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

Issue 603423002: Replace OVERRIDE and FINAL with their C++11 counterparts in core/accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Narrowing area to core/accessibility Created 6 years, 2 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
« no previous file with comments | « Source/core/accessibility/AXScrollbar.h ('k') | Source/core/accessibility/AXSpinButton.h » ('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 29 matching lines...) Expand all
40 40
41 public: 41 public:
42 static PassRefPtr<AXSlider> create(RenderObject*); 42 static PassRefPtr<AXSlider> create(RenderObject*);
43 virtual ~AXSlider() { } 43 virtual ~AXSlider() { }
44 44
45 protected: 45 protected:
46 explicit AXSlider(RenderObject*); 46 explicit AXSlider(RenderObject*);
47 47
48 private: 48 private:
49 HTMLInputElement* element() const; 49 HTMLInputElement* element() const;
50 virtual AXObject* elementAccessibilityHitTest(const IntPoint&) const OVERRID E FINAL; 50 virtual AXObject* elementAccessibilityHitTest(const IntPoint&) const overrid e final;
51 51
52 virtual AccessibilityRole roleValue() const OVERRIDE { return SliderRole; } 52 virtual AccessibilityRole roleValue() const override { return SliderRole; }
53 virtual bool isSlider() const OVERRIDE FINAL { return true; } 53 virtual bool isSlider() const override final { return true; }
54 virtual bool isControl() const OVERRIDE FINAL { return true; } 54 virtual bool isControl() const override final { return true; }
55 55
56 virtual void addChildren() OVERRIDE FINAL; 56 virtual void addChildren() override final;
57 57
58 virtual bool canSetValueAttribute() const OVERRIDE FINAL { return true; } 58 virtual bool canSetValueAttribute() const override final { return true; }
59 const AtomicString& getAttribute(const QualifiedName& attribute) const; 59 const AtomicString& getAttribute(const QualifiedName& attribute) const;
60 60
61 virtual void setValue(const String&) OVERRIDE FINAL; 61 virtual void setValue(const String&) override final;
62 virtual AccessibilityOrientation orientation() const OVERRIDE FINAL; 62 virtual AccessibilityOrientation orientation() const override final;
63 }; 63 };
64 64
65 class AXSliderThumb FINAL : public AXMockObject { 65 class AXSliderThumb final : public AXMockObject {
66 66
67 public: 67 public:
68 static PassRefPtr<AXSliderThumb> create(); 68 static PassRefPtr<AXSliderThumb> create();
69 virtual ~AXSliderThumb() { } 69 virtual ~AXSliderThumb() { }
70 70
71 virtual AccessibilityRole roleValue() const OVERRIDE { return SliderThumbRol e; } 71 virtual AccessibilityRole roleValue() const override { return SliderThumbRol e; }
72 72
73 virtual LayoutRect elementRect() const OVERRIDE; 73 virtual LayoutRect elementRect() const override;
74 74
75 private: 75 private:
76 AXSliderThumb(); 76 AXSliderThumb();
77 77
78 virtual bool computeAccessibilityIsIgnored() const OVERRIDE; 78 virtual bool computeAccessibilityIsIgnored() const override;
79 }; 79 };
80 80
81 81
82 } // namespace blink 82 } // namespace blink
83 83
84 #endif // AXSlider_h 84 #endif // AXSlider_h
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXScrollbar.h ('k') | Source/core/accessibility/AXSpinButton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698