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

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: 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 const std::string& password) OVERRIDE; 60 const std::string& password) OVERRIDE;
61 virtual void LoginAsGuest() OVERRIDE; 61 virtual void LoginAsGuest() OVERRIDE;
62 virtual void OnUserSelected(const std::string& username) OVERRIDE; 62 virtual void OnUserSelected(const std::string& username) OVERRIDE;
63 virtual void OnStartEnterpriseEnrollment() OVERRIDE; 63 virtual void OnStartEnterpriseEnrollment() OVERRIDE;
64 64
65 // content::NotificationObserver implementation. 65 // content::NotificationObserver implementation.
66 virtual void Observe(int type, 66 virtual void Observe(int type,
67 const content::NotificationSource& source, 67 const content::NotificationSource& source,
68 const content::NotificationDetails& details) OVERRIDE; 68 const content::NotificationDetails& details) OVERRIDE;
69 69
70 protected:
71 // Overridden from views::View:
72 virtual void Layout() OVERRIDE;
73
74 // Overridden from WebUILoginView:
75 virtual void InitStatusArea() OVERRIDE;
76
70 private: 77 private:
71 virtual ~WebUIScreenLocker(); 78 virtual ~WebUIScreenLocker();
72 79
73 // Called when the window manager is ready to handle locked state. 80 // Called when the window manager is ready to handle locked state.
74 void OnWindowManagerReady(); 81 void OnWindowManagerReady();
75 82
76 // Called when the all inputs are grabbed. 83 // Called when the all inputs are grabbed.
77 void OnGrabInputs(); 84 void OnGrabInputs();
78 85
79 // Clear current GTK grab. 86 // Clear current GTK grab.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Status of keyboard and mouse grab. 121 // Status of keyboard and mouse grab.
115 GdkGrabStatus kbd_grab_status_; 122 GdkGrabStatus kbd_grab_status_;
116 GdkGrabStatus mouse_grab_status_; 123 GdkGrabStatus mouse_grab_status_;
117 124
118 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 125 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
119 }; 126 };
120 127
121 } // namespace chromeos 128 } // namespace chromeos
122 129
123 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 130 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698