| Index: chrome/browser/ui/webui/options2/core_options_handler2.h
|
| diff --git a/chrome/browser/ui/webui/options2/core_options_handler2.h b/chrome/browser/ui/webui/options2/core_options_handler2.h
|
| index 8849a6ab77ec3d0f88f162597fd4fb69cd2ddc08..71b0b9583c38d5689197ff02ffc62f75bf0fa4fa 100644
|
| --- a/chrome/browser/ui/webui/options2/core_options_handler2.h
|
| +++ b/chrome/browser/ui/webui/options2/core_options_handler2.h
|
| @@ -98,10 +98,15 @@ class CoreOptionsHandler : public OptionsPageUIHandler {
|
| TYPE_LIST,
|
| };
|
|
|
| - // Callback for the "coreOptionsInitialize" message. This message will
|
| - // trigger the Initialize() method of all other handlers so that final
|
| - // setup can be performed before the page is shown.
|
| - void HandleInitialize(const ListValue* args);
|
| + // Callback for the "coreOptionsInitializeHandlers" message. This calls the
|
| + // InitializeHandler() method of all other handlers. It happens after the
|
| + // JavaScript objects have been set up, but before HandleInitializePages().
|
| + void HandleInitializeHandlers(const ListValue* args);
|
| +
|
| + // Callback for the "coreOptionsInitializePages" message. This calls the
|
| + // InitializePage() method of all other handlers, to pass data back to the
|
| + // JavaScript on the page so it can populate the UI.
|
| + void HandleInitializePages(const ListValue* args);
|
|
|
| // Callback for the "fetchPrefs" message. This message accepts the list of
|
| // preference names passed as the |args| parameter (ListValue). It passes
|
|
|