OLD | NEW |
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 VIEWS_CONTROLS_TABBED_PANE_H_ | 5 #ifndef VIEWS_CONTROLS_TABBED_PANE_H_ |
6 #define VIEWS_CONTROLS_TABBED_PANE_H_ | 6 #define VIEWS_CONTROLS_TABBED_PANE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "views/view.h" | 11 #include "views/view.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 | 14 |
15 class NativeTabbedPaneWrapper; | 15 class NativeTabbedPaneWrapper; |
16 class TabbedPaneListener; | 16 class TabbedPaneListener; |
17 | 17 |
18 // TabbedPane is a view that shows tabs. When the user clicks on a tab, the | 18 // TabbedPane is a view that shows tabs. When the user clicks on a tab, the |
19 // associated view is displayed. | 19 // associated view is displayed. |
20 class VIEWS_API TabbedPane : public View { | 20 class VIEWS_EXPORT TabbedPane : public View { |
21 public: | 21 public: |
22 TabbedPane(); | 22 TabbedPane(); |
23 virtual ~TabbedPane(); | 23 virtual ~TabbedPane(); |
24 | 24 |
25 TabbedPaneListener* listener() const { return listener_; } | 25 TabbedPaneListener* listener() const { return listener_; } |
26 void set_listener(TabbedPaneListener* listener) { listener_ = listener; } | 26 void set_listener(TabbedPaneListener* listener) { listener_ = listener; } |
27 | 27 |
28 NativeTabbedPaneWrapper* native_wrapper() const { | 28 NativeTabbedPaneWrapper* native_wrapper() const { |
29 return native_tabbed_pane_; | 29 return native_tabbed_pane_; |
30 } | 30 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 // The accessible name of this view. | 100 // The accessible name of this view. |
101 string16 accessible_name_; | 101 string16 accessible_name_; |
102 | 102 |
103 DISALLOW_COPY_AND_ASSIGN(TabbedPane); | 103 DISALLOW_COPY_AND_ASSIGN(TabbedPane); |
104 }; | 104 }; |
105 | 105 |
106 } // namespace views | 106 } // namespace views |
107 | 107 |
108 #endif // VIEWS_CONTROLS_TABBED_PANE_H_ | 108 #endif // VIEWS_CONTROLS_TABBED_PANE_H_ |
OLD | NEW |