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 #pragma once | |
8 | 7 |
9 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
10 | 9 |
11 #include "content/browser/accessibility/browser_accessibility_manager.h" | 10 #include "content/browser/accessibility/browser_accessibility_manager.h" |
12 | 11 |
13 class BrowserAccessibilityManagerMac : public BrowserAccessibilityManager { | 12 class BrowserAccessibilityManagerMac : public BrowserAccessibilityManager { |
14 public: | 13 public: |
15 // Implementation of BrowserAccessibilityManager. | 14 // Implementation of BrowserAccessibilityManager. |
16 virtual void NotifyAccessibilityEvent(int type, | 15 virtual void NotifyAccessibilityEvent(int type, |
17 BrowserAccessibility* node) OVERRIDE; | 16 BrowserAccessibility* node) OVERRIDE; |
18 | 17 |
19 private: | 18 private: |
20 // This gives BrowserAccessibilityManager::Create access to the class | 19 // This gives BrowserAccessibilityManager::Create access to the class |
21 // constructor. | 20 // constructor. |
22 friend class BrowserAccessibilityManager; | 21 friend class BrowserAccessibilityManager; |
23 | 22 |
24 BrowserAccessibilityManagerMac(gfx::NativeView parent_view, | 23 BrowserAccessibilityManagerMac(gfx::NativeView parent_view, |
25 const content::AccessibilityNodeData& src, | 24 const content::AccessibilityNodeData& src, |
26 BrowserAccessibilityDelegate* delegate, | 25 BrowserAccessibilityDelegate* delegate, |
27 BrowserAccessibilityFactory* factory); | 26 BrowserAccessibilityFactory* factory); |
28 | 27 |
29 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerMac); | 28 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerMac); |
30 }; | 29 }; |
31 | 30 |
32 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ | 31 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ |
OLD | NEW |