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

Unified Diff: ui/base/cocoa/controls/hyperlink_button_cell_unittest.mm

Issue 18355002: Move HyperlinkButtonCell to /ui/base/cocoa/controls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: helpful comment Created 7 years, 6 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/controls/hyperlink_button_cell.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/controls/hyperlink_button_cell_unittest.mm
diff --git a/chrome/browser/ui/cocoa/hyperlink_button_cell_unittest.mm b/ui/base/cocoa/controls/hyperlink_button_cell_unittest.mm
similarity index 95%
rename from chrome/browser/ui/cocoa/hyperlink_button_cell_unittest.mm
rename to ui/base/cocoa/controls/hyperlink_button_cell_unittest.mm
index 18abc03be479290dda894367fd6637cd9830b7ad..aaf5f28890c3109f2968a0125bc7d3696d4dc35c 100644
--- a/chrome/browser/ui/cocoa/hyperlink_button_cell_unittest.mm
+++ b/ui/base/cocoa/controls/hyperlink_button_cell_unittest.mm
@@ -2,14 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#import "ui/base/cocoa/controls/hyperlink_button_cell.h"
+
#import <Cocoa/Cocoa.h>
#include "base/mac/foundation_util.h"
#include "base/mac/scoped_nsobject.h"
-#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
-#import "chrome/browser/ui/cocoa/hyperlink_button_cell.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
+#import "ui/base/test/ui_cocoa_test_helper.h"
+
+namespace ui {
+
+namespace {
class HyperlinkButtonCellTest : public CocoaTest {
public:
@@ -109,3 +114,7 @@ TEST_F(HyperlinkButtonCellTest, UnderlineOnHover) {
[cell_ mouseExited:nil];
EXPECT_FALSE(HasUnderlineAttribute([cell_ linkAttributes]));
}
+
+} // namespace
+
+} // namespace ui
« no previous file with comments | « ui/base/cocoa/controls/hyperlink_button_cell.mm ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698