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

Unified Diff: chrome/browser/resources/md_feedback/feedback_container.js

Issue 2190653003: [Md Feedback] Add initial data population for dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/md_feedback/feedback_container.js
diff --git a/chrome/browser/resources/md_feedback/feedback_container.js b/chrome/browser/resources/md_feedback/feedback_container.js
index 7caa6ab00318f7fa489f829ad5ebf3b98e956b2b..b4ac3eb8261c8cc6ca61109a312d49f524cf343a 100644
--- a/chrome/browser/resources/md_feedback/feedback_container.js
+++ b/chrome/browser/resources/md_feedback/feedback_container.js
@@ -8,6 +8,24 @@
Polymer({
is: 'feedback-container',
+ properties: {
+ /**
+ * The user's email, if available.
+ * @type {string|undefined}
+ */
+ email: {
+ type: String,
+ },
+
+ /**
+ * The URL of the page the user was on before sending feedback.
+ * @type {string|undefined}
+ */
+ url: {
+ type: String,
+ },
+ },
+
/**
* Retrieves the feedback privacy note text, if it exists. On non-officially
* branded builds, the string is not defined.

Powered by Google App Engine
This is Rietveld 408576698