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

Unified Diff: content/shell/browser/shell_views.cc

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « content/shell/browser/shell_network_delegate.cc ('k') | content/shell/browser/shell_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index 273eef610160604123a0913fd4b8b6160f82fc9b..e137fcb4df01266f92200fa7b3e27fdbb6625a54 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -110,7 +110,7 @@ class ShellWindowDelegateView : public views::WidgetDelegateView,
#endif
}
- void SetWindowTitle(const string16& title) { title_ = title; }
+ void SetWindowTitle(const base::string16& title) { title_ = title; }
void EnableUIControl(UIControl control, bool is_enabled) {
if (control == BACK_BUTTON) {
back_button_->SetState(is_enabled ? views::CustomButton::STATE_NORMAL
@@ -215,7 +215,7 @@ class ShellWindowDelegateView : public views::WidgetDelegateView,
}
// Overridden from TextfieldController
virtual void ContentsChanged(views::Textfield* sender,
- const string16& new_contents) OVERRIDE {
+ const base::string16& new_contents) OVERRIDE {
}
virtual bool HandleKeyEvent(views::Textfield* sender,
const ui::KeyEvent& key_event) OVERRIDE {
@@ -248,7 +248,7 @@ class ShellWindowDelegateView : public views::WidgetDelegateView,
// Overridden from WidgetDelegateView
virtual bool CanResize() const OVERRIDE { return true; }
virtual bool CanMaximize() const OVERRIDE { return true; }
- virtual string16 GetWindowTitle() const OVERRIDE {
+ virtual base::string16 GetWindowTitle() const OVERRIDE {
return title_;
}
virtual void WindowClosing() OVERRIDE {
@@ -272,7 +272,7 @@ class ShellWindowDelegateView : public views::WidgetDelegateView,
Shell* shell_;
// Window title
- string16 title_;
+ base::string16 title_;
// Toolbar view contains forward/backward/reload button and URL entry
View* toolbar_view_;
@@ -387,7 +387,7 @@ void Shell::Close() {
window_widget_->CloseNow();
}
-void Shell::PlatformSetTitle(const string16& title) {
+void Shell::PlatformSetTitle(const base::string16& title) {
ShellWindowDelegateView* delegate_view =
static_cast<ShellWindowDelegateView*>(window_widget_->widget_delegate());
delegate_view->SetWindowTitle(title);
« no previous file with comments | « content/shell/browser/shell_network_delegate.cc ('k') | content/shell/browser/shell_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698