Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Side by Side Diff: chrome/browser/chromeos/login/login_display.cc

Issue 8395042: [cros,de-hack] Get rid of singleton for the WebUILoginScreen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comment nit Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_display.h ('k') | chrome/browser/chromeos/login/login_display_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698