| 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 | 7 |
| 8 #include <atk/atk.h> | 8 #include <atk/atk.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 class BrowserAccessibilityGtk : public BrowserAccessibility { | 62 class BrowserAccessibilityGtk : public BrowserAccessibility { |
| 63 public: | 63 public: |
| 64 BrowserAccessibilityGtk(); | 64 BrowserAccessibilityGtk(); |
| 65 | 65 |
| 66 virtual ~BrowserAccessibilityGtk(); | 66 virtual ~BrowserAccessibilityGtk(); |
| 67 | 67 |
| 68 AtkObject* GetAtkObject() const; | 68 AtkObject* GetAtkObject() const; |
| 69 | 69 |
| 70 AtkRole atk_role() { return atk_role_; } | 70 AtkRole atk_role() { return atk_role_; } |
| 71 const std::string& atk_acc_name() { return atk_acc_name_; } | |
| 72 const std::string& atk_acc_description() { return atk_acc_description_; } | |
| 73 | 71 |
| 74 // BrowserAccessibility methods. | 72 // BrowserAccessibility methods. |
| 75 virtual void PreInitialize() OVERRIDE; | 73 virtual void PreInitialize() OVERRIDE; |
| 76 virtual bool IsNative() const OVERRIDE; | 74 virtual bool IsNative() const OVERRIDE; |
| 77 | 75 |
| 78 private: | 76 private: |
| 79 virtual void InitRoleAndState(); | 77 virtual void InitRoleAndState(); |
| 80 | 78 |
| 81 // Give BrowserAccessibility::Create access to our constructor. | 79 // Give BrowserAccessibility::Create access to our constructor. |
| 82 friend class BrowserAccessibility; | 80 friend class BrowserAccessibility; |
| 83 | 81 |
| 84 AtkObject* atk_object_; | 82 AtkObject* atk_object_; |
| 85 AtkRole atk_role_; | 83 AtkRole atk_role_; |
| 86 std::string atk_acc_name_; | |
| 87 std::string atk_acc_description_; | |
| 88 int interface_mask_; | 84 int interface_mask_; |
| 89 | 85 |
| 90 private: | 86 private: |
| 91 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityGtk); | 87 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityGtk); |
| 92 }; | 88 }; |
| 93 | 89 |
| 94 } // namespace content | 90 } // namespace content |
| 95 | 91 |
| 96 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ | 92 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_ |
| OLD | NEW |