OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/accessibility/browser_accessibility_manager_mac.h" | 5 #include "content/browser/accessibility/browser_accessibility_manager_mac.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #import "base/logging.h" | 9 #import "base/logging.h" |
8 #import "content/browser/accessibility/browser_accessibility_cocoa.h" | 10 #import "content/browser/accessibility/browser_accessibility_cocoa.h" |
9 #import "content/browser/accessibility/browser_accessibility_mac.h" | 11 #import "content/browser/accessibility/browser_accessibility_mac.h" |
10 #include "content/common/accessibility_messages.h" | 12 #include "content/common/accessibility_messages.h" |
11 | 13 |
12 namespace content { | 14 namespace content { |
13 | 15 |
14 // static | 16 // static |
15 BrowserAccessibilityManager* BrowserAccessibilityManager::Create( | 17 BrowserAccessibilityManager* BrowserAccessibilityManager::Create( |
16 const ui::AXTreeUpdate& initial_tree, | 18 const ui::AXTreeUpdate& initial_tree, |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 // internal state and find newly-added live regions this time. | 197 // internal state and find newly-added live regions this time. |
196 BrowserAccessibilityMac* root = | 198 BrowserAccessibilityMac* root = |
197 static_cast<BrowserAccessibilityMac*>(GetRoot()); | 199 static_cast<BrowserAccessibilityMac*>(GetRoot()); |
198 if (root) { | 200 if (root) { |
199 root->RecreateNativeObject(); | 201 root->RecreateNativeObject(); |
200 NotifyAccessibilityEvent(ui::AX_EVENT_CHILDREN_CHANGED, root); | 202 NotifyAccessibilityEvent(ui::AX_EVENT_CHILDREN_CHANGED, root); |
201 } | 203 } |
202 } | 204 } |
203 | 205 |
204 } // namespace content | 206 } // namespace content |
OLD | NEW |