OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ | 5 #ifndef UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ |
6 #define UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ | 6 #define UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ |
7 | 7 |
8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
9 #include "ui/accessibility/ax_export.h" | 9 #include "ui/accessibility/ax_export.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 // Get the single instance of this class. | 22 // Get the single instance of this class. |
23 static AtkUtilAuraLinux* GetInstance(); | 23 static AtkUtilAuraLinux* GetInstance(); |
24 | 24 |
25 AtkUtilAuraLinux(); | 25 AtkUtilAuraLinux(); |
26 virtual ~AtkUtilAuraLinux(); | 26 virtual ~AtkUtilAuraLinux(); |
27 | 27 |
28 void Initialize(scoped_refptr<base::TaskRunner> init_task_runner); | 28 void Initialize(scoped_refptr<base::TaskRunner> init_task_runner); |
29 | 29 |
30 private: | 30 private: |
31 friend struct base::DefaultSingletonTraits<AtkUtilAuraLinux>; | 31 friend struct base::DefaultSingletonTraits<AtkUtilAuraLinux>; |
| 32 |
| 33 void CheckIfAccessibilityIsEnabledOnFileThread(); |
| 34 bool CheckPlatformAccessibilitySupportOnFileThread(); |
| 35 void FinishAccessibilityInitOnUIThread(); |
| 36 |
| 37 #if defined(USE_GCONF) |
| 38 bool is_enabled_; |
| 39 #endif |
32 }; | 40 }; |
33 | 41 |
34 } // namespace ui | 42 } // namespace ui |
35 | 43 |
36 #endif // UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ | 44 #endif // UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ |
OLD | NEW |