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

Unified Diff: ui/base/cocoa/tracking_area_unittest.mm

Issue 12763002: Move CrTrackingArea from chrome/browser/ui/cocoa to ui/base/cocoa. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test in namespace Created 7 years, 9 months 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
« no previous file with comments | « ui/base/cocoa/tracking_area.mm ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/tracking_area_unittest.mm
diff --git a/chrome/browser/ui/cocoa/tracking_area_unittest.mm b/ui/base/cocoa/tracking_area_unittest.mm
similarity index 95%
rename from chrome/browser/ui/cocoa/tracking_area_unittest.mm
rename to ui/base/cocoa/tracking_area_unittest.mm
index 27e572d4c996417f806dcbff53a289cf58c86ea3..487aa89f59ed3c856cb1cf3ce72ee649b85e0a44 100644
--- a/chrome/browser/ui/cocoa/tracking_area_unittest.mm
+++ b/ui/base/cocoa/tracking_area_unittest.mm
@@ -3,8 +3,8 @@
// found in the LICENSE file.
#include "base/memory/scoped_nsobject.h"
-#include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
-#import "chrome/browser/ui/cocoa/tracking_area.h"
+#import "ui/base/cocoa/tracking_area.h"
+#import "ui/base/test/ui_cocoa_test_helper.h"
// A test object that counts the number of times a message is sent to it.
@interface TestTrackingAreaOwner : NSObject {
@@ -22,6 +22,8 @@
}
@end
+namespace ui {
+
class CrTrackingAreaTest : public CocoaTest {
public:
CrTrackingAreaTest()
@@ -95,3 +97,5 @@ TEST_F(CrTrackingAreaTest, ScoperReset) {
[[trackingArea_ owner] performMessage];
EXPECT_EQ(2U, [owner_ messageCount]);
}
+
+} // namespace ui
« no previous file with comments | « ui/base/cocoa/tracking_area.mm ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698