summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/bookmarks/bookmark_table_model.cc1
-rw-r--r--chrome/browser/bookmarks/bookmark_table_model.h7
-rw-r--r--chrome/common/temp_scaffolding_stubs.h17
3 files changed, 25 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_table_model.cc b/chrome/browser/bookmarks/bookmark_table_model.cc
index 2129012..4f85120 100644
--- a/chrome/browser/bookmarks/bookmark_table_model.cc
+++ b/chrome/browser/bookmarks/bookmark_table_model.cc
@@ -11,6 +11,7 @@
#include "base/time_format.h"
#include "grit/theme_resources.h"
#include "chrome/browser/bookmarks/bookmark_utils.h"
+#include "chrome/common/l10n_util.h"
#include "chrome/common/resource_bundle.h"
#include "googleurl/src/gurl.h"
diff --git a/chrome/browser/bookmarks/bookmark_table_model.h b/chrome/browser/bookmarks/bookmark_table_model.h
index b7f295e..55c557d 100644
--- a/chrome/browser/bookmarks/bookmark_table_model.h
+++ b/chrome/browser/bookmarks/bookmark_table_model.h
@@ -6,7 +6,14 @@
#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_TABLE_MODEL_H_
#include "chrome/browser/bookmarks/bookmark_model.h"
+
+#include "build/build_config.h"
+
+#if defined(OS_WIN)
#include "chrome/views/table_view.h"
+#elif defined(OS_POSIX)
+#include "chrome/common/temp_scaffolding_stubs.h"
+#endif
// BookmarkTableModel provides a view of the BookmarkModel as a TableModel.
// Three variations are provided:
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
//---------------------------------------------------------------------------