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

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

Issue 2281813002: ChromeOS: Restrict material-design OOBE to compatible devices only. (Closed)
Patch Set: Created 4 years, 4 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 fd9a28f208520d0dcb7450e73af150c3f87f8ce7..ffad9301718c6de49e16ac56fb1d29c9da8804ee 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.h
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.h
@@ -154,6 +154,9 @@ class OobeUI : public content::WebUIController,
return network_state_informer_.get();
}
+ // This call enables polymer-based UI.
+ void EnableMdOobe();
+
private:
void AddScreenHandler(BaseScreenHandler* handler);
@@ -238,6 +241,9 @@ class OobeUI : public content::WebUIController,
// Observer of CrosSettings watching the kRebootOnShutdown policy.
std::unique_ptr<ShutdownPolicyHandler> shutdown_policy_handler_;
+ // This controls displaying of polymer-based OOBE UI.
+ bool md_oobe_enabled_ = false;
+
DISALLOW_COPY_AND_ASSIGN(OobeUI);
};
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698