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

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

Issue 8770012: Override status area window type for WebUI lock screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Override the status area window type for the lock screen. Created 9 years 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 #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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // content::NotificationObserver implementation. 60 // content::NotificationObserver implementation.
61 virtual void Observe(int type, 61 virtual void Observe(int type,
62 const content::NotificationSource& source, 62 const content::NotificationSource& source,
63 const content::NotificationDetails& details) OVERRIDE; 63 const content::NotificationDetails& details) OVERRIDE;
64 64
65 // LockWindow::Observer implementation. 65 // LockWindow::Observer implementation.
66 virtual void OnLockWindowReady() OVERRIDE; 66 virtual void OnLockWindowReady() OVERRIDE;
67 67
68 // Overridden from WebUILoginView. 68 // Overridden from WebUILoginView.
69 virtual void OnTabMainFrameFirstRender() OVERRIDE; 69 virtual void OnTabMainFrameFirstRender() OVERRIDE;
70 virtual views::Widget::InitParams::Type GetStatusAreaWidgetType() OVERRIDE;
70 71
71 private: 72 private:
72 virtual ~WebUIScreenLocker(); 73 virtual ~WebUIScreenLocker();
73 74
74 // The screen locker window. 75 // The screen locker window.
75 views::Widget* lock_window_; 76 views::Widget* lock_window_;
76 77
77 // Login UI implementation instance. 78 // Login UI implementation instance.
78 scoped_ptr<WebUILoginDisplay> login_display_; 79 scoped_ptr<WebUILoginDisplay> login_display_;
79 80
80 // Used for user image changed notifications. 81 // Used for user image changed notifications.
81 content::NotificationRegistrar registrar_; 82 content::NotificationRegistrar registrar_;
82 83
83 // Tracks when the lock window is displayed and ready. 84 // Tracks when the lock window is displayed and ready.
84 bool lock_ready_; 85 bool lock_ready_;
85 86
86 // Tracks when the WebUI finishes loading. 87 // Tracks when the WebUI finishes loading.
87 bool webui_ready_; 88 bool webui_ready_;
88 89
89 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 90 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
90 }; 91 };
91 92
92 } // namespace chromeos 93 } // namespace chromeos
93 94
94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 95 #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