summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/search_engines/template_url_table_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/search_engines/template_url_table_model.h')
-rw-r--r--chrome/browser/ui/search_engines/template_url_table_model.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/ui/search_engines/template_url_table_model.h b/chrome/browser/ui/search_engines/template_url_table_model.h
index cedd552..6ee70b9 100644
--- a/chrome/browser/ui/search_engines/template_url_table_model.h
+++ b/chrome/browser/ui/search_engines/template_url_table_model.h
@@ -97,6 +97,10 @@ class TemplateURLTableModel : public ui::TableModel,
// Returns the index of the last entry shown in the search engines group.
int last_search_engine_index() const { return last_search_engine_index_; }
+ // Returns the index of the last entry shown in the other search engines
+ // group.
+ int last_other_engine_index() const { return last_other_engine_index_; }
+
private:
friend class ModelEntry;
@@ -118,6 +122,10 @@ class TemplateURLTableModel : public ui::TableModel,
// group boundaries.
int last_search_engine_index_;
+ // Index of the last other engine in entries_. This is used to determine the
+ // group boundaries.
+ int last_other_engine_index_;
+
DISALLOW_COPY_AND_ASSIGN(TemplateURLTableModel);
};