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

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

Issue 11421164: Migrate CollectedCookiesViews to Chrome style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/native_tabbed_pane_views.h
diff --git a/ui/views/controls/tabbed_pane/native_tabbed_pane_views.h b/ui/views/controls/tabbed_pane/native_tabbed_pane_views.h
index 9d010d3a44a82e4d1958c7c03c6dcd17af749e79..ae679e6c0f5ab692d969c5fa4f2fdd770f3d84af 100644
--- a/ui/views/controls/tabbed_pane/native_tabbed_pane_views.h
+++ b/ui/views/controls/tabbed_pane/native_tabbed_pane_views.h
@@ -20,7 +20,8 @@ class Widget;
class NativeTabbedPaneViews : public View,
public NativeTabbedPaneWrapper {
public:
- explicit NativeTabbedPaneViews(TabbedPane* tabbed_pane);
+ explicit NativeTabbedPaneViews(TabbedPane* tabbed_pane,
+ bool use_chrome_style);
virtual ~NativeTabbedPaneViews();
void TabSelectionChanged(View* selected);
@@ -66,6 +67,9 @@ class NativeTabbedPaneViews : public View,
// The content displayed in the tab.
View* content_view_;
+ // Use new Chrome-style rendering for the tabbed pane.
+ bool use_chrome_style_;
+
DISALLOW_COPY_AND_ASSIGN(NativeTabbedPaneViews);
};

Powered by Google App Engine
This is Rietveld 408576698