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

Unified Diff: chrome/browser/cocoa/status_bubble_mac_unittest.mm

Issue 155706: Fix the URL status bubble overlapping the Mac download shelf (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « chrome/browser/cocoa/status_bubble_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/status_bubble_mac_unittest.mm
===================================================================
--- chrome/browser/cocoa/status_bubble_mac_unittest.mm (revision 21184)
+++ chrome/browser/cocoa/status_bubble_mac_unittest.mm (working copy)
@@ -15,7 +15,7 @@
public:
StatusBubbleMacTest() {
NSWindow* window = cocoa_helper_.window();
- bubble_.reset(new StatusBubbleMac(window));
+ bubble_.reset(new StatusBubbleMac(window, nil));
EXPECT_TRUE(bubble_.get());
EXPECT_FALSE(bubble_->window_); // lazily creates window
}
@@ -87,11 +87,11 @@
TEST_F(StatusBubbleMacTest, Delete) {
NSWindow* window = cocoa_helper_.window();
// Create and delete immediately.
- StatusBubbleMac* bubble = new StatusBubbleMac(window);
+ StatusBubbleMac* bubble = new StatusBubbleMac(window, nil);
delete bubble;
// Create then delete while visible.
- bubble = new StatusBubbleMac(window);
+ bubble = new StatusBubbleMac(window, nil);
bubble->SetStatus(L"showing");
delete bubble;
}
« no previous file with comments | « chrome/browser/cocoa/status_bubble_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698