summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 01:52:48 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 01:52:48 +0000
commit03583a990b8c0e9baa359fce2f9ecbec12ff07cf (patch)
treebbb42cd35505acfc7c1ecce7ffe210277960fddf /chrome/common
parentfd765a5c78bbf73ce9acbc2153e785fdfb05981f (diff)
downloadchromium_src-03583a990b8c0e9baa359fce2f9ecbec12ff07cf.zip
chromium_src-03583a990b8c0e9baa359fce2f9ecbec12ff07cf.tar.gz
chromium_src-03583a990b8c0e9baa359fce2f9ecbec12ff07cf.tar.bz2
Add TableModel to the scaffold, so we don't depend on views.
Review URL: http://codereview.chromium.org/21315 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/temp_scaffolding_stubs.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 607f0f3..dd5271f 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -479,6 +479,23 @@ namespace views {
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
//---------------------------------------------------------------------------