Chromium Code Reviews| Index: ui/aura/window.cc |
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc |
| index 35b29245800305296a51d22587321b4717fb4bd8..f4130e4407f356e06cc135fb85a2f20ab359d181 100644 |
| --- a/ui/aura/window.cc |
| +++ b/ui/aura/window.cc |
| @@ -305,6 +305,12 @@ void Window::SetName(const std::string& name) { |
| UpdateLayerName(); |
| } |
| +void Window::SetTitle(const base::string16& title) { |
| + title_ = title; |
| + FOR_EACH_OBSERVER(WindowObserver, observers_, OnWindowTitleChanged(this, |
| + title)); |
|
tdanderson
2014/06/20 22:33:23
Each of the arguments of FOR_EACH_OBSERVER on a ne
Nina
2014/06/20 23:02:37
Done.
|
| +} |
| + |
| void Window::SetTransparent(bool transparent) { |
| transparent_ = transparent; |
| if (layer()) |