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

Side by Side Diff: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc

Issue 2272173002: Fix most chrome/browser/ui "gn check" problems. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/ui/aura/accessibility/automation_manager_aura.h" 5 #include "chrome/browser/ui/aura/accessibility/automation_manager_aura.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/extensions/api/automation_internal/automation_event_rou ter.h" 14 #include "chrome/browser/extensions/api/automation_internal/automation_event_rou ter.h"
15 #include "chrome/browser/profiles/profile_manager.h" 15 #include "chrome/browser/profiles/profile_manager.h"
16 #include "chrome/common/extensions/chrome_extension_messages.h" 16 #include "chrome/common/extensions/chrome_extension_messages.h"
17 #include "content/public/browser/ax_event_notification_details.h" 17 #include "content/public/browser/ax_event_notification_details.h"
18 #include "content/public/browser/browser_context.h" 18 #include "content/public/browser/browser_context.h"
19 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
20 #include "ui/views/accessibility/ax_aura_obj_cache.h" 20 #include "ui/views/accessibility/ax_aura_obj_cache.h"
21 #include "ui/views/accessibility/ax_aura_obj_wrapper.h" 21 #include "ui/views/accessibility/ax_aura_obj_wrapper.h"
22 #include "ui/views/view.h" 22 #include "ui/views/view.h"
23 #include "ui/views/widget/widget.h" 23 #include "ui/views/widget/widget.h"
24 24
25 #if defined(OS_CHROMEOS) 25 #if defined(OS_CHROMEOS)
26 #include "ash/wm/window_util.h" 26 #include "ash/wm/window_util.h" // nogncheck
27 #endif 27 #endif
28 28
29 using content::BrowserContext; 29 using content::BrowserContext;
30 using extensions::AutomationEventRouter; 30 using extensions::AutomationEventRouter;
31 31
32 // static 32 // static
33 AutomationManagerAura* AutomationManagerAura::GetInstance() { 33 AutomationManagerAura* AutomationManagerAura::GetInstance() {
34 return base::Singleton<AutomationManagerAura>::get(); 34 return base::Singleton<AutomationManagerAura>::get();
35 } 35 }
36 36
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 processing_events_ = false; 162 processing_events_ = false;
163 auto pending_events_copy = pending_events_; 163 auto pending_events_copy = pending_events_;
164 pending_events_.clear(); 164 pending_events_.clear();
165 for (size_t i = 0; i < pending_events_copy.size(); ++i) { 165 for (size_t i = 0; i < pending_events_copy.size(); ++i) {
166 SendEvent(context, 166 SendEvent(context,
167 pending_events_copy[i].first, 167 pending_events_copy[i].first,
168 pending_events_copy[i].second); 168 pending_events_copy[i].second);
169 } 169 }
170 } 170 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698