| 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_NATIVE_TABBED_PANE_WRAPPER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WRAPPER_H_ |
| 6 #define VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WRAPPER_H_ | 6 #define UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WRAPPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 #include "ui/gfx/native_widget_types.h" |
| 11 |
| 12 namespace gfx { |
| 13 class Size; |
| 14 } |
| 10 | 15 |
| 11 namespace views { | 16 namespace views { |
| 12 | 17 |
| 13 class TabbedPane; | 18 class TabbedPane; |
| 14 class View; | 19 class View; |
| 15 | 20 |
| 16 // An interface implemented by an object that provides a platform-native | 21 // An interface implemented by an object that provides a platform-native |
| 17 // tabbed-pane. | 22 // tabbed-pane. |
| 18 class NativeTabbedPaneWrapper { | 23 class NativeTabbedPaneWrapper { |
| 19 public: | 24 public: |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 69 |
| 65 // Returns a handle to the underlying native view for testing. | 70 // Returns a handle to the underlying native view for testing. |
| 66 virtual gfx::NativeView GetTestingHandle() const = 0; | 71 virtual gfx::NativeView GetTestingHandle() const = 0; |
| 67 | 72 |
| 68 // Creates an appropriate NativeTabbedPaneWrapper for the platform. | 73 // Creates an appropriate NativeTabbedPaneWrapper for the platform. |
| 69 static NativeTabbedPaneWrapper* CreateNativeWrapper(TabbedPane* tabbed_pane); | 74 static NativeTabbedPaneWrapper* CreateNativeWrapper(TabbedPane* tabbed_pane); |
| 70 }; | 75 }; |
| 71 | 76 |
| 72 } // namespace views | 77 } // namespace views |
| 73 | 78 |
| 74 #endif // VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WRAPPER_H_ | 79 #endif // UI_VIEWS_CONTROLS_TABBED_PANE_NATIVE_TABBED_PANE_WRAPPER_H_ |
| OLD | NEW |