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

Unified Diff: views/bubble/bubble_frame_view_unittest.cc

Issue 8368016: Rebase BookmarkBubble on the new views bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only SelectAll on the title textfield when the buble is first shown. Created 9 years, 1 month 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 | « views/bubble/bubble_delegate_unittest.cc ('k') | views/examples/bubble_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/bubble/bubble_frame_view_unittest.cc
diff --git a/views/bubble/bubble_frame_view_unittest.cc b/views/bubble/bubble_frame_view_unittest.cc
index 3377e0bb7cdfc6181c2429c93644616b706d98bb..5a1619ccdbfdb0f0958a01a78906b67b5e573da3 100644
--- a/views/bubble/bubble_frame_view_unittest.cc
+++ b/views/bubble/bubble_frame_view_unittest.cc
@@ -14,7 +14,7 @@ namespace views {
typedef ViewsTestBase BubbleFrameViewBasicTest;
-const BubbleBorder::ArrowLocation kArrow = BubbleBorder::LEFT_BOTTOM;
+const BubbleBorder::ArrowLocation kArrow = BubbleBorder::TOP_LEFT;
const gfx::Rect kRect(10, 10, 200, 200);
const SkColor kBackgroundColor = SK_ColorRED;
const bool kAllowBubbleOffscreen = true;
@@ -54,7 +54,7 @@ gfx::Size SizedBubbleDelegateView::GetPreferredSize() { return kRect.size(); }
TEST_F(BubbleFrameViewBasicTest, NonClientHitTest) {
BubbleDelegateView* delegate = new SizedBubbleDelegateView();
- scoped_ptr<Widget> widget(BubbleDelegateView::CreateBubble(delegate, NULL));
+ scoped_ptr<Widget> widget(BubbleDelegateView::CreateBubble(delegate));
delegate->Show();
gfx::Point kPtInBound(100, 100);
gfx::Point kPtOutsideBound(1000, 1000);
« no previous file with comments | « views/bubble/bubble_delegate_unittest.cc ('k') | views/examples/bubble_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698