[email protected] | d47af217 | 2011-12-01 23:56:17 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
[email protected] | d03c61a | 2010-12-19 00:51:13 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H | ||||
6 | #define WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H | ||||
7 | |||||
8 | #include "base/message_pump_mac.h" | ||||
[email protected] | d47af217 | 2011-12-01 23:56:17 | [diff] [blame] | 9 | #include "base/mac/scoped_sending_event.h" |
[email protected] | d03c61a | 2010-12-19 00:51:13 | [diff] [blame] | 10 | |
[email protected] | d47af217 | 2011-12-01 23:56:17 | [diff] [blame] | 11 | @interface CrDrtApplication : NSApplication<CrAppProtocol, |
12 | CrAppControlProtocol> { | ||||
[email protected] | d03c61a | 2010-12-19 00:51:13 | [diff] [blame] | 13 | @private |
14 | BOOL handlingSendEvent_; | ||||
15 | } | ||||
[email protected] | d47af217 | 2011-12-01 23:56:17 | [diff] [blame] | 16 | // CrAppProtocol |
[email protected] | d03c61a | 2010-12-19 00:51:13 | [diff] [blame] | 17 | - (BOOL)isHandlingSendEvent; |
[email protected] | d47af217 | 2011-12-01 23:56:17 | [diff] [blame] | 18 | |
19 | // CrAppControlProtocol | ||||
20 | - (void)setHandlingSendEvent:(BOOL)handlingSendEvent; | ||||
[email protected] | d03c61a | 2010-12-19 00:51:13 | [diff] [blame] | 21 | @end |
22 | |||||
23 | #endif // WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H |