OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ |
| 6 #define UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ |
| 7 |
| 8 #include "base/memory/singleton.h" |
| 9 #include "ui/accessibility/ax_export.h" |
| 10 |
| 11 namespace ui { |
| 12 |
| 13 // This singleton class initializes ATK (accessibility toolkit) and |
| 14 // registers an implementation of the AtkUtil class, a global class that |
| 15 // every accessible application needs to register once. |
| 16 class AtkUtilAuraLinux { |
| 17 public: |
| 18 // Get the single instance of this class. |
| 19 static AtkUtilAuraLinux* GetInstance(); |
| 20 |
| 21 AtkUtilAuraLinux(); |
| 22 virtual ~AtkUtilAuraLinux(); |
| 23 |
| 24 private: |
| 25 friend struct DefaultSingletonTraits<AtkUtilAuraLinux>; |
| 26 }; |
| 27 |
| 28 } // namespace ui |
| 29 |
| 30 #endif // UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ |
OLD | NEW |