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

Unified Diff: chrome/browser/ui/webui/feedback_ui.cc

Issue 10382142: whip the feedback page into shape (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 7 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/browser/resources/shared/css/widgets.css ('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/feedback_ui.cc
diff --git a/chrome/browser/ui/webui/feedback_ui.cc b/chrome/browser/ui/webui/feedback_ui.cc
index b5d32db463773972ef0d80bce2d0a573aeec5763..caa9ce71c60f5ed4c6fd4f1042924da5bab40684 100644
--- a/chrome/browser/ui/webui/feedback_ui.cc
+++ b/chrome/browser/ui/webui/feedback_ui.cc
@@ -230,6 +230,7 @@ class FeedbackHandler : public WebUIMessageHandler,
ChromeWebUIDataSource* CreateFeedbackUIHTMLSource(bool successful_init) {
ChromeWebUIDataSource* source =
new ChromeWebUIDataSource(chrome::kChromeUIFeedbackHost);
+ source->set_use_json_js_format_v2();
source->AddLocalizedString("title", IDS_FEEDBACK_TITLE);
source->AddLocalizedString("page-title", IDS_FEEDBACK_REPORT_PAGE_TITLE);
@@ -440,7 +441,6 @@ void FeedbackHandler::HandleRefreshCurrentScreenshot(const ListValue*) {
web_ui()->CallJavascriptFunction("setupCurrentScreenshot", screenshot);
}
-
#if defined(OS_CHROMEOS)
void FeedbackHandler::HandleRefreshSavedScreenshots(const ListValue*) {
std::vector<std::string>* saved_screenshots = new std::vector<std::string>;
« no previous file with comments | « chrome/browser/resources/shared/css/widgets.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698