1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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/mac/scoped_sending_event.h" 9 #include "base/message_loop/message_pump_mac.h" 10 11 @interface CrDrtApplication : NSApplication<CrAppProtocol, 12 CrAppControlProtocol> { 13 @private 14 BOOL handlingSendEvent_; 15 } 16 // CrAppProtocol 17 - (BOOL)isHandlingSendEvent; 18 19 // CrAppControlProtocol 20 - (void)setHandlingSendEvent:(BOOL)handlingSendEvent; 21 @end 22 23 #endif // WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H 24