OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_COCOA_SYSTEM_HOTKEY_HELPER_MAC_H_ | 5 #ifndef CONTENT_BROWSER_COCOA_SYSTEM_HOTKEY_HELPER_MAC_H_ |
6 #define CONTENT_BROWSER_COCOA_SYSTEM_HOTKEY_HELPER_MAC_H_ | 6 #define CONTENT_BROWSER_COCOA_SYSTEM_HOTKEY_HELPER_MAC_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 | 11 |
11 #ifdef __OBJC__ | 12 #ifdef __OBJC__ |
12 @class NSDictionary; | 13 @class NSDictionary; |
13 #else | 14 #else |
14 class NSDictionary; | 15 class NSDictionary; |
15 #endif | 16 #endif |
16 | 17 |
17 namespace content { | 18 namespace content { |
(...skipping 29 matching lines...) Expand all Loading... |
47 void FileDidLoad(NSDictionary* dictionary); | 48 void FileDidLoad(NSDictionary* dictionary); |
48 | 49 |
49 scoped_ptr<SystemHotkeyMap> map_; | 50 scoped_ptr<SystemHotkeyMap> map_; |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(SystemHotkeyHelperMac); | 52 DISALLOW_COPY_AND_ASSIGN(SystemHotkeyHelperMac); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace content | 55 } // namespace content |
55 | 56 |
56 #endif // CONTENT_BROWSER_COCOA_SYSTEM_HOTKEY_HELPER_MAC_H_ | 57 #endif // CONTENT_BROWSER_COCOA_SYSTEM_HOTKEY_HELPER_MAC_H_ |
OLD | NEW |