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

Unified Diff: chrome/browser/custom_home_pages_table_model.h

Issue 1427563002: Disclude Settings window and settings-frame from startup pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use helper function Created 5 years, 2 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 60304b6cf2836691edd58cf1a21a7319172b6919..1b49e978d8a1269e87c32e26c9bef3ccf4d157e2 100644
--- a/chrome/browser/custom_home_pages_table_model.h
+++ b/chrome/browser/custom_home_pages_table_model.h
@@ -13,6 +13,7 @@
#include "components/history/core/browser/history_types.h"
#include "ui/base/models/table_model.h"
+class Browser;
class GURL;
class Profile;
@@ -64,6 +65,9 @@ class CustomHomePagesTableModel : public ui::TableModel {
// and title of the page.
struct Entry;
+ // Returns false if pages from |browser| should not be considered.
+ bool ShouldIncludeBrowser(Browser* browser);
+
// Loads the title for the specified entry.
void LoadTitle(Entry* entry);
« 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