diff options
Diffstat (limited to 'chrome/browser/views/options/general_page_view.h')
-rw-r--r-- | chrome/browser/views/options/general_page_view.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/views/options/general_page_view.h b/chrome/browser/views/options/general_page_view.h index 4ef4020..7838fbe 100644 --- a/chrome/browser/views/options/general_page_view.h +++ b/chrome/browser/views/options/general_page_view.h @@ -104,10 +104,10 @@ class GeneralPageView : public OptionsPageView, const std::wstring& title, const GURL& url); - // Sets the home page preferences for kNewTabPageIsHomePage and kHomePage. - // If an empty or null-host GURL is passed in we revert to using NewTab - // page as the Homepage. - void SetHomepage(const GURL& homepage); + // Copies the home page preferences from the gui controls to + // kNewTabPageIsHomePage and kHomePage. If an empty or null-host + // URL is specified, then we revert to using NewTab page as the Homepage. + void UpdateHomepagePrefs(); // Invoked when the selection of the table view changes. Updates the enabled // property of the remove button. |