| OLD | NEW |
| 1 | 1 |
| 2 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 2 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 #include "views/controls/table/table_view2.h" | 6 #include "views/controls/table/table_view2.h" |
| 7 | 7 |
| 8 #include "app/table_model.h" | 8 #include "app/table_model.h" |
| 9 #include "base/logging.h" |
| 9 #include "views/controls/native/native_view_host.h" | 10 #include "views/controls/native/native_view_host.h" |
| 10 #include "views/controls/table/table_view_observer.h" | 11 #include "views/controls/table/table_view_observer.h" |
| 11 | 12 |
| 12 namespace views { | 13 namespace views { |
| 13 | 14 |
| 14 // TableView2 ------------------------------------------------------------------ | 15 // TableView2 ------------------------------------------------------------------ |
| 15 | 16 |
| 16 TableView2::TableView2(TableModel* model, | 17 TableView2::TableView2(TableModel* model, |
| 17 const std::vector<TableColumn>& columns, | 18 const std::vector<TableColumn>& columns, |
| 18 TableTypes table_type, | 19 TableTypes table_type, |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 } | 340 } |
| 340 | 341 |
| 341 //////////////////////////////////////////////////////////////////////////////// | 342 //////////////////////////////////////////////////////////////////////////////// |
| 342 // NativeTable2, protected: | 343 // NativeTable2, protected: |
| 343 | 344 |
| 344 NativeTableWrapper* TableView2::CreateWrapper() { | 345 NativeTableWrapper* TableView2::CreateWrapper() { |
| 345 return NativeTableWrapper::CreateNativeWrapper(this); | 346 return NativeTableWrapper::CreateNativeWrapper(this); |
| 346 } | 347 } |
| 347 | 348 |
| 348 } // namespace views | 349 } // namespace views |
| OLD | NEW |