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

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

Issue 6902107: Merge 82987, 83304 - make sure that OEM tab is shown even if first login is Guest (Closed) Base URL: svn://svn.chromium.org/chrome/branches/742/src/
Patch Set: Created 9 years, 7 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 // This file contains helper functions used by Chromium OS login. 5 // This file contains helper functions used by Chromium OS login.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
8 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 8 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 15 matching lines...) Expand all
26 class MenuButton; 26 class MenuButton;
27 class Painter; 27 class Painter;
28 class SmoothedThrobber; 28 class SmoothedThrobber;
29 class Textfield; 29 class Textfield;
30 class Throbber; 30 class Throbber;
31 class Widget; 31 class Widget;
32 } // namespace views 32 } // namespace views
33 33
34 namespace chromeos { 34 namespace chromeos {
35 35
36 class StartupCustomizationDocument;
37 class NetworkLibrary; 36 class NetworkLibrary;
38 37
39 // View that provides interface for start/stop throbber above the view. 38 // View that provides interface for start/stop throbber above the view.
40 class ThrobberHostView : public views::View { 39 class ThrobberHostView : public views::View {
41 public: 40 public:
42 ThrobberHostView(); 41 ThrobberHostView();
43 virtual ~ThrobberHostView(); 42 virtual ~ThrobberHostView();
44 43
45 // Creates throbber above the view in the right side with the default 44 // Creates throbber above the view in the right side with the default
46 // margin. Also places throbber in the middle of the vertical host size. 45 // margin. Also places throbber in the middle of the vertical host size.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Returns URL used for account recovery. 101 // Returns URL used for account recovery.
103 GURL GetAccountRecoveryHelpUrl(); 102 GURL GetAccountRecoveryHelpUrl();
104 103
105 // Returns name of the currently connected network. 104 // Returns name of the currently connected network.
106 // If there are no connected networks, returns name of the network 105 // If there are no connected networks, returns name of the network
107 // that is in the "connecting" state. Otherwise empty string is returned. 106 // that is in the "connecting" state. Otherwise empty string is returned.
108 // If there are multiple connected networks, network priority: 107 // If there are multiple connected networks, network priority:
109 // Ethernet > WiFi > Cellular. Same for connecting network. 108 // Ethernet > WiFi > Cellular. Same for connecting network.
110 string16 GetCurrentNetworkName(NetworkLibrary* network_library); 109 string16 GetCurrentNetworkName(NetworkLibrary* network_library);
111 110
112 // Load OEM partner startup customization manifest
113 // containing locale, timezone, EULA, etc.
114 const chromeos::StartupCustomizationDocument* LoadStartupManifest();
115
116 // Define the constants in |login| namespace to avoid potential 111 // Define the constants in |login| namespace to avoid potential
117 // conflict with other chromeos components. 112 // conflict with other chromeos components.
118 namespace login { 113 namespace login {
119 114
120 // Command tag for buttons on the lock screen. 115 // Command tag for buttons on the lock screen.
121 enum Command { 116 enum Command {
122 SIGN_OUT, 117 SIGN_OUT,
123 }; 118 };
124 119
125 // Gap between edge and image view, and image view and controls. 120 // Gap between edge and image view, and image view and controls.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 186
192 // New pod sizes. 187 // New pod sizes.
193 const int kNewUserPodFullWidth = 372; 188 const int kNewUserPodFullWidth = 372;
194 const int kNewUserPodFullHeight = 372; 189 const int kNewUserPodFullHeight = 372;
195 const int kNewUserPodSmallWidth = 360; 190 const int kNewUserPodSmallWidth = 360;
196 const int kNewUserPodSmallHeight = 322; 191 const int kNewUserPodSmallHeight = 322;
197 192
198 } // namespace chromeos 193 } // namespace chromeos
199 194
200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ 195 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller_browsertest.cc ('k') | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698