OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #ifndef VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WRAPPER_H_ | 5 #ifndef VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WRAPPER_H_ |
6 #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WRAPPER_H_ | 6 #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WRAPPER_H_ |
7 | 7 |
8 #include "gfx/native_widget_types.h" | 8 #include "gfx/native_widget_types.h" |
9 | 9 |
10 namespace views { | 10 namespace views { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // added or been removed. | 62 // added or been removed. |
63 virtual void OnRowsChanged(int start, int length) = 0; | 63 virtual void OnRowsChanged(int start, int length) = 0; |
64 virtual void OnRowsAdded(int start, int length) = 0; | 64 virtual void OnRowsAdded(int start, int length) = 0; |
65 virtual void OnRowsRemoved(int start, int length) = 0; | 65 virtual void OnRowsRemoved(int start, int length) = 0; |
66 | 66 |
67 // Returns the bounds of the native table. | 67 // Returns the bounds of the native table. |
68 virtual gfx::Rect GetBounds() const = 0; | 68 virtual gfx::Rect GetBounds() const = 0; |
69 | 69 |
70 // Creates an appropriate NativeButtonWrapper for the platform. | 70 // Creates an appropriate NativeButtonWrapper for the platform. |
71 static NativeTableWrapper* CreateNativeWrapper(TableView2* table); | 71 static NativeTableWrapper* CreateNativeWrapper(TableView2* table); |
| 72 |
| 73 protected: |
| 74 virtual ~NativeTableWrapper() {} |
72 }; | 75 }; |
73 | 76 |
74 } // namespace views | 77 } // namespace views |
75 | 78 |
76 #endif // VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WRAPPER_H_ | 79 #endif // VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WRAPPER_H_ |
OLD | NEW |