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_SHELL_SHELL_APPLICATION_MAC_H_ | 5 #ifndef CONTENT_SHELL_SHELL_APPLICATION_MAC_H_ |
6 #define CONTENT_SHELL_SHELL_APPLICATION_MAC_H_ | 6 #define CONTENT_SHELL_SHELL_APPLICATION_MAC_H_ |
7 | 7 |
8 #include "base/message_pump_mac.h" | |
9 #include "base/mac/scoped_sending_event.h" | 8 #include "base/mac/scoped_sending_event.h" |
| 9 #include "base/message_loop/message_pump_mac.h" |
10 | 10 |
11 @interface ShellCrApplication : NSApplication<CrAppProtocol, | 11 @interface ShellCrApplication : NSApplication<CrAppProtocol, |
12 CrAppControlProtocol> { | 12 CrAppControlProtocol> { |
13 @private | 13 @private |
14 BOOL handlingSendEvent_; | 14 BOOL handlingSendEvent_; |
15 } | 15 } |
16 | 16 |
17 // CrAppProtocol: | 17 // CrAppProtocol: |
18 - (BOOL)isHandlingSendEvent; | 18 - (BOOL)isHandlingSendEvent; |
19 | 19 |
20 // CrAppControlProtocol: | 20 // CrAppControlProtocol: |
21 - (void)setHandlingSendEvent:(BOOL)handlingSendEvent; | 21 - (void)setHandlingSendEvent:(BOOL)handlingSendEvent; |
22 | 22 |
23 - (IBAction)newDocument:(id)sender; | 23 - (IBAction)newDocument:(id)sender; |
24 | 24 |
25 @end | 25 @end |
26 | 26 |
27 #endif // CONTENT_SHELL_SHELL_APPLICATION_MAC_H_ | 27 #endif // CONTENT_SHELL_SHELL_APPLICATION_MAC_H_ |
OLD | NEW |