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

Unified Diff: views/controls/table/table_view2.h

Issue 7983050: views: Get rid of TableView2::CreateWrapper(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | views/controls/table/table_view2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/table/table_view2.h
diff --git a/views/controls/table/table_view2.h b/views/controls/table/table_view2.h
index 600bf5277f635eaa91bb9540f2501681df2718b0..58f5c0b0a8c0450aa6336ad28f47e36f16853f86 100644
--- a/views/controls/table/table_view2.h
+++ b/views/controls/table/table_view2.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/models/table_model_observer.h"
#include "ui/gfx/canvas.h"
@@ -17,8 +18,6 @@
#include "views/controls/table/table_view.h"
#include "views/view.h"
-class SkBitmap;
-
namespace ui {
struct TableColumn;
class TableModel;
@@ -198,8 +197,9 @@ class VIEWS_EXPORT TableView2 : public View, public ui::TableModelObserver {
virtual gfx::NativeView GetTestingHandle();
protected:
- virtual NativeTableWrapper* CreateWrapper();
- virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child);
+ virtual void ViewHierarchyChanged(bool is_add,
+ View* parent,
+ View* child) OVERRIDE;
private:
friend class ListViewParent;
@@ -213,7 +213,7 @@ class VIEWS_EXPORT TableView2 : public View, public ui::TableModelObserver {
// cast from GetWindowLongPtr would break the pointer if it is pointing to a
// subclass (in the OO sense of TableView).
struct TableViewWrapper {
- explicit TableViewWrapper(TableView2* view) : table_view(view) { }
+ explicit TableViewWrapper(TableView2* view) : table_view(view) {}
TableView2* table_view;
};
« no previous file with comments | « no previous file | views/controls/table/table_view2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698