Chromium Code Reviews| Index: ui/accessibility/platform/atk_util_auralinux.h |
| diff --git a/ui/accessibility/platform/atk_util_auralinux.h b/ui/accessibility/platform/atk_util_auralinux.h |
| index 349c41a53de07af1061fbb44f598efdb221be2e4..e8054bca42186fee5c89f8a4ca57726433f24f1a 100644 |
| --- a/ui/accessibility/platform/atk_util_auralinux.h |
| +++ b/ui/accessibility/platform/atk_util_auralinux.h |
| @@ -5,9 +5,15 @@ |
| #ifndef UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ |
| #define UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_ |
| +#include "base/callback.h" |
| +#include "base/memory/scoped_ptr.h" |
| #include "base/memory/singleton.h" |
| #include "ui/accessibility/ax_export.h" |
| +namespace base { |
| +class Thread; |
| +} |
| + |
| namespace ui { |
| // This singleton class initializes ATK (accessibility toolkit) and |
| @@ -20,9 +26,17 @@ class AtkUtilAuraLinux { |
| AtkUtilAuraLinux(); |
| virtual ~AtkUtilAuraLinux(); |
| - |
| private: |
| friend struct DefaultSingletonTraits<AtkUtilAuraLinux>; |
| + |
| + void CheckIfAccessibilityIsEnabled(); |
| + void CheckPlatformAccessibilitySupport(); |
| + void OnStopAccessibilityThread(); |
| + |
| +#if defined(USE_GCONF) || defined(USE_DBUS) |
| + bool isEnabled; |
|
dmazzoni
2015/04/20 16:33:22
is_enabled_
|
| + scoped_ptr<base::Thread> accessibility_init_thread_; |
| +#endif |
| }; |
| } // namespace ui |