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

Unified Diff: chrome/browser/chromeos/login/message_bubble.cc

Issue 8142026: Revert 104076 - Change std::wstring to string16 for views::Link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/browser/chromeos/login/eula_view.cc ('k') | chrome/browser/chromeos/login/network_selection_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/message_bubble.cc
===================================================================
--- chrome/browser/chromeos/login/message_bubble.cc (revision 104083)
+++ chrome/browser/chromeos/login/message_bubble.cc (working copy)
@@ -7,7 +7,6 @@
#include <vector>
#include "base/logging.h"
-#include "base/utf_string_conversions.h"
#include "chrome/browser/chromeos/login/helper.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources_standard.h"
@@ -63,7 +62,7 @@
icon_->SetImage(*image);
layout->AddView(icon_);
- text_ = new views::Label(WideToUTF16Hack(text));
+ text_ = new views::Label(text);
text_->SetMultiLine(true);
text_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
text_->SizeToFit(kMaxLabelWidth);
@@ -80,7 +79,7 @@
for (size_t i = 0; i < links.size(); ++i) {
layout->StartRowWithPadding(0, 1, 0, kBorderSize);
- views::Link* help_link_ = new views::Link(WideToUTF16Hack(links[i]));
+ views::Link* help_link_ = new views::Link(links[i]);
help_links_.push_back(help_link_);
help_link_->set_listener(this);
help_link_->SetNormalColor(login::kLinkColor);
« no previous file with comments | « chrome/browser/chromeos/login/eula_view.cc ('k') | chrome/browser/chromeos/login/network_selection_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698