| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "views/window/window_delegate.h" | 5 #include "views/window/window_delegate.h" |
| 6 #include "views/views_delegate.h" | 6 #include "views/views_delegate.h" |
| 7 #include "views/window/client_view.h" | 7 #include "views/window/client_view.h" |
| 8 #include "views/window/window.h" | 8 #include "views/window/window.h" |
| 9 #include "skia/include/SkBitmap.h" | 9 #include "third_party/skia/include/core/SkBitmap.h" |
| 10 | 10 |
| 11 namespace views { | 11 namespace views { |
| 12 | 12 |
| 13 WindowDelegate::WindowDelegate() { | 13 WindowDelegate::WindowDelegate() { |
| 14 } | 14 } |
| 15 | 15 |
| 16 WindowDelegate::~WindowDelegate() { | 16 WindowDelegate::~WindowDelegate() { |
| 17 ReleaseWindow(); | 17 ReleaseWindow(); |
| 18 } | 18 } |
| 19 | 19 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 ClientView* WindowDelegate::CreateClientView(Window* window) { | 64 ClientView* WindowDelegate::CreateClientView(Window* window) { |
| 65 return new ClientView(window, GetContentsView()); | 65 return new ClientView(window, GetContentsView()); |
| 66 } | 66 } |
| 67 | 67 |
| 68 void WindowDelegate::ReleaseWindow() { | 68 void WindowDelegate::ReleaseWindow() { |
| 69 window_.release(); | 69 window_.release(); |
| 70 } | 70 } |
| 71 | 71 |
| 72 } // namespace views | 72 } // namespace views |
| OLD | NEW |