summaryrefslogtreecommitdiffstats
path: root/app/table_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/table_model.cc')
-rw-r--r--app/table_model.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/table_model.cc b/app/table_model.cc
index b70ad2d..821e14c 100644
--- a/app/table_model.cc
+++ b/app/table_model.cc
@@ -6,6 +6,7 @@
#include "app/l10n_util.h"
#include "app/l10n_util_collator.h"
+#include "base/logging.h"
#include "third_party/skia/include/core/SkBitmap.h"
// TableColumn -----------------------------------------------------------------
@@ -75,6 +76,28 @@ SkBitmap TableModel::GetIcon(int row) {
return SkBitmap();
}
+std::wstring TableModel::GetTooltip(int row) {
+ return std::wstring();
+}
+
+bool TableModel::HasGroups() {
+ return false;
+}
+
+TableModel::Groups TableModel::GetGroups() {
+ // If you override HasGroups to return true, you must override this as
+ // well.
+ NOTREACHED();
+ return std::vector<Group>();
+}
+
+int TableModel::GetGroupID(int row) {
+ // If you override HasGroups to return true, you must override this as
+ // well.
+ NOTREACHED();
+ return 0;
+}
+
int TableModel::CompareValues(int row1, int row2, int column_id) {
DCHECK(row1 >= 0 && row1 < RowCount() &&
row2 >= 0 && row2 < RowCount());