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

Unified Diff: chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js

Issue 2756863002: ChromeOS: Powerwash UI update (Closed)
Patch Set: merge Created 3 years, 8 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/resources/chromeos/login/oobe_reset_confirmation_overlay.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js b/chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js
new file mode 100644
index 0000000000000000000000000000000000000000..79521162e3e5dd10ceaf5c0420db2d865b5aaded
--- /dev/null
+++ b/chrome/browser/resources/chromeos/login/oobe_reset_confirmation_overlay.js
@@ -0,0 +1,30 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview Polymer element for displaying material design reset
+ * confirmation overlay screen.
+ */
+
+Polymer({
+ is: 'reset-confirm-overlay-md',
+
+ properties: {
+ isPowerwashView_: Boolean,
+ },
+
+ /**
+ * On-tap event handler for continue button.
+ */
+ onContinueTap_: function() {
+ chrome.send('login.ResetScreen.userActed', ['powerwash-pressed']);
+ },
+
+ /**
+ * On-tap event handler for cancel button.
+ */
+ onCancelTap_: function() {
+ chrome.send('login.ResetScreen.userActed', ['reset-confirm-dismissed']);
+ },
+});

Powered by Google App Engine
This is Rietveld 408576698