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 3 // found in the LICENSE file. 4 5 #include "chrome/browser/chromeos/login/login_display.h" 6 7 namespace chromeos { 8 9 LoginDisplay::Delegate::~Delegate() {} 10 11 LoginDisplay::LoginDisplay(Delegate* delegate, 12 const gfx::Rect& background_bounds) 13 : delegate_(delegate), 14 parent_window_(NULL), 15 background_bounds_(background_bounds) { 16 } 17 18 LoginDisplay::~LoginDisplay() {} 19 20 void LoginDisplay::Destroy() { 21 delete this; 22 } 23 24 } // namespace chromeos 25