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 CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |
6 #define CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |
7 | 7 |
8 #ifdef __OBJC__ | 8 #ifdef __OBJC__ |
9 | 9 |
10 #import <AppKit/AppKit.h> | 10 #import <AppKit/AppKit.h> |
| 11 #include <stddef.h> |
11 | 12 |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #import "base/mac/scoped_sending_event.h" | 15 #import "base/mac/scoped_sending_event.h" |
15 #import "base/message_loop/message_pump_mac.h" | 16 #import "base/message_loop/message_pump_mac.h" |
16 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
17 | 18 |
18 @interface BrowserCrApplication : NSApplication<CrAppProtocol, | 19 @interface BrowserCrApplication : NSApplication<CrAppProtocol, |
19 CrAppControlProtocol> { | 20 CrAppControlProtocol> { |
20 @private | 21 @private |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 67 |
67 // Calls -[NSApp terminate:]. | 68 // Calls -[NSApp terminate:]. |
68 void Terminate(); | 69 void Terminate(); |
69 | 70 |
70 // Cancels a termination started by |Terminate()|. | 71 // Cancels a termination started by |Terminate()|. |
71 void CancelTerminate(); | 72 void CancelTerminate(); |
72 | 73 |
73 } // namespace chrome_browser_application_mac | 74 } // namespace chrome_browser_application_mac |
74 | 75 |
75 #endif // CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ | 76 #endif // CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |
OLD | NEW |