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

Unified Diff: app/table_model.h

Issue 126184: Move TableModel out of views/ and into app/.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: addressed comments, build fixes Created 11 years, 6 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 | « app/app.gyp ('k') | app/table_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/table_model.h
===================================================================
--- app/table_model.h (revision 18411)
+++ app/table_model.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef VIEWS_CONTROLS_TABLE_TABLE_MODEL_H_
-#define VIEWS_CONTROLS_TABLE_TABLE_MODEL_H_
+#ifndef APP_TABLE_MODEL_H_
+#define APP_TABLE_MODEL_H_
#include <string>
#include <vector>
@@ -13,8 +13,6 @@
class SkBitmap;
-namespace views {
-
class TableModelObserver;
// The model driving the TableView.
@@ -92,6 +90,9 @@
// comparison.
virtual int CompareValues(int row1, int row2, int column_id);
+ // Reset the collator.
+ void ClearCollator();
+
protected:
// Returns the collator used by CompareValues.
Collator* GetCollator();
@@ -149,6 +150,4 @@
bool sortable;
};
-} // namespace views
-
-#endif // VIEWS_CONTROLS_TABLE_TABLE_MODEL_H_
+#endif // APP_TABLE_MODEL_H_
« no previous file with comments | « app/app.gyp ('k') | app/table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698