Chromium Code Reviews| Index: chrome/browser/ui/webui/options/browser_options_handler.h |
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.h b/chrome/browser/ui/webui/options/browser_options_handler.h |
| index e400130e71d1cfbb83e6ae672187031afda975ad..8c40f3b32ad931b3077fd8be81909669ade580b5 100644 |
| --- a/chrome/browser/ui/webui/options/browser_options_handler.h |
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.h |
| @@ -65,6 +65,10 @@ class BrowserOptionsHandler : public OptionsPageUIHandler, |
| // Sets the search engine at the given index to be default. Called from WebUI. |
| void SetDefaultSearchEngine(const ListValue* args); |
| + // Sets the session restore setting to the integer values (enum) at index 0 of |
|
csilv
2011/07/28 20:29:36
nit: I think singular "value" is more correct in t
dhollowa
2011/07/28 20:51:38
Done.
|
| + // |args|. Called from WebUI. |
| + void SetRestoreOnStartup(const ListValue* args); |
| + |
| // Removes the startup page at the given indexes. Called from WebUI. |
| void RemoveStartupPages(const ListValue* args); |
| @@ -104,6 +108,9 @@ class BrowserOptionsHandler : public OptionsPageUIHandler, |
| // Updates the UI with the given state for the default browser. |
| void SetDefaultBrowserUIString(int status_string_id); |
| + // Updates the UI with the given state for the window restore setting. |
| + void UpdateRestoreOnStartup(); |
| + |
| // Loads the current set of custom startup pages and reports it to the WebUI. |
| void UpdateStartupPages(); |