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

Side by Side Diff: views/controls/table/native_table_gtk.h

Issue 3017036: views: Fix bad license headers found in some files (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: revert vertical whitespace Created 10 years, 4 months 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // source code is governed by a BSD-style license that can be found in the 2 // Use of this source code is governed by a BSD-style license that can be
3 // LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ 5 #ifndef VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_
6 #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ 6 #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/gtk_signal.h" 9 #include "app/gtk_signal.h"
10 #include "app/table_model.h" 10 #include "app/table_model.h"
11 #include "views/controls/native_control_gtk.h" 11 #include "views/controls/native_control_gtk.h"
12 #include "views/controls/table/native_table_wrapper.h" 12 #include "views/controls/table/native_table_wrapper.h"
13 13
14 namespace views { 14 namespace views {
15 15
16 class TableView2; 16 class TableView2;
17 17
18 // A View that hosts a native GTK table. 18 // A View that hosts a native GTK table.
19 // Note that the implementation is still incomplete. What remains to be done: 19 // TODO: Note that the implementation is still incomplete. What remains to be
20 // done:
20 // - support resizable columns 21 // - support resizable columns
21 // - support autosize columns 22 // - support autosize columns
22 // - implement focus row methods. 23 // - implement focus row methods.
23 class NativeTableGtk : public NativeControlGtk, public NativeTableWrapper { 24 class NativeTableGtk : public NativeControlGtk, public NativeTableWrapper {
24 public: 25 public:
25 explicit NativeTableGtk(TableView2* table); 26 explicit NativeTableGtk(TableView2* table);
26 virtual ~NativeTableGtk(); 27 virtual ~NativeTableGtk();
27 28
28 // NativeTableWrapper implementation: 29 // NativeTableWrapper implementation:
29 virtual int GetRowCount() const; 30 virtual int GetRowCount() const;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 81
81 // Size (width and height) of images. 82 // Size (width and height) of images.
82 static const int kImageSize; 83 static const int kImageSize;
83 84
84 DISALLOW_COPY_AND_ASSIGN(NativeTableGtk); 85 DISALLOW_COPY_AND_ASSIGN(NativeTableGtk);
85 }; 86 };
86 87
87 } // namespace views 88 } // namespace views
88 89
89 #endif // VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_ 90 #endif // VIEWS_CONTROLS_TABLE_NATIVE_TABLE_GTK_H_
OLDNEW
« no previous file with comments | « views/controls/slider/native_slider_wrapper.h ('k') | views/controls/table/native_table_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698