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

Unified Diff: content/test/mock_chrome_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, 1 month 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: content/test/mock_chrome_application_mac.h
diff --git a/content/test/mock_chrome_application_mac.h b/content/test/mock_chrome_application_mac.h
deleted file mode 100644
index c0689627c319cb11f446e301e4c51a4983b83239..0000000000000000000000000000000000000000
--- a/content/test/mock_chrome_application_mac.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2011 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_TEST_MOCK_CHROME_APPLICATION_MAC_H_
-#define CONTENT_TEST_MOCK_CHROME_APPLICATION_MAC_H_
-#pragma once
-
-#if defined(__OBJC__)
-
-#import <AppKit/AppKit.h>
-
-#include "content/common/mac/scoped_sending_event.h"
-
-// Mock implementation supporting CrAppControlProtocol. Can be used
-// in tests using ScopedSendingEvent to deal with nested message
-// loops. Also implements CrAppProtocol so can be used as a
-// replacement for MockCrApp (in base/).
-@interface MockCrControlApp : NSApplication<CrAppControlProtocol> {
- @private
- BOOL isHandlingSendEvent_;
-}
-@end
-
-#endif // __OBJC__
-
-// To be used to instantiate MockCrControlApp from C++ code.
-namespace mock_cr_app {
-void RegisterMockCrControlApp();
-} // namespace mock_cr_app
-
-#endif // CONTENT_TEST_MOCK_CHROME_APPLICATION_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698