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

Side by Side Diff: chrome/browser/chromeos/login/base_login_display_host.h

Issue 6893052: Make customization documents singletons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments resolved Created 9 years, 7 months 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 // Returns the default LoginDispalyHost instance if it has been created. 36 // Returns the default LoginDispalyHost instance if it has been created.
37 static LoginDisplayHost* default_host() { 37 static LoginDisplayHost* default_host() {
38 return default_host_; 38 return default_host_;
39 } 39 }
40 40
41 // LoginDisplayHost implementation: 41 // LoginDisplayHost implementation:
42 virtual void OnSessionStart(); 42 virtual void OnSessionStart();
43 virtual void StartWizard( 43 virtual void StartWizard(
44 const std::string& first_screen_name, 44 const std::string& first_screen_name,
45 const chromeos::StartupCustomizationDocument* manifest,
46 const GURL& start_url); 45 const GURL& start_url);
47 virtual void StartSignInScreen(); 46 virtual void StartSignInScreen();
48 47
49 const gfx::Rect& background_bounds() const { return background_bounds_; } 48 const gfx::Rect& background_bounds() const { return background_bounds_; }
50 49
51 private: 50 private:
52 // NotificationObserver implementation: 51 // NotificationObserver implementation:
53 virtual void Observe(NotificationType type, 52 virtual void Observe(NotificationType type,
54 const NotificationSource& source, 53 const NotificationSource& source,
55 const NotificationDetails& details); 54 const NotificationDetails& details);
(...skipping 11 matching lines...) Expand all
67 66
68 // OOBE and some screens (camera, recovery) controller. 67 // OOBE and some screens (camera, recovery) controller.
69 scoped_ptr<WizardController> wizard_controller_; 68 scoped_ptr<WizardController> wizard_controller_;
70 69
71 DISALLOW_COPY_AND_ASSIGN(BaseLoginDisplayHost); 70 DISALLOW_COPY_AND_ASSIGN(BaseLoginDisplayHost);
72 }; 71 };
73 72
74 } // namespace chromeos 73 } // namespace chromeos
75 74
76 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ 75 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698