diff options
author | danno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-24 08:40:36 +0000 |
---|---|---|
committer | danno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-24 08:40:36 +0000 |
commit | 59548b46618373a688f300fe282d0fe24d350aa8 (patch) | |
tree | ca7ebd988a555be31865c080b36fee52e633813b /chrome/browser/views/options/general_page_view.h | |
parent | 569ca4f6cc7d13349418ff23f30746caf7c26d26 (diff) | |
download | chromium_src-59548b46618373a688f300fe282d0fe24d350aa8.zip chromium_src-59548b46618373a688f300fe282d0fe24d350aa8.tar.gz chromium_src-59548b46618373a688f300fe282d0fe24d350aa8.tar.bz2 |
fix forgotten homepage preference on Windows
BUG=47055
TEST=manual
Review URL: http://codereview.chromium.org/2815021
Patch from Gábor Fehér <gfeher@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50708 0039d316-1c4b-4281-b951-d872f2087c98
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. |