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

Unified Diff: chrome/browser/gtk/infobar_gtk.h

Issue 3127009: Convert infobar APIs to UTF-16. (Closed)
Patch Set: works Created 10 years, 4 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/gtk/infobar_gtk.h
diff --git a/chrome/browser/gtk/infobar_gtk.h b/chrome/browser/gtk/infobar_gtk.h
index ce1762ace297afb9c86b9eea018bedc6ad611796..194c39b632a098f83988a9bf8792460b1581f224 100644
--- a/chrome/browser/gtk/infobar_gtk.h
+++ b/chrome/browser/gtk/infobar_gtk.h
@@ -73,8 +73,8 @@ class InfoBar : public SlideAnimatorGtk::Delegate,
// or right aligned in the infobar if |link_offset| is |npos|. |link_padding|
// pixels are inserted around the link (pass 0 for not padding). If a link
// is supplied, |link_callback| must not be null. It will be invoked on click.
- void AddLabelAndLink(const std::wstring& display_text,
- const std::wstring& link,
+ void AddLabelAndLink(const string16& display_text,
+ const string16& link,
size_t link_offset,
guint link_padding,
GCallback link_callback);

Powered by Google App Engine
This is Rietveld 408576698