OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atk/atk.h> | 9 #include <atk/atk.h> |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 class BrowserAccessibilityGtk : public BrowserAccessibility { | 64 class BrowserAccessibilityGtk : public BrowserAccessibility { |
65 public: | 65 public: |
66 BrowserAccessibilityGtk(); | 66 BrowserAccessibilityGtk(); |
67 | 67 |
68 virtual ~BrowserAccessibilityGtk(); | 68 virtual ~BrowserAccessibilityGtk(); |
69 | 69 |
70 AtkObject* GetAtkObject() const; | 70 AtkObject* GetAtkObject() const; |
71 | 71 |
72 AtkRole atk_role() { return atk_role_; } | 72 AtkRole atk_role() { return atk_role_; } |
73 const std::string& atk_acc_name() { return atk_acc_name_; } | 73 const std::string& atk_acc_name() { return atk_acc_name_; } |
| 74 const std::string& atk_acc_description() { return atk_acc_description_; } |
74 | 75 |
75 // BrowserAccessibility methods. | 76 // BrowserAccessibility methods. |
76 virtual void PreInitialize() OVERRIDE; | 77 virtual void PreInitialize() OVERRIDE; |
77 virtual bool IsNative() const OVERRIDE; | 78 virtual bool IsNative() const OVERRIDE; |
78 | 79 |
79 private: | 80 private: |
80 virtual void InitRoleAndState(); | 81 virtual void InitRoleAndState(); |
81 | 82 |
82 // Give BrowserAccessibility::Create access to our constructor. | 83 // Give BrowserAccessibility::Create access to our constructor. |
83 friend class BrowserAccessibility; | 84 friend class BrowserAccessibility; |
84 | 85 |
85 AtkObject* atk_object_; | 86 AtkObject* atk_object_; |
86 AtkRole atk_role_; | 87 AtkRole atk_role_; |
87 std::string atk_acc_name_; | 88 std::string atk_acc_name_; |
| 89 std::string atk_acc_description_; |
88 | 90 |
89 private: | 91 private: |
90 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityGtk); | 92 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityGtk); |
91 }; | 93 }; |
92 | 94 |
93 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ | 95 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ |
OLD | NEW |