blob: bcba5a5ae67a56fb8e42f889e87ea5730eff5d5b [file] [log] [blame]
[email protected]de7d61ff2013-08-20 11:30:411// Copyright 2013 The Chromium Authors. All rights reserved.
[email protected]c4e78d72012-03-24 22:55:412// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]de7d61ff2013-08-20 11:30:415#ifndef CONTENT_SHELL_BROWSER_SHELL_APPLICATION_MAC_H_
6#define CONTENT_SHELL_BROWSER_SHELL_APPLICATION_MAC_H_
[email protected]c4e78d72012-03-24 22:55:417
[email protected]c4e78d72012-03-24 22:55:418#include "base/mac/scoped_sending_event.h"
[email protected]59e69e742013-06-18 20:27:529#include "base/message_loop/message_pump_mac.h"
[email protected]c4e78d72012-03-24 22:55:4110
11@interface ShellCrApplication : NSApplication<CrAppProtocol,
12 CrAppControlProtocol> {
13 @private
14 BOOL handlingSendEvent_;
15}
16
17// CrAppProtocol:
18- (BOOL)isHandlingSendEvent;
19
20// CrAppControlProtocol:
21- (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
22
[email protected]f3474bb52012-04-02 16:32:3623- (IBAction)newDocument:(id)sender;
24
[email protected]c4e78d72012-03-24 22:55:4125@end
26
[email protected]de7d61ff2013-08-20 11:30:4127#endif // CONTENT_SHELL_BROWSER_SHELL_APPLICATION_MAC_H_