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

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

Issue 7111033: Ties up OOBE controllers and WebUI handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 6 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_WEBUI_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual void SelectPod(int index) OVERRIDE; 65 virtual void SelectPod(int index) OVERRIDE;
66 virtual void ShowError(int error_msg_id, 66 virtual void ShowError(int error_msg_id,
67 int login_attempts, 67 int login_attempts,
68 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; 68 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE;
69 69
70 // LoginUIHandlerDelegate 70 // LoginUIHandlerDelegate
71 virtual void Login(const std::string& username, 71 virtual void Login(const std::string& username,
72 const std::string& password) OVERRIDE; 72 const std::string& password) OVERRIDE;
73 virtual void LoginAsGuest() OVERRIDE; 73 virtual void LoginAsGuest() OVERRIDE;
74 74
75 void set_login_window(views::Widget* login_window) {
76 login_window_ = login_window;
77 }
78
75 private: 79 private:
76 // Singleton implementation: 80 // Singleton implementation:
77 friend struct DefaultSingletonTraits<WebUILoginDisplay>; 81 friend struct DefaultSingletonTraits<WebUILoginDisplay>;
78 WebUILoginDisplay(); 82 WebUILoginDisplay();
79 83
80 // Set of Users in the systemvisible UserControllers. 84 // Set of Users in the systemvisible UserControllers.
81 std::vector<UserManager::User> users_; 85 std::vector<UserManager::User> users_;
82 86
83 // Container of the screen we are displaying 87 // Container of the screen we are displaying
84 views::Widget* login_window_; 88 views::Widget* login_window_;
85 89
86 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); 90 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay);
87 }; 91 };
88 92
89 } // namespace chromeos 93 } // namespace chromeos
90 94
91 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 95 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/views_login_display_host.cc ('k') | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698