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

Side by Side Diff: ui/views/accessibility/ax_window_obj_wrapper.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_ 5 #ifndef UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_
6 #define UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_ 6 #define UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_
7 7
8 #include "ui/aura/window_observer.h" 8 #include "ui/aura/window_observer.h"
9 #include "ui/views/accessibility/ax_aura_obj_wrapper.h" 9 #include "ui/views/accessibility/ax_aura_obj_wrapper.h"
10 10
11 namespace aura { 11 namespace aura {
12 class Window; 12 class Window;
13 } // namespace aura 13 } // namespace aura
14 14
15 namespace views { 15 namespace views {
16 16
17 // Describes a |Window| for use with other AX classes. 17 // Describes a |Window| for use with other AX classes.
18 class AXWindowObjWrapper : public AXAuraObjWrapper, 18 class AXWindowObjWrapper : public AXAuraObjWrapper,
19 public aura::WindowObserver { 19 public aura::WindowObserver {
20 public: 20 public:
21 explicit AXWindowObjWrapper(aura::Window* window); 21 explicit AXWindowObjWrapper(aura::Window* window);
22 virtual ~AXWindowObjWrapper(); 22 virtual ~AXWindowObjWrapper();
23 23
24 // AXAuraObjWrapper overrides. 24 // AXAuraObjWrapper overrides.
25 virtual AXAuraObjWrapper* GetParent() OVERRIDE; 25 virtual AXAuraObjWrapper* GetParent() override;
26 virtual void GetChildren( 26 virtual void GetChildren(
27 std::vector<AXAuraObjWrapper*>* out_children) OVERRIDE; 27 std::vector<AXAuraObjWrapper*>* out_children) override;
28 virtual void Serialize(ui::AXNodeData* out_node_data) OVERRIDE; 28 virtual void Serialize(ui::AXNodeData* out_node_data) override;
29 virtual int32 GetID() OVERRIDE; 29 virtual int32 GetID() override;
30 30
31 // WindowObserver overrides. 31 // WindowObserver overrides.
32 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 32 virtual void OnWindowDestroying(aura::Window* window) override;
33 33
34 private: 34 private:
35 aura::Window* window_; 35 aura::Window* window_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(AXWindowObjWrapper); 37 DISALLOW_COPY_AND_ASSIGN(AXWindowObjWrapper);
38 }; 38 };
39 39
40 } // namespace views 40 } // namespace views
41 41
42 #endif // UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_ 42 #endif // UI_VIEWS_ACCESSIBILITY_AX_WINDOW_OBJ_WRAPPER_H_
OLDNEW
« no previous file with comments | « ui/views/accessibility/ax_widget_obj_wrapper.h ('k') | ui/views/accessibility/native_view_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698