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

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

Issue 131093003: Update accessibility classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/core/accessibility/AXListBox.h ('k') | Source/core/accessibility/AXMediaControls.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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 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 "core/html/HTMLElement.h" 33 #include "core/html/HTMLElement.h"
34 #include "wtf/Forward.h" 34 #include "wtf/Forward.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class AXListBox; 38 class AXListBox;
39 class Element; 39 class Element;
40 class HTMLElement; 40 class HTMLElement;
41 class HTMLSelectElement; 41 class HTMLSelectElement;
42 42
43 class AXListBoxOption : public AXObject { 43 class AXListBoxOption FINAL : public AXObject {
44 44
45 private: 45 private:
46 AXListBoxOption(); 46 AXListBoxOption();
47 public: 47 public:
48 static PassRefPtr<AXListBoxOption> create(); 48 static PassRefPtr<AXListBoxOption> create();
49 virtual ~AXListBoxOption(); 49 virtual ~AXListBoxOption();
50 50
51 void setHTMLElement(HTMLElement* element) { m_optionElement = element; } 51 void setHTMLElement(HTMLElement* element) { m_optionElement = element; }
52 52
53 virtual AccessibilityRole roleValue() const OVERRIDE { return ListBoxOptionR ole; } 53 virtual AccessibilityRole roleValue() const OVERRIDE { return ListBoxOptionR ole; }
(...skipping 19 matching lines...) Expand all
73 HTMLSelectElement* listBoxOptionParentNode() const; 73 HTMLSelectElement* listBoxOptionParentNode() const;
74 int listBoxOptionIndex() const; 74 int listBoxOptionIndex() const;
75 AXObject* listBoxOptionAXObject(HTMLElement*) const; 75 AXObject* listBoxOptionAXObject(HTMLElement*) const;
76 }; 76 };
77 77
78 DEFINE_AX_OBJECT_TYPE_CASTS(AXListBoxOption, isListBoxOption()); 78 DEFINE_AX_OBJECT_TYPE_CASTS(AXListBoxOption, isListBoxOption());
79 79
80 } // namespace WebCore 80 } // namespace WebCore
81 81
82 #endif // AXListBoxOption_h 82 #endif // AXListBoxOption_h
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXListBox.h ('k') | Source/core/accessibility/AXMediaControls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698