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

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

Issue 10797046: (Views only): Allow choosing between NativeTabbedPaneView and NativeTabbedPaneWin on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "Fix file header *sigh*" 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/tabbed_pane.h
diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.h b/ui/views/controls/tabbed_pane/tabbed_pane.h
index 348acf6391ddd6c073f6639670b6b038c3a595a7..31a6b1f316f8d8992190c3051a1e2c9cf3f24d3f 100644
--- a/ui/views/controls/tabbed_pane/tabbed_pane.h
+++ b/ui/views/controls/tabbed_pane/tabbed_pane.h
@@ -24,6 +24,12 @@ class VIEWS_EXPORT TabbedPane : public View {
TabbedPaneListener* listener() const { return listener_; }
void set_listener(TabbedPaneListener* listener) { listener_ = listener; }
+#if defined(OS_WIN) && !defined(USE_AURA)
+ bool use_native_win_control() { return use_native_win_control_; }
+ void set_use_native_win_control(bool use_native_win_control) {
+ use_native_win_control_ = use_native_win_control;
+ }
+#endif
// Returns the number of tabs.
int GetTabCount();
@@ -86,6 +92,10 @@ class VIEWS_EXPORT TabbedPane : public View {
virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE;
virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
+#if defined(OS_WIN) && !defined(USE_AURA)
+ bool use_native_win_control_;
+#endif
+
// Our listener. Not owned. Notified when tab selection changes.
TabbedPaneListener* listener_;
« no previous file with comments | « ui/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h ('k') | ui/views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698