Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: ui/accessibility/platform/ax_platform_node_auralinux.h

Issue 1089003003: Pass a TaskRunner through ViewsDelegate to put AX init on FILE thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment about FILE thread Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/accessibility/platform/ax_platform_node_auralinux.h
diff --git a/ui/accessibility/platform/ax_platform_node_auralinux.h b/ui/accessibility/platform/ax_platform_node_auralinux.h
index 8f86bc71d8d2bdfd9d377e3a064dc8a31a56f99a..7f70f84f22ecc0f2177e54e2e6edce3369409b67 100644
--- a/ui/accessibility/platform/ax_platform_node_auralinux.h
+++ b/ui/accessibility/platform/ax_platform_node_auralinux.h
@@ -7,9 +7,14 @@
#include <atk/atk.h>
+#include "base/memory/ref_counted.h"
#include "ui/accessibility/ax_export.h"
#include "ui/accessibility/platform/ax_platform_node_base.h"
+namespace base {
+class TaskRunner;
+}
+
namespace ui {
// Implements accessibility on Aura Linux using ATK.
@@ -22,6 +27,10 @@ class AXPlatformNodeAuraLinux : public AXPlatformNodeBase {
AX_EXPORT static void SetApplication(AXPlatformNode* application);
static AXPlatformNode* application() { return application_; }
+ // Do static initialization using the given task runner for file operations.
+ AX_EXPORT static void StaticInitialize(
+ scoped_refptr<base::TaskRunner> init_task_runner);
+
AtkRole GetAtkRole();
void GetAtkState(AtkStateSet* state_set);
void GetAtkRelations(AtkRelationSet* atk_relation_set);
« no previous file with comments | « ui/accessibility/platform/atk_util_auralinux.cc ('k') | ui/accessibility/platform/ax_platform_node_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698