Index: chrome/common/chrome_application_mac.mm |
diff --git a/base/chrome_application_mac.mm b/chrome/common/chrome_application_mac.mm |
similarity index 86% |
rename from base/chrome_application_mac.mm |
rename to chrome/common/chrome_application_mac.mm |
index a163534ddecece30ff2a20b303a9ab46b6f21324..9bd9f678ae2a045eecb03785107d151daa1f97a8 100644 |
--- a/base/chrome_application_mac.mm |
+++ b/chrome/common/chrome_application_mac.mm |
@@ -2,19 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#import "chrome_application_mac.h" |
+#import "chrome/common/chrome_application_mac.h" |
#include "base/logging.h" |
@interface CrApplication () |
-@property(readwrite, |
- getter=isHandlingSendEvent, |
- nonatomic) BOOL handlingSendEvent; |
+- (void)setHandlingSendEvent:(BOOL)handlingSendEvent; |
@end |
@implementation CrApplication |
-@synthesize handlingSendEvent = handlingSendEvent_; |
- |
// Initialize NSApplication using the custom subclass. Check whether NSApp |
// was already initialized using another class, because that would break |
// some things. |
@@ -35,6 +31,14 @@ |
return self; |
} |
+- (BOOL)isHandlingSendEvent { |
+ return handlingSendEvent_; |
+} |
+ |
+- (void)setHandlingSendEvent:(BOOL)handlingSendEvent { |
+ handlingSendEvent_ = handlingSendEvent; |
+} |
+ |
- (void)sendEvent:(NSEvent*)event { |
chrome_application_mac::ScopedSendingEvent sendingEventScoper; |
for (id<CrApplicationEventHookProtocol> handler in eventHooks_.get()) { |