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

Unified Diff: ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc

Issue 63343004: Remove DialogDelegate::UseNewStyle and unused code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Additional cleanup; sync and rebase. Created 7 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
Index: ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc
diff --git a/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc b/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc
index b7281b26c627b83483bbfef0d237c94d7e26b5d9..f887a8d2ff487e1b10c0fa76a197df0510db551f 100644
--- a/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc
+++ b/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc
@@ -34,7 +34,7 @@ typedef ViewsTestBase TabbedPaneTest;
// Tests TabbedPane::GetPreferredSize() and TabbedPane::Layout().
TEST_F(TabbedPaneTest, SizeAndLayout) {
- scoped_ptr<TabbedPane> tabbed_pane(new TabbedPane(false));
+ scoped_ptr<TabbedPane> tabbed_pane(new TabbedPane());
View* child1 = new FixedSizeView(gfx::Size(20, 10));
tabbed_pane->AddTab(ASCIIToUTF16("tab1"), child1);
View* child2 = new FixedSizeView(gfx::Size(5, 5));
@@ -66,7 +66,7 @@ TEST_F(TabbedPaneTest, SizeAndLayout) {
}
TEST_F(TabbedPaneTest, AddAndSelect) {
- scoped_ptr<TabbedPane> tabbed_pane(new TabbedPane(false));
+ scoped_ptr<TabbedPane> tabbed_pane(new TabbedPane());
// Add several tabs; only the first should be a selected automatically.
for (int i = 0; i < 3; ++i) {
View* tab = new View();

Powered by Google App Engine
This is Rietveld 408576698