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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 5809001: Removed old login screen from source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed long line Created 10 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index 61e941a26acaec2ec3cb4abeec2a8181fb55d804..18aa938793ec7e1577d65bf5a9b61faf5725ff79 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -50,6 +50,11 @@ class ExistingUserController : public WmMessageListener::Observer,
ExistingUserController(const std::vector<UserManager::User>& users,
const gfx::Rect& background_bounds);
+ // Returns the current existing user controller if it has been created.
+ static ExistingUserController* current_controller() {
+ return current_controller_;
+ }
+
// Creates and shows the appropriate set of windows.
void Init();
@@ -156,6 +161,10 @@ class ExistingUserController : public WmMessageListener::Observer,
// if there is no such instance.
static ExistingUserController* delete_scheduled_instance_;
+ // Pointer to the current instance of the controller to be used by
+ // automation tests.
+ static ExistingUserController* current_controller_;
Dmitry Polukhin 2010/12/14 14:06:18 Yeah one more static pointer to current controller
whywhat 2010/12/16 10:47:52 Done.
+
// Pointer to shown message bubble. We don't need to delete it because
// it will be deleted on bubble closing.
MessageBubble* bubble_;

Powered by Google App Engine
This is Rietveld 408576698