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

Unified Diff: views/bubble/bubble_view_unittest.cc

Issue 8368006: Support Windows native textfield, combobox, etc. in new bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore Widget return; same as Patch Set 9 with updated CreateBubble comment. Created 9 years, 2 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 | « views/bubble/bubble_frame_view_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_view_unittest.cc
diff --git a/views/bubble/bubble_view_unittest.cc b/views/bubble/bubble_view_unittest.cc
deleted file mode 100644
index c2a04fc9a24d912366eb463076ba7c09e7ae09e9..0000000000000000000000000000000000000000
--- a/views/bubble/bubble_view_unittest.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "views/bubble/bubble_delegate.h"
-#include "views/test/views_test_base.h"
-#include "views/widget/widget.h"
-
-namespace views {
-
-namespace {
-
-typedef ViewsTestBase BubbleViewBasicTest;
-
-TEST_F(BubbleViewBasicTest, CreateArrowBubble) {
- BubbleDelegateView* bubble_delegate = new BubbleDelegateView();
- scoped_ptr<Widget> bubble_widget(
- views::BubbleDelegateView::CreateBubble(bubble_delegate, NULL));
-
- BubbleBorder* border = static_cast<BubbleBorder*>(
- bubble_widget->non_client_view()->frame_view()->border());
- EXPECT_EQ(bubble_delegate->GetArrowLocation(), border->arrow_location());
- bubble_widget->CloseNow();
- bubble_widget.reset();
- RunPendingMessages();
-}
-
-} // namespace
-
-} // namespace views
« no previous file with comments | « views/bubble/bubble_frame_view_unittest.cc ('k') | views/examples/bubble_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698