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

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

Issue 6027012: Fix so that login errors are shown from login/oobe screens.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BACKGROUND_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/boot_times_loader.h" 9 #include "chrome/browser/chromeos/boot_times_loader.h"
10 #include "chrome/browser/chromeos/cros/cros_library.h" 10 #include "chrome/browser/chromeos/cros/cros_library.h"
11 #include "chrome/browser/chromeos/login/login_html_dialog.h" 11 #include "chrome/browser/chromeos/login/login_html_dialog.h"
12 #include "chrome/browser/chromeos/status/status_area_host.h" 12 #include "chrome/browser/chromeos/status/status_area_host.h"
13 #include "chrome/browser/chromeos/version_loader.h" 13 #include "chrome/browser/chromeos/version_loader.h"
14 #include "views/view.h" 14 #include "views/view.h"
15 15
16 namespace views { 16 namespace views {
17 class Label; 17 class Label;
18 class TextButton; 18 class TextButton;
19 class Widget; 19 class Widget;
20 class WindowDelegate;
20 } 21 }
21 22
22 class DOMView; 23 class DOMView;
23 class GURL; 24 class GURL;
24 class Profile; 25 class Profile;
25 26
26 namespace chromeos { 27 namespace chromeos {
27 28
28 class OobeProgressBar; 29 class OobeProgressBar;
29 class ShutdownButton; 30 class ShutdownButton;
(...skipping 27 matching lines...) Expand all
57 58
58 // Creates a window containing an instance of WizardContentsView as the root 59 // Creates a window containing an instance of WizardContentsView as the root
59 // view. The caller is responsible for showing (and closing) the returned 60 // view. The caller is responsible for showing (and closing) the returned
60 // widget. The BackgroundView is set in |view|. If background_url is non 61 // widget. The BackgroundView is set in |view|. If background_url is non
61 // empty, the content page of the url is displayed as a background. 62 // empty, the content page of the url is displayed as a background.
62 static views::Widget* CreateWindowContainingView( 63 static views::Widget* CreateWindowContainingView(
63 const gfx::Rect& bounds, 64 const gfx::Rect& bounds,
64 const GURL& background_url, 65 const GURL& background_url,
65 BackgroundView** view); 66 BackgroundView** view);
66 67
68 // Create a modal popup view.
69 void CreateModalPopup(views::WindowDelegate* view);
70
67 // Toggles status area visibility. 71 // Toggles status area visibility.
68 void SetStatusAreaVisible(bool visible); 72 void SetStatusAreaVisible(bool visible);
69 73
70 // Toggles whether status area is enabled. 74 // Toggles whether status area is enabled.
71 void SetStatusAreaEnabled(bool enable); 75 void SetStatusAreaEnabled(bool enable);
72 76
73 // Toggles OOBE progress bar visibility, the bar is hidden by default. 77 // Toggles OOBE progress bar visibility, the bar is hidden by default.
74 void SetOobeProgressBarVisible(bool visible); 78 void SetOobeProgressBarVisible(bool visible);
75 79
76 // Gets progress bar visibility. 80 // Gets progress bar visibility.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 163
160 // Proxy settings dialog that can be invoked from network menu. 164 // Proxy settings dialog that can be invoked from network menu.
161 scoped_ptr<LoginHtmlDialog> proxy_settings_dialog_; 165 scoped_ptr<LoginHtmlDialog> proxy_settings_dialog_;
162 166
163 DISALLOW_COPY_AND_ASSIGN(BackgroundView); 167 DISALLOW_COPY_AND_ASSIGN(BackgroundView);
164 }; 168 };
165 169
166 } // namespace chromeos 170 } // namespace chromeos
167 171
168 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ 172 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.cc ('k') | chrome/browser/chromeos/login/background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698