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

Side by Side Diff: ui/views/controls/tabbed_pane/native_tabbed_pane_views.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: Make the TabbedPaneTest use NativeTabbedPaneWin. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_VIEWS_H_ 5 #ifndef UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_VIEWS_H_
6 #define UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_VIEWS_H_ 6 #define UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_VIEWS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ui/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h" 10 #include "ui/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h"
11 #include "ui/views/view.h" 11 #include "ui/views/view.h"
12 12
13 namespace views { 13 namespace views {
14 14
15 class TabbedPane;
15 class TabLayout; 16 class TabLayout;
16 class TabStrip; 17 class TabStrip;
17 class Widget; 18 class Widget;
18 19
19 class NativeTabbedPaneViews : public View, 20 class NativeTabbedPaneViews : public View,
20 public NativeTabbedPaneWrapper { 21 public NativeTabbedPaneWrapper {
21 public: 22 public:
22 explicit NativeTabbedPaneViews(TabbedPane* tabbed_pane); 23 explicit NativeTabbedPaneViews(TabbedPane* tabbed_pane);
23 virtual ~NativeTabbedPaneViews(); 24 virtual ~NativeTabbedPaneViews();
24 25
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 65
65 // The content displayed in the tab. 66 // The content displayed in the tab.
66 View* content_view_; 67 View* content_view_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(NativeTabbedPaneViews); 69 DISALLOW_COPY_AND_ASSIGN(NativeTabbedPaneViews);
69 }; 70 };
70 71
71 } // namespace views 72 } // namespace views
72 73
73 #endif // UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_VIEWS_H_ 74 #endif // UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698