OLD | NEW |
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/ash/accessibility/automation_manager_ash.h" | 5 #include "chrome/browser/ui/ash/accessibility/automation_manager_ash.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // TODO(dtseng): Would idealy define these special desktop constants in idl. | 105 // TODO(dtseng): Would idealy define these special desktop constants in idl. |
106 content::AXEventNotificationDetails detail(update.node_id_to_clear, | 106 content::AXEventNotificationDetails detail(update.node_id_to_clear, |
107 update.nodes, | 107 update.nodes, |
108 event_type, | 108 event_type, |
109 aura_obj->GetID(), | 109 aura_obj->GetID(), |
110 0, /* process_id */ | 110 0, /* process_id */ |
111 0 /* routing_id */); | 111 0 /* routing_id */); |
112 std::vector<content::AXEventNotificationDetails> details; | 112 std::vector<content::AXEventNotificationDetails> details; |
113 details.push_back(detail); | 113 details.push_back(detail); |
114 extensions::automation_util::DispatchAccessibilityEventsToAutomation( | 114 extensions::automation_util::DispatchAccessibilityEventsToAutomation( |
115 details, context); | 115 details, context, gfx::Vector2d()); |
116 } | 116 } |
OLD | NEW |