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 #include <atk/atk.h> | 5 #include <atk/atk.h> |
6 #if defined(USE_GCONF) | 6 #if defined(USE_GCONF) |
7 #include <gconf/gconf-client.h> | 7 #include <gconf/gconf-client.h> |
8 #endif | 8 #endif |
9 #include <glib-2.0/gmodule.h> | 9 #include <glib-2.0/gmodule.h> |
10 | 10 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 G_END_DECLS | 129 G_END_DECLS |
130 | 130 |
131 // | 131 // |
132 // AtkUtilAuraLinuxClass implementation. | 132 // AtkUtilAuraLinuxClass implementation. |
133 // | 133 // |
134 | 134 |
135 namespace ui { | 135 namespace ui { |
136 | 136 |
137 // static | 137 // static |
138 AtkUtilAuraLinux* AtkUtilAuraLinux::GetInstance() { | 138 AtkUtilAuraLinux* AtkUtilAuraLinux::GetInstance() { |
139 return Singleton<AtkUtilAuraLinux>::get(); | 139 return base::Singleton<AtkUtilAuraLinux>::get(); |
140 } | 140 } |
141 | 141 |
142 AtkUtilAuraLinux::AtkUtilAuraLinux() { | 142 AtkUtilAuraLinux::AtkUtilAuraLinux() { |
143 } | 143 } |
144 | 144 |
145 void AtkUtilAuraLinux::Initialize( | 145 void AtkUtilAuraLinux::Initialize( |
146 scoped_refptr<base::TaskRunner> /* init_task_runner */) { | 146 scoped_refptr<base::TaskRunner> /* init_task_runner */) { |
147 // TODO(k.czech): use |init_task_runner| to post a task to do the | 147 // TODO(k.czech): use |init_task_runner| to post a task to do the |
148 // initialization rather than doing it on this thread. | 148 // initialization rather than doing it on this thread. |
149 // http://crbug.com/468112 | 149 // http://crbug.com/468112 |
(...skipping 23 matching lines...) Expand all Loading... |
173 if (g_module_symbol(bridge, "gnome_accessibility_module_init", | 173 if (g_module_symbol(bridge, "gnome_accessibility_module_init", |
174 (gpointer *)&gnome_accessibility_module_init)) { | 174 (gpointer *)&gnome_accessibility_module_init)) { |
175 (*gnome_accessibility_module_init)(); | 175 (*gnome_accessibility_module_init)(); |
176 } | 176 } |
177 } | 177 } |
178 | 178 |
179 AtkUtilAuraLinux::~AtkUtilAuraLinux() { | 179 AtkUtilAuraLinux::~AtkUtilAuraLinux() { |
180 } | 180 } |
181 | 181 |
182 } // namespace ui | 182 } // namespace ui |
OLD | NEW |