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