| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/chromeos/login/login_display.h" | 5 #include "chrome/browser/chromeos/login/login_display.h" |
| 6 | 6 |
| 7 namespace chromeos { | 7 namespace chromeos { |
| 8 | 8 |
| 9 LoginDisplay::Delegate::~Delegate() {} | 9 LoginDisplay::Delegate::~Delegate() {} |
| 10 | 10 |
| 11 LoginDisplay::LoginDisplay(Delegate* delegate, | 11 LoginDisplay::LoginDisplay(Delegate* delegate, |
| 12 const gfx::Rect& background_bounds) | 12 const gfx::Rect& background_bounds) |
| 13 : delegate_(delegate), | 13 : delegate_(delegate), |
| 14 parent_window_(NULL), | 14 parent_window_(NULL), |
| 15 background_bounds_(background_bounds) { | 15 background_bounds_(background_bounds) { |
| 16 } | 16 } |
| 17 | 17 |
| 18 LoginDisplay::~LoginDisplay() {} | 18 LoginDisplay::~LoginDisplay() {} |
| 19 | 19 |
| 20 void LoginDisplay::Destroy() { | |
| 21 delete this; | |
| 22 } | |
| 23 | |
| 24 } // namespace chromeos | 20 } // namespace chromeos |
| OLD | NEW |