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

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

Issue 63343004: Remove DialogDelegate::UseNewStyle and unused code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore [D]CHECKs and loop scoping. 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
« no previous file with comments | « ui/views/controls/tabbed_pane/tabbed_pane.h ('k') | ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tabbed_pane/tabbed_pane.cc
diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.cc b/ui/views/controls/tabbed_pane/tabbed_pane.cc
index c3282634fca54a92b63788d4bd762801652557b2..aa46af6e445551f0a8e7d91455ac65506cf71ce0 100644
--- a/ui/views/controls/tabbed_pane/tabbed_pane.cc
+++ b/ui/views/controls/tabbed_pane/tabbed_pane.cc
@@ -233,7 +233,7 @@ void TabStrip::OnPaint(gfx::Canvas* canvas) {
}
}
-TabbedPane::TabbedPane(bool draw_border)
+TabbedPane::TabbedPane()
: listener_(NULL),
tab_strip_(new TabStrip(this)),
contents_(new View()),
@@ -241,13 +241,6 @@ TabbedPane::TabbedPane(bool draw_border)
set_focusable(true);
AddChildView(tab_strip_);
AddChildView(contents_);
- if (draw_border) {
- contents_->set_border(Border::CreateSolidSidedBorder(0,
- kTabBorderThickness,
- kTabBorderThickness,
- kTabBorderThickness,
- kTabBorderColor));
- }
}
TabbedPane::~TabbedPane() {}
« no previous file with comments | « ui/views/controls/tabbed_pane/tabbed_pane.h ('k') | ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698