BubbleView* bubbleView = [bubble_->window_ contentView];
return [bubbleView content];
}
- NSWindow* GetWindow() {
+ StatusBubbleWindow* GetWindow() {
return bubble_->window_;
}
NSWindow* parent() {
// Show the bubble and make sure it has the same origin as |window|.
bubble_->SetStatus(UTF8ToUTF16("Showing"));
- NSWindow* child = GetWindow();
+ StatusBubbleWindow* child = GetWindow();
EXPECT_TRUE(NSEqualPoints([window frame].origin, [child frame].origin));
// Hide the bubble, move the window, and show it again.
// Show the bubble and make sure it has the same origin as |window|.
bubble_->SetStatus(UTF8ToUTF16("Showing"));
- NSWindow* child = GetWindow();
+ StatusBubbleWindow* child = GetWindow();
EXPECT_TRUE(NSEqualPoints([window frame].origin, [child frame].origin));
// Hide the bubble, change base frame offset, and show it again.