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

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: 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
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..ebbb80c525f5c8672b71557e1cd067e61360689c 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. |source_contents| is omitted from the open pages.
dschuyler 2017/06/07 01:20:26 Maybe: s/is/and Chrome dev tools are/
Dan Beam 2017/06/07 01:42:09 ehhh, i don't want to update this every time we ch
+ void SetToCurrentlyOpenPages(const content::WebContents* source_contents);
sky 2017/06/07 16:08:48 source_contents->ignore_contents ?
Dan Beam 2017/06/07 22:56:50 Done.
// 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') | chrome/browser/custom_home_pages_table_model.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698