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

Unified Diff: chrome/common/temp_scaffolding_stubs.h

Issue 21315: Add TableModel to the scaffold, so we don't depend on views. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « chrome/browser/bookmarks/bookmark_table_model.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/temp_scaffolding_stubs.h
===================================================================
--- chrome/common/temp_scaffolding_stubs.h (revision 9707)
+++ chrome/common/temp_scaffolding_stubs.h (working copy)
@@ -491,6 +491,23 @@
class AcceleratorHandler {
};
+class TableModelObserver {
+ public:
+ virtual void OnModelChanged() = 0;
+ virtual void OnItemsChanged(int, int) = 0;
+ virtual void OnItemsAdded(int, int) = 0;
+ virtual void OnItemsRemoved(int, int) = 0;
+};
+
+class TableModel {
+ public:
+ int CompareValues(int row1, int row2, int column_id) {
+ NOTIMPLEMENTED();
+ return 0;
+ }
+ virtual int RowCount() = 0;
+};
+
} // namespace views
//---------------------------------------------------------------------------
« no previous file with comments | « chrome/browser/bookmarks/bookmark_table_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698