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

Unified Diff: chrome/browser/ui/search_engines/template_url_table_model.h

Issue 15805002: Modify extension omnibox keywords to be user-configurable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
Index: chrome/browser/ui/search_engines/template_url_table_model.h
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 cedd5524e6011aab2b0a47d7312695f789a97bf0..67d21e74ed868b7a9c4604275576fca29ec43706 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,9 @@ 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 engines group.
Devlin 2013/05/24 02:42:54 maybe make this say "... in the 'other search engi
Aaron Jacobs 2013/05/24 03:06:14 Done.
+ int last_other_engine_index() const { return last_other_engine_index_; }
+
private:
friend class ModelEntry;
@@ -118,6 +121,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);
};

Powered by Google App Engine
This is Rietveld 408576698