From c4e78d797638462afc492e8eddc62f34e6b1eeaa Mon Sep 17 00:00:00 2001 From: "avi@chromium.org" Date: Sat, 24 Mar 2012 22:55:41 +0000 Subject: Mac content shell: Implement CrApplication. BUG=115784 TEST=popup menus work in content shell Review URL: https://chromiumcodereview.appspot.com/9834080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128790 0039d316-1c4b-4281-b951-d872f2087c98 --- content/shell/shell_application_mac.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 content/shell/shell_application_mac.h (limited to 'content/shell/shell_application_mac.h') diff --git a/content/shell/shell_application_mac.h b/content/shell/shell_application_mac.h new file mode 100644 index 0000000..3450ff3 --- /dev/null +++ b/content/shell/shell_application_mac.h @@ -0,0 +1,25 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CONTENT_SHELL_SHELL_APPLICATION_MAC_H_ +#define CONTENT_SHELL_SHELL_APPLICATION_MAC_H_ + +#include "base/message_pump_mac.h" +#include "base/mac/scoped_sending_event.h" + +@interface ShellCrApplication : NSApplication { + @private + BOOL handlingSendEvent_; +} + +// CrAppProtocol: +- (BOOL)isHandlingSendEvent; + +// CrAppControlProtocol: +- (void)setHandlingSendEvent:(BOOL)handlingSendEvent; + +@end + +#endif // CONTENT_SHELL_SHELL_APPLICATION_MAC_H_ -- cgit v1.1