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.
5 #ifndef UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_
6 #define UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_
8 #include "base/memory/singleton.h"
9 #include "ui/accessibility/ax_export.h"
17 // This singleton class initializes ATK (accessibility toolkit) and
18 // registers an implementation of the AtkUtil class, a global class that
19 // every accessible application needs to register once.
20 class AtkUtilAuraLinux
{
22 // Get the single instance of this class.
23 static AtkUtilAuraLinux
* GetInstance();
26 virtual ~AtkUtilAuraLinux();
28 void Initialize(scoped_refptr
<base::TaskRunner
> init_task_runner
);
31 friend struct base::DefaultSingletonTraits
<AtkUtilAuraLinux
>;
36 #endif // UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_