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

Unified Diff: chrome/browser/custom_home_pages_table_model.h

Issue 7044136: Support drag&drop for startup pages (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 6 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/custom_home_pages_table_model.h
diff --git a/chrome/browser/custom_home_pages_table_model.h b/chrome/browser/custom_home_pages_table_model.h
index 51455645ac4a1a38a1b081419494705e875cc48a..a24b31a7149b929e837007115bb263d2233aefa7 100644
--- a/chrome/browser/custom_home_pages_table_model.h
+++ b/chrome/browser/custom_home_pages_table_model.h
@@ -33,6 +33,10 @@ class CustomHomePagesTableModel : public ui::TableModel {
// Sets the set of urls that this model contains.
void SetURLs(const std::vector<GURL>& urls);
+ // Collect all entries indexed by |index_list|, and moves them to be right
+ // before the element addressed by |insert_before|. Used by Drag&Drop.
+ void MoveURLs(int insert_before, const std::vector<int>& index_list);
+
// Adds an entry at the specified index.
void Add(int index, const GURL& url);
« no previous file with comments | « no previous file | chrome/browser/custom_home_pages_table_model.cc » ('j') | chrome/browser/custom_home_pages_table_model.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698