Chromium Code Reviews| Index: ui/aura/window.cc |
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc |
| index ad3b484adf2f9f9f9d2812d7c69d38c1fb48f113..0ea01f7c544143df5878a5f5b6328ecc915e20a2 100644 |
| --- a/ui/aura/window.cc |
| +++ b/ui/aura/window.cc |
| @@ -198,6 +198,12 @@ void Window::SetTitle(const base::string16& title) { |
| OnWindowTitleChanged(this)); |
| } |
| +void Window::SetIcon(const gfx::ImageSkia& icon) { |
| + if (!icon.isNull()) { |
| + icon_ = icon; |
| + } |
| +} |
| + |
| void Window::SetTransparent(bool transparent) { |
| transparent_ = transparent; |
| if (layer()) |