| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2010 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 #include "views/controls/table/native_table_gtk.h" | 5 #include "views/controls/table/native_table_gtk.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/logging.h" |
| 9 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| 10 #include "gfx/gtk_util.h" | 11 #include "gfx/gtk_util.h" |
| 11 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
| 12 #include "views/controls/table/table_view2.h" | 13 #include "views/controls/table/table_view2.h" |
| 13 #include "views/controls/table/table_view_observer.h" | 14 #include "views/controls/table/table_view_observer.h" |
| 14 #include "views/widget/widget.h" | 15 #include "views/widget/widget.h" |
| 15 | 16 |
| 16 namespace views { | 17 namespace views { |
| 17 | 18 |
| 18 //////////////////////////////////////////////////////////////////////////////// | 19 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 SkBitmap icon = table_->model()->GetIcon(row); | 344 SkBitmap icon = table_->model()->GetIcon(row); |
| 344 return gfx::GdkPixbufFromSkBitmap(&icon); | 345 return gfx::GdkPixbufFromSkBitmap(&icon); |
| 345 } | 346 } |
| 346 | 347 |
| 347 // static | 348 // static |
| 348 NativeTableWrapper* NativeTableWrapper::CreateNativeWrapper(TableView2* table) { | 349 NativeTableWrapper* NativeTableWrapper::CreateNativeWrapper(TableView2* table) { |
| 349 return new NativeTableGtk(table); | 350 return new NativeTableGtk(table); |
| 350 } | 351 } |
| 351 | 352 |
| 352 } // namespace views | 353 } // namespace views |
| OLD | NEW |