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

Side by Side Diff: chrome/browser/chromeos/login/screens/error_screen_actor.h

Issue 332243002: Network connectivity errors handling (incl. CP) for enrollment flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits Created 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/mock_error_screen.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SCREENS_ERROR_SCREEN_ACTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_ACTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_ACTOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // screen. 46 // screen.
47 OobeUI::Screen parent_screen() const { return parent_screen_; } 47 OobeUI::Screen parent_screen() const { return parent_screen_; }
48 48
49 // Sets screen this actor belongs to. 49 // Sets screen this actor belongs to.
50 virtual void SetDelegate(ErrorScreenActorDelegate* delegate) = 0; 50 virtual void SetDelegate(ErrorScreenActorDelegate* delegate) = 0;
51 51
52 // Shows the screen. 52 // Shows the screen.
53 virtual void Show(OobeDisplay::Screen parent_screen, 53 virtual void Show(OobeDisplay::Screen parent_screen,
54 base::DictionaryValue* params) = 0; 54 base::DictionaryValue* params) = 0;
55 55
56 // Shows the screen and call |on_hide| on hide.
57 virtual void Show(OobeDisplay::Screen parent_screen,
58 base::DictionaryValue* params,
59 const base::Closure& on_hide) = 0;
60
56 // Hides the screen. 61 // Hides the screen.
57 virtual void Hide() = 0; 62 virtual void Hide() = 0;
58 63
59 // Initializes captive portal dialog and shows that if needed. 64 // Initializes captive portal dialog and shows that if needed.
60 virtual void FixCaptivePortal() = 0; 65 virtual void FixCaptivePortal() = 0;
61 66
62 // Shows captive portal dialog. 67 // Shows captive portal dialog.
63 virtual void ShowCaptivePortal() = 0; 68 virtual void ShowCaptivePortal() = 0;
64 69
65 // Hides captive portal dialog. 70 // Hides captive portal dialog.
(...skipping 19 matching lines...) Expand all
85 bool show_connecting_indicator_; 90 bool show_connecting_indicator_;
86 91
87 OobeUI::Screen parent_screen_; 92 OobeUI::Screen parent_screen_;
88 93
89 DISALLOW_COPY_AND_ASSIGN(ErrorScreenActor); 94 DISALLOW_COPY_AND_ASSIGN(ErrorScreenActor);
90 }; 95 };
91 96
92 } // namespace chromeos 97 } // namespace chromeos
93 98
94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_ACTOR_H_ 99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_ACTOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/mock_error_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698