| Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.h
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.h b/chrome/browser/ui/webui/chromeos/login/oobe_ui.h
|
| index ba9bebb5cff1e589eb028f1ccc770a07593079ee..c9a8977f30379a92ce0e36c6689e45aabfabdb15 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.h
|
| +++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.h
|
| @@ -159,6 +159,10 @@ class OobeUI : public content::WebUIController,
|
| return network_state_informer_.get();
|
| }
|
|
|
| + // Does ReloadContent() if needed (for example, if material design mode has
|
| + // changed).
|
| + void UpdateLocalizedStringsIfNeeded();
|
| +
|
| private:
|
| void AddScreenHandler(std::unique_ptr<BaseScreenHandler> handler);
|
|
|
| @@ -235,6 +239,10 @@ class OobeUI : public content::WebUIController,
|
| // calls.
|
| bool ready_ = false;
|
|
|
| + // This flag stores material-design mode (on/off) of currently displayed UI.
|
| + // If different version of UI is required, UI is updated.
|
| + bool oobe_ui_md_mode_ = false;
|
| +
|
| // Callbacks to notify when JS part is fully loaded and ready to accept calls.
|
| std::vector<base::Closure> ready_callbacks_;
|
|
|
|
|