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

Unified Diff: chrome/common/chrome_application_mac.h

Issue 5950003: Remove CrApplication dependency from base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_application_mac.h
diff --git a/base/chrome_application_mac.h b/chrome/common/chrome_application_mac.h
similarity index 87%
rename from base/chrome_application_mac.h
rename to chrome/common/chrome_application_mac.h
index 676959ec5bed87948fbae2bdf5e6060776c9c54f..2c18034c3c74495c52e7e25690502913e90e0a01 100644
--- a/base/chrome_application_mac.h
+++ b/chrome/common/chrome_application_mac.h
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_CHROME_APPLICATION_MAC_H_
-#define BASE_CHROME_APPLICATION_MAC_H_
+#ifndef CHROME_COMMON_CHROME_APPLICATION_MAC_H_
+#define CHROME_COMMON_CHROME_APPLICATION_MAC_H_
#pragma once
#import <AppKit/AppKit.h>
#include "base/basictypes.h"
+#include "base/message_pump_mac.h"
#include "base/scoped_nsobject.h"
// Event hooks must implement this protocol.
@@ -17,7 +18,7 @@
@end
-@interface CrApplication : NSApplication {
+@interface CrApplication : NSApplication<CrAppProtocol> {
@private
BOOL handlingSendEvent_;
// Array of objects implementing the CrApplicationEventHookProtocol
@@ -58,4 +59,4 @@ class ScopedSendingEvent {
} // chrome_application_mac
-#endif // BASE_CHROME_APPLICATION_MAC_H_
+#endif // CHROME_COMMON_CHROME_APPLICATION_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698