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

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

Issue 13878010: Merge WebUILoginDisplayHost into LoginDisplayHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge + move method definition Created 7 years, 8 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) 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_WIZARD_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // If true zero delays have been enabled (for browser tests). 74 // If true zero delays have been enabled (for browser tests).
75 static bool IsZeroDelayEnabled(); 75 static bool IsZeroDelayEnabled();
76 76
77 // Skips any screens that may normally be shown after login (registration, 77 // Skips any screens that may normally be shown after login (registration,
78 // Terms of Service, user image selection). 78 // Terms of Service, user image selection).
79 static void SkipPostLoginScreensForTesting(); 79 static void SkipPostLoginScreensForTesting();
80 80
81 // Shows the first screen defined by |first_screen_name| or by default 81 // Shows the first screen defined by |first_screen_name| or by default
82 // if the parameter is empty. Takes ownership of |screen_parameters|. 82 // if the parameter is empty. Takes ownership of |screen_parameters|.
83 void Init(const std::string& first_screen_name, 83 void Init(const std::string& first_screen_name,
84 base::DictionaryValue* screen_parameters); 84 scoped_ptr<base::DictionaryValue> screen_parameters);
85 85
86 // Advances to screen defined by |screen_name| and shows it. 86 // Advances to screen defined by |screen_name| and shows it.
87 void AdvanceToScreen(const std::string& screen_name); 87 void AdvanceToScreen(const std::string& screen_name);
88 88
89 // Advances to screen defined by |screen_name| and shows it. 89 // Advances to screen defined by |screen_name| and shows it.
90 // Takes ownership of |screen_parameters|. 90 // Takes ownership of |screen_parameters|.
91 void AdvanceToScreenWithParams(const std::string& first_screen_name, 91 void AdvanceToScreenWithParams(const std::string& first_screen_name,
92 base::DictionaryValue* screen_parameters); 92 base::DictionaryValue* screen_parameters);
93 93
94 // Advances to login screen. Should be used in for testing only. 94 // Advances to login screen. Should be used in for testing only.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 FRIEND_TEST_ALL_PREFIXES(WizardControllerFlowTest, Accelerators); 291 FRIEND_TEST_ALL_PREFIXES(WizardControllerFlowTest, Accelerators);
292 friend class WizardControllerFlowTest; 292 friend class WizardControllerFlowTest;
293 friend class WizardInProcessBrowserTest; 293 friend class WizardInProcessBrowserTest;
294 294
295 DISALLOW_COPY_AND_ASSIGN(WizardController); 295 DISALLOW_COPY_AND_ASSIGN(WizardController);
296 }; 296 };
297 297
298 } // namespace chromeos 298 } // namespace chromeos
299 299
300 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 300 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display_host.cc ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698