Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: webkit/support/drt_application_mac.h

Issue 8724004: [Mac] Move ScopedSendingEvent from content/common/mac to base/mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CrAppControlProtocol support to CrDrtApplication Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H 5 #ifndef WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H
6 #define WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H 6 #define WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H
7 7
8 #include "base/message_pump_mac.h" 8 #include "base/message_pump_mac.h"
9 #include "base/mac/scoped_sending_event.h"
9 10
10 @interface CrDrtApplication : NSApplication<CrAppProtocol> { 11 @interface CrDrtApplication : NSApplication<CrAppProtocol,
12 CrAppControlProtocol> {
11 @private 13 @private
12 BOOL handlingSendEvent_; 14 BOOL handlingSendEvent_;
13 } 15 }
16 // CrAppProtocol
14 - (BOOL)isHandlingSendEvent; 17 - (BOOL)isHandlingSendEvent;
18
19 // CrAppControlProtocol
20 - (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
15 @end 21 @end
16 22
17 #endif // WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H 23 #endif // WEBKIT_SUPPORT_DRT_APPLICATION_MAC_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698