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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const GURL& start_url); 45 const GURL& start_url);
46 virtual void StartSignInScreen(); 46 virtual void StartSignInScreen();
47 47
48 // Implementation specific WizardController creation method. 48 // Implementation specific WizardController creation method.
49 virtual WizardController* CreateWizardController(); 49 virtual WizardController* CreateWizardController();
50 50
51 const gfx::Rect& background_bounds() const { return background_bounds_; } 51 const gfx::Rect& background_bounds() const { return background_bounds_; }
52 52
53 private: 53 private:
54 // NotificationObserver implementation: 54 // NotificationObserver implementation:
55 virtual void Observe(NotificationType type, 55 virtual void Observe(int type,
56 const NotificationSource& source, 56 const NotificationSource& source,
57 const NotificationDetails& details); 57 const NotificationDetails& details);
58 58
59 // Used to calculate position of the screens and background. 59 // Used to calculate position of the screens and background.
60 gfx::Rect background_bounds_; 60 gfx::Rect background_bounds_;
61 61
62 NotificationRegistrar registrar_; 62 NotificationRegistrar registrar_;
63 63
64 // Default LoginDisplayHost. 64 // Default LoginDisplayHost.
65 static LoginDisplayHost* default_host_; 65 static LoginDisplayHost* default_host_;
66 66
67 // Sign in screen controller. 67 // Sign in screen controller.
68 scoped_ptr<ExistingUserController> sign_in_controller_; 68 scoped_ptr<ExistingUserController> sign_in_controller_;
69 69
70 // OOBE and some screens (camera, recovery) controller. 70 // OOBE and some screens (camera, recovery) controller.
71 scoped_ptr<WizardController> wizard_controller_; 71 scoped_ptr<WizardController> wizard_controller_;
72 72
73 // Keeps views based OobeDisplay implementation if any. 73 // Keeps views based OobeDisplay implementation if any.
74 // TODO(altimofeev): move it to ViewsLoginDisplayHost. Also see comment in 74 // TODO(altimofeev): move it to ViewsLoginDisplayHost. Also see comment in
75 // the CreateWizardController(). 75 // the CreateWizardController().
76 scoped_ptr<ViewsOobeDisplay> oobe_display_; 76 scoped_ptr<ViewsOobeDisplay> oobe_display_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(BaseLoginDisplayHost); 78 DISALLOW_COPY_AND_ASSIGN(BaseLoginDisplayHost);
79 }; 79 };
80 80
81 } // namespace chromeos 81 } // namespace chromeos
82 82
83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ 83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/locale_change_guard.cc ('k') | chrome/browser/chromeos/login/base_login_display_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698