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

Unified Diff: chrome/browser/custom_home_pages_table_model.h

Issue 2924943002: MD Settings/On Startup: ignore current tab when using current pages (Closed)
Patch Set: ignore_contents Created 3 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
« no previous file with comments | « no previous file | chrome/browser/custom_home_pages_table_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9c649fa37e06dedfccdc01d1dc09621d254faac6..384fb54c252c38f0b672c606eb2aab3c6fe99ef9 100644
--- a/chrome/browser/custom_home_pages_table_model.h
+++ b/chrome/browser/custom_home_pages_table_model.h
@@ -18,6 +18,10 @@ class Browser;
class GURL;
class Profile;
+namespace content {
+class WebContents;
+}
+
namespace history {
class URLRow;
}
@@ -49,8 +53,8 @@ class CustomHomePagesTableModel : public ui::TableModel {
void Remove(int index);
// Clears any entries and fills the list with pages currently opened in the
- // browser.
- void SetToCurrentlyOpenPages();
+ // browser. |ignore_contents| is omitted from the open pages.
+ void SetToCurrentlyOpenPages(const content::WebContents* ignore_contents);
// Returns the set of urls this model contains.
std::vector<GURL> GetURLs();
« no previous file with comments | « no previous file | chrome/browser/custom_home_pages_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698