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

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

Issue 10056001: chromeos: Remove old status-area related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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_WEBUI_SCREEN_LOCKER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 virtual void OnStartEnterpriseEnrollment() OVERRIDE; 62 virtual void OnStartEnterpriseEnrollment() OVERRIDE;
63 63
64 // content::NotificationObserver (via WebUILoginView) implementation. 64 // content::NotificationObserver (via WebUILoginView) implementation.
65 virtual void Observe(int type, 65 virtual void Observe(int type,
66 const content::NotificationSource& source, 66 const content::NotificationSource& source,
67 const content::NotificationDetails& details) OVERRIDE; 67 const content::NotificationDetails& details) OVERRIDE;
68 68
69 // LockWindow::Observer implementation. 69 // LockWindow::Observer implementation.
70 virtual void OnLockWindowReady() OVERRIDE; 70 virtual void OnLockWindowReady() OVERRIDE;
71 71
72 // Overridden from WebUILoginView.
73 virtual StatusAreaViewChromeos::ScreenMode GetScreenMode() OVERRIDE;
74 virtual views::Widget::InitParams::Type GetStatusAreaWidgetType() OVERRIDE;
75
76 private: 72 private:
77 friend class test::WebUIScreenLockerTester; 73 friend class test::WebUIScreenLockerTester;
78 74
79 virtual ~WebUIScreenLocker(); 75 virtual ~WebUIScreenLocker();
80 76
81 // The screen locker window. 77 // The screen locker window.
82 views::Widget* lock_window_; 78 views::Widget* lock_window_;
83 79
84 // Login UI implementation instance. 80 // Login UI implementation instance.
85 scoped_ptr<WebUILoginDisplay> login_display_; 81 scoped_ptr<WebUILoginDisplay> login_display_;
86 82
87 // Used for user image changed notifications. 83 // Used for user image changed notifications.
88 content::NotificationRegistrar registrar_; 84 content::NotificationRegistrar registrar_;
89 85
90 // Tracks when the lock window is displayed and ready. 86 // Tracks when the lock window is displayed and ready.
91 bool lock_ready_; 87 bool lock_ready_;
92 88
93 // Tracks when the WebUI finishes loading. 89 // Tracks when the WebUI finishes loading.
94 bool webui_ready_; 90 bool webui_ready_;
95 91
96 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 92 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
97 }; 93 };
98 94
99 } // namespace chromeos 95 } // namespace chromeos
100 96
101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 97 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.cc ('k') | chrome/browser/chromeos/login/webui_screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698