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

Unified Diff: chrome/browser/chromeos/frame/panel_controller.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
Index: chrome/browser/chromeos/frame/panel_controller.cc
===================================================================
--- chrome/browser/chromeos/frame/panel_controller.cc (revision 104083)
+++ chrome/browser/chromeos/frame/panel_controller.cc (working copy)
@@ -211,7 +211,7 @@
client_event_handler_id_ = g_signal_connect(
panel_, "client-event", G_CALLBACK(OnPanelClientEvent), this);
-#endif // !USE_AURA
+#endif // !USE_AURA
title_content_ = new TitleContentView(this);
title_window_->SetContentsView(title_content_);
@@ -222,7 +222,8 @@
void PanelController::UpdateTitleBar() {
if (!delegate_ || !title_window_)
return;
- title_content_->title_label()->SetText(delegate_->GetPanelTitle());
+ title_content_->title_label()->SetText(
+ UTF16ToWideHack(delegate_->GetPanelTitle()));
title_content_->title_icon()->SetImage(delegate_->GetPanelIcon());
}
@@ -439,7 +440,7 @@
title_icon_ = new views::ImageView();
AddChildView(title_icon_);
- title_label_ = new views::Label(string16());
+ title_label_ = new views::Label(std::wstring());
title_label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
AddChildView(title_label_);
« no previous file with comments | « chrome/browser/chromeos/frame/bubble_frame_view.cc ('k') | chrome/browser/chromeos/input_method/candidate_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698