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_MAC_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/macros.h" |
12 #include "content/browser/accessibility/browser_accessibility.h" | 13 #include "content/browser/accessibility/browser_accessibility.h" |
13 | 14 |
14 @class BrowserAccessibilityCocoa; | 15 @class BrowserAccessibilityCocoa; |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 | 18 |
18 class BrowserAccessibilityMac : public BrowserAccessibility { | 19 class BrowserAccessibilityMac : public BrowserAccessibility { |
19 public: | 20 public: |
20 // BrowserAccessibility overrides. | 21 // BrowserAccessibility overrides. |
21 void NativeReleaseReference() override; | 22 void NativeReleaseReference() override; |
(...skipping 20 matching lines...) Expand all Loading... |
42 // BrowserAccessibility. | 43 // BrowserAccessibility. |
43 // We own this object until our manager calls ReleaseReference; | 44 // We own this object until our manager calls ReleaseReference; |
44 // thereafter, the cocoa object owns us. | 45 // thereafter, the cocoa object owns us. |
45 BrowserAccessibilityCocoa* browser_accessibility_cocoa_; | 46 BrowserAccessibilityCocoa* browser_accessibility_cocoa_; |
46 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityMac); | 47 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityMac); |
47 }; | 48 }; |
48 | 49 |
49 } // namespace content | 50 } // namespace content |
50 | 51 |
51 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_ | 52 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_ |
OLD | NEW |