Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1173)

Unified Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.h

Issue 2600983003: ChromeOS MD-OOBE: Add HID detection screen. (Closed)
Patch Set: Rebased. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698