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

Side by Side Diff: webkit/tools/test_shell/accessibility_ui_element.h

Issue 8539047: Add OVERRIDE to webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 1 month 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_UI_ELEMENT_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_UI_ELEMENT_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_UI_ELEMENT_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_UI_ELEMENT_H_
7 7
8 #include "webkit/glue/cpp_bound_class.h" 8 #include "webkit/glue/cpp_bound_class.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec t.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec t.h"
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 }; 107 };
108 108
109 109
110 class RootAccessibilityUIElement : public AccessibilityUIElement { 110 class RootAccessibilityUIElement : public AccessibilityUIElement {
111 public: 111 public:
112 RootAccessibilityUIElement( 112 RootAccessibilityUIElement(
113 const WebKit::WebAccessibilityObject& accessibility_object, 113 const WebKit::WebAccessibilityObject& accessibility_object,
114 Factory* factory); 114 Factory* factory);
115 virtual ~RootAccessibilityUIElement(); 115 virtual ~RootAccessibilityUIElement();
116 116
117 virtual AccessibilityUIElement* GetChildAtIndex(unsigned index); 117 virtual AccessibilityUIElement* GetChildAtIndex(unsigned index) OVERRIDE;
118 virtual bool IsRoot() const; 118 virtual bool IsRoot() const OVERRIDE;
119 }; 119 };
120 120
121 121
122 // Provides simple lifetime management of the AccessibilityUIElement instances: 122 // Provides simple lifetime management of the AccessibilityUIElement instances:
123 // all AccessibilityUIElements ever created from the controller are stored in 123 // all AccessibilityUIElements ever created from the controller are stored in
124 // a list and cleared explicitly. 124 // a list and cleared explicitly.
125 class AccessibilityUIElementList : public AccessibilityUIElement::Factory { 125 class AccessibilityUIElementList : public AccessibilityUIElement::Factory {
126 public: 126 public:
127 AccessibilityUIElementList(); 127 AccessibilityUIElementList();
128 virtual ~AccessibilityUIElementList(); 128 virtual ~AccessibilityUIElementList();
129 129
130 void Clear(); 130 void Clear();
131 virtual AccessibilityUIElement* Create( 131 virtual AccessibilityUIElement* Create(
132 const WebKit::WebAccessibilityObject& object); 132 const WebKit::WebAccessibilityObject& object) OVERRIDE;
133 AccessibilityUIElement* CreateRoot( 133 AccessibilityUIElement* CreateRoot(
134 const WebKit::WebAccessibilityObject& object); 134 const WebKit::WebAccessibilityObject& object);
135 135
136 private: 136 private:
137 typedef std::vector<AccessibilityUIElement*> ElementList; 137 typedef std::vector<AccessibilityUIElement*> ElementList;
138 ElementList elements_; 138 ElementList elements_;
139 }; 139 };
140 140
141 #endif // WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_UI_ELEMENT_H_ 141 #endif // WEBKIT_TOOLS_TEST_SHELL_ACCESSIBILITY_UI_ELEMENT_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webplugin_page_delegate.h ('k') | webkit/tools/test_shell/simple_file_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698