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

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

Issue 2912593002: Create OOBE screen for Voice Interaction value proposition (Closed)
Patch Set: Create OOBE screen for Voice Interaction value proposition Created 3 years, 6 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_voice_interaction_value_prop.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_voice_interaction_value_prop.js b/chrome/browser/resources/chromeos/login/oobe_voice_interaction_value_prop.js
new file mode 100644
index 0000000000000000000000000000000000000000..6a86000e8954bad877d99338176d8c047eb8315e
--- /dev/null
+++ b/chrome/browser/resources/chromeos/login/oobe_voice_interaction_value_prop.js
@@ -0,0 +1,39 @@
+// 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 voice
+ * interaction value prop screen.
+ */
+
+Polymer({
+ is: 'voice-interaction-value-prop-md',
+
+ /**
+ * Returns element by its id.
+ */
+ getElement: function(id) {
+ return this.$[id];
+ },
+
+ /**
+ * On-tap event handler for no thanks button.
+ *
+ * @private
+ */
+ onNoThanksTap_: function() {
+ chrome.send('login.VoiceInteractionValuePropScreen.userActed',
+ ['no-thanks-pressed']);
+ },
+
+ /**
+ * On-tap event handler for continue button.
+ *
+ * @private
+ */
+ onContinueTap_: function() {
+ chrome.send('login.VoiceInteractionValuePropScreen.userActed',
+ ['continue-pressed']);
+ },
+});
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_voice_interaction_value_prop.html ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698