Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: ui/views/controls/table/native_table_gtk.cc

Issue 8655001: views: Move table and tree directories to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exclude native_widget_win_unittest too Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/controls/table/native_table_gtk.h ('k') | ui/views/controls/table/native_table_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "views/controls/table/native_table_gtk.h" 5 #include "ui/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/logging.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "ui/gfx/gtk_util.h" 12 #include "ui/gfx/gtk_util.h"
13 #include "ui/views/controls/table/table_view2.h"
14 #include "ui/views/controls/table/table_view_observer.h"
13 #include "ui/views/widget/widget.h" 15 #include "ui/views/widget/widget.h"
14 #include "views/controls/table/table_view2.h"
15 #include "views/controls/table/table_view_observer.h"
16 16
17 namespace views { 17 namespace views {
18 18
19 //////////////////////////////////////////////////////////////////////////////// 19 ////////////////////////////////////////////////////////////////////////////////
20 // NativeTableGtk, public: 20 // NativeTableGtk, public:
21 21
22 NativeTableGtk::NativeTableGtk(TableView2* table) 22 NativeTableGtk::NativeTableGtk(TableView2* table)
23 : table_(table), 23 : table_(table),
24 gtk_model_(NULL), 24 gtk_model_(NULL),
25 tree_view_(NULL), 25 tree_view_(NULL),
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 SkBitmap icon = table_->model()->GetIcon(row); 362 SkBitmap icon = table_->model()->GetIcon(row);
363 return gfx::GdkPixbufFromSkBitmap(&icon); 363 return gfx::GdkPixbufFromSkBitmap(&icon);
364 } 364 }
365 365
366 // static 366 // static
367 NativeTableWrapper* NativeTableWrapper::CreateNativeWrapper(TableView2* table) { 367 NativeTableWrapper* NativeTableWrapper::CreateNativeWrapper(TableView2* table) {
368 return new NativeTableGtk(table); 368 return new NativeTableGtk(table);
369 } 369 }
370 370
371 } // namespace views 371 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/table/native_table_gtk.h ('k') | ui/views/controls/table/native_table_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698