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

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

Issue 6469027: [cros] Report captive portal message when we suspect that might be the case. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 10 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_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "chrome/browser/chromeos/login/help_app_launcher.h" 12 #include "chrome/browser/chromeos/login/help_app_launcher.h"
13 #include "chrome/browser/chromeos/login/user_manager.h" 13 #include "chrome/browser/chromeos/login/user_manager.h"
14 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 // An abstract class that defines login UI implementation. 19 // An abstract class that defines login UI implementation.
20 class LoginDisplay { 20 class LoginDisplay {
21 public: 21 public:
22 class Delegate { 22 class Delegate {
23 public: 23 public:
24 // Create new Google account. 24 // Create new Google account.
25 virtual void CreateAccount() = 0; 25 virtual void CreateAccount() = 0;
26 26
27 // Users decides to sign in into captive portal.
28 virtual void FixCaptivePortal() = 0;
29
27 // Sign in using |username| and |password| specified. 30 // Sign in using |username| and |password| specified.
28 // Used for both known and new users. 31 // Used for both known and new users.
29 virtual void Login(const std::string& username, 32 virtual void Login(const std::string& username,
30 const std::string& password) = 0; 33 const std::string& password) = 0;
31 34
32 // Sign in into Guest session. 35 // Sign in into Guest session.
33 virtual void LoginAsGuest() = 0; 36 virtual void LoginAsGuest() = 0;
34 37
35 // Called when existing user pod is selected in the UI. 38 // Called when existing user pod is selected in the UI.
36 virtual void OnUserSelected(const std::string& username) = 0; 39 virtual void OnUserSelected(const std::string& username) = 0;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 100
98 // Bounds of the login UI background. 101 // Bounds of the login UI background.
99 const gfx::Rect background_bounds_; 102 const gfx::Rect background_bounds_;
100 103
101 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); 104 DISALLOW_COPY_AND_ASSIGN(LoginDisplay);
102 }; 105 };
103 106
104 } // namespace chromeos 107 } // namespace chromeos
105 108
106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ 109 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/shutdown_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698