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 EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_MAC_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_MAC_H_ |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_MAC_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
| 11 #include "base/macros.h" |
11 #include "extensions/shell/browser/shell_native_app_window.h" | 12 #include "extensions/shell/browser/shell_native_app_window.h" |
12 | 13 |
13 @class ShellNSWindow; | 14 @class ShellNSWindow; |
14 | 15 |
15 namespace extensions { | 16 namespace extensions { |
16 class ShellNativeAppWindowMac; | 17 class ShellNativeAppWindowMac; |
17 } | 18 } |
18 | 19 |
19 // A window controller for ShellNativeAppWindowMac to handle NSNotifications | 20 // A window controller for ShellNativeAppWindowMac to handle NSNotifications |
20 // and pass them to the C++ implementation. | 21 // and pass them to the C++ implementation. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 ShellNSWindow* window() const; | 56 ShellNSWindow* window() const; |
56 | 57 |
57 base::scoped_nsobject<ShellNativeAppWindowController> window_controller_; | 58 base::scoped_nsobject<ShellNativeAppWindowController> window_controller_; |
58 | 59 |
59 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindowMac); | 60 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindowMac); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace extensions | 63 } // namespace extensions |
63 | 64 |
64 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_MAC_H_ | 65 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_MAC_H_ |
OLD | NEW |