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

Unified Diff: chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.cc

Issue 2400043002: [MD Feedback] Add dialog title. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 2 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.cc
diff --git a/chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.cc b/chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.cc
index d866afb8fa72f1b9e9fbb895a7326e49ff0e269c..613da1bf3be4c2f9debad7bc35d25389db9a5c26 100644
--- a/chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.cc
+++ b/chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.cc
@@ -6,8 +6,10 @@
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/common/url_constants.h"
+#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
+#include "ui/base/l10n/l10n_util.h"
#include "ui/web_dialogs/web_dialog_delegate.h"
#include "url/gurl.h"
@@ -25,7 +27,7 @@ class MdFeedbackDialogDelegate : public ui::WebDialogDelegate {
}
base::string16 GetDialogTitle() const override {
- return base::string16();
+ return l10n_util::GetStringUTF16(IDS_MD_FEEDBACK_DIALOG_TITLE);
}
GURL GetDialogContentURL() const override {
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698