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

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

Issue 10831009: Change the GetSelectedTab method of the NativeTabbedPaneView to return the tab contents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
diff --git a/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc b/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
index 3612b8b0a37d850cc13b91fbb3b88320f72f94ba..ea246939cbc44dd5c6c8e74cbe28d7171f6de481 100644
--- a/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
+++ b/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
@@ -359,7 +359,8 @@ int NativeTabbedPaneViews::GetSelectedTabIndex() {
}
View* NativeTabbedPaneViews::GetSelectedTab() {
- return tab_strip_->selected_tab();
+ //return tab_strip_->selected_tab();
msw 2012/07/25 20:19:27 nit: WIP, I know, sorry :p
markusheintz_ 2012/07/26 18:21:35 :) done.
+ return content_view_->child_at(GetSelectedTabIndex());
}
View* NativeTabbedPaneViews::GetView() {

Powered by Google App Engine
This is Rietveld 408576698