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

Unified Diff: ui/views/views_delegate.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
« no previous file with comments | « ui/views/accessibility/native_view_accessibility_auralinux.cc ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index ea14e7887047e936145986e3fe52f8994c32e53a..d31ea03667c6e47d0f144077b176a1e16490980d 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -19,6 +19,7 @@
#include "ui/views/widget/widget.h"
namespace base {
+class TaskRunner;
class TimeDelta;
}
@@ -138,6 +139,13 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns the user-visible name of the application.
virtual std::string GetApplicationName();
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+ // Get a task runner suitable for posting initialization tasks for
+ // Aura Linux accessibility.
+ virtual scoped_refptr<base::TaskRunner>
+ GetTaskRunnerForAuraLinuxAccessibilityInit();
+#endif
+
#if defined(OS_WIN)
// Starts a query for the appbar autohide edges of the specified monitor and
// returns the current value. If the query finds the edges have changed from
« no previous file with comments | « ui/views/accessibility/native_view_accessibility_auralinux.cc ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698