| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/shell/browser/shell.h" | 5 #include "content/shell/browser/shell.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "content/public/browser/web_contents.h" | 9 #include "content/public/browser/web_contents.h" |
| 10 #include "content/public/browser/web_contents_view.h" | 10 #include "content/public/browser/web_contents_view.h" |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 } | 379 } |
| 380 | 380 |
| 381 void Shell::PlatformSetTitle(const string16& title) { | 381 void Shell::PlatformSetTitle(const string16& title) { |
| 382 ShellWindowDelegateView* delegate_view = | 382 ShellWindowDelegateView* delegate_view = |
| 383 static_cast<ShellWindowDelegateView*>(window_widget_->widget_delegate()); | 383 static_cast<ShellWindowDelegateView*>(window_widget_->widget_delegate()); |
| 384 delegate_view->SetWindowTitle(title); | 384 delegate_view->SetWindowTitle(title); |
| 385 window_widget_->UpdateWindowTitle(); | 385 window_widget_->UpdateWindowTitle(); |
| 386 } | 386 } |
| 387 | 387 |
| 388 } // namespace content | 388 } // namespace content |
| OLD | NEW |