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 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "content/browser/accessibility/browser_accessibility_manager.h" | 10 #include "content/browser/accessibility/browser_accessibility_manager.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root) OVERRIDE; | 25 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root) OVERRIDE; |
26 | 26 |
27 // Implementation of BrowserAccessibilityManager. | 27 // Implementation of BrowserAccessibilityManager. |
28 virtual void NotifyAccessibilityEvent( | 28 virtual void NotifyAccessibilityEvent( |
29 ui::AXEvent event_type, BrowserAccessibility* node) OVERRIDE; | 29 ui::AXEvent event_type, BrowserAccessibility* node) OVERRIDE; |
30 | 30 |
31 NSView* parent_view() { return parent_view_; } | 31 NSView* parent_view() { return parent_view_; } |
32 | 32 |
33 private: | 33 private: |
| 34 virtual void OnNodeCreationFinished(ui::AXNode* node) OVERRIDE; |
| 35 virtual void OnTreeUpdateFinished() OVERRIDE; |
| 36 |
34 // This gives BrowserAccessibilityManager::Create access to the class | 37 // This gives BrowserAccessibilityManager::Create access to the class |
35 // constructor. | 38 // constructor. |
36 friend class BrowserAccessibilityManager; | 39 friend class BrowserAccessibilityManager; |
37 | 40 |
38 NSView* parent_view_; | 41 NSView* parent_view_; |
39 | 42 |
| 43 bool created_live_region_; |
| 44 |
40 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerMac); | 45 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerMac); |
41 }; | 46 }; |
42 | 47 |
43 } | 48 } |
44 | 49 |
45 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ | 50 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ |
OLD | NEW |