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

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

Issue 7497060: Support for guest signin and new user accounts in gaia signin screen. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual void ShowError(int error_msg_id, 68 virtual void ShowError(int error_msg_id,
69 int login_attempts, 69 int login_attempts,
70 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; 70 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE;
71 71
72 // SigninScreenHandlerDelegate implementation: 72 // SigninScreenHandlerDelegate implementation:
73 virtual void CompleteLogin(const std::string& username, 73 virtual void CompleteLogin(const std::string& username,
74 const std::string& password) OVERRIDE; 74 const std::string& password) OVERRIDE;
75 virtual void Login(const std::string& username, 75 virtual void Login(const std::string& username,
76 const std::string& password) OVERRIDE; 76 const std::string& password) OVERRIDE;
77 virtual void LoginAsGuest() OVERRIDE; 77 virtual void LoginAsGuest() OVERRIDE;
78 virtual void CreateAccount() OVERRIDE;
78 virtual void RemoveUser(const std::string& username) OVERRIDE; 79 virtual void RemoveUser(const std::string& username) OVERRIDE;
79 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; 80 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE;
80 virtual void SetWebUIHandler( 81 virtual void SetWebUIHandler(
81 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; 82 LoginDisplayWebUIHandler* webui_handler) OVERRIDE;
82 83
83 void set_login_window(views::Widget* login_window) { 84 void set_login_window(views::Widget* login_window) {
84 login_window_ = login_window; 85 login_window_ = login_window;
85 } 86 }
86 87
87 const std::vector<UserManager::User>& users() const { 88 const std::vector<UserManager::User>& users() const {
(...skipping 27 matching lines...) Expand all
115 116
116 // Reference to the WebUI handling layer for the login screen 117 // Reference to the WebUI handling layer for the login screen
117 LoginDisplayWebUIHandler* webui_handler_; 118 LoginDisplayWebUIHandler* webui_handler_;
118 119
119 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); 120 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay);
120 }; 121 };
121 122
122 } // namespace chromeos 123 } // namespace chromeos
123 124
124 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 125 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698