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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller_unittest.mm

Issue 113763002: [rAc] [OSX] Set tooltip bubble arrow's anchor point based on the icon location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/browser/ui/cocoa/autofill/autofill_tooltip_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller_unittest.mm b/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller_unittest.mm
index 66bf3b5aafb406e179bc0c291498257301cc996d..ed6ad3f1eccd63b42d05bb4c80fae7adfe17250f 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller_unittest.mm
@@ -14,7 +14,8 @@ class AutofillTooltipControllerTest: public ui::CocoaTest {
public:
virtual void SetUp() OVERRIDE {
CocoaTest::SetUp();
- controller_.reset([[AutofillTooltipController alloc] init]);
+ controller_.reset([[AutofillTooltipController alloc]
+ initWithArrowLocation:info_bubble::kTopCenter]);
[[test_window() contentView] addSubview:[controller_ view]];
}

Powered by Google App Engine
This is Rietveld 408576698