1 // Copyright 2013 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.
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_APPLICATION_MAC_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_APPLICATION_MAC_H_
8 #include "base/mac/scoped_sending_event.h"
9 #include "base/message_loop/message_pump_mac.h"
11 @interface ShellCrApplication
: NSApplication
<CrAppProtocol
,
12 CrAppControlProtocol
> {
14 BOOL handlingSendEvent_
;
18 - (BOOL
)isHandlingSendEvent
;
20 // CrAppControlProtocol:
21 - (void)setHandlingSendEvent
:(BOOL
)handlingSendEvent
;
23 - (IBAction
)newDocument
:(id
)sender
;
27 #endif // CONTENT_SHELL_BROWSER_SHELL_APPLICATION_MAC_H_