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

Side by Side Diff: ui/views/views_delegate.cc

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, 7 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 unified diff | Download patch
« no previous file with comments | « ui/views/views_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "ui/views/views_delegate.h" 5 #include "ui/views/views_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "ui/views/views_touch_selection_controller_factory.h" 8 #include "ui/views/views_touch_selection_controller_factory.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 ui::ContextFactory* ViewsDelegate::GetContextFactory() { 85 ui::ContextFactory* ViewsDelegate::GetContextFactory() {
86 return NULL; 86 return NULL;
87 } 87 }
88 88
89 std::string ViewsDelegate::GetApplicationName() { 89 std::string ViewsDelegate::GetApplicationName() {
90 base::FilePath program = base::CommandLine::ForCurrentProcess()->GetProgram(); 90 base::FilePath program = base::CommandLine::ForCurrentProcess()->GetProgram();
91 return program.BaseName().AsUTF8Unsafe(); 91 return program.BaseName().AsUTF8Unsafe();
92 } 92 }
93 93
94 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
95 scoped_refptr<base::TaskRunner>
96 ViewsDelegate::GetTaskRunnerForAuraLinuxAccessibilityInit() {
97 return nullptr;
98 }
99 #endif
100
94 #if defined(OS_WIN) 101 #if defined(OS_WIN)
95 int ViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor, 102 int ViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor,
96 const base::Closure& callback) { 103 const base::Closure& callback) {
97 return EDGE_BOTTOM; 104 return EDGE_BOTTOM;
98 } 105 }
99 #endif 106 #endif
100 107
101 } // namespace views 108 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/views_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698