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

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

Issue 11052015: Fix bug with login-prompt-visible not being sent in some rare cases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_LOGIN_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 // Maps installed accelerators to OOBE webui accelerator identifiers. 142 // Maps installed accelerators to OOBE webui accelerator identifiers.
143 AccelMap accel_map_; 143 AccelMap accel_map_;
144 144
145 // Whether the host window is frozen. 145 // Whether the host window is frozen.
146 bool host_window_frozen_; 146 bool host_window_frozen_;
147 147
148 // True when WebUI is being initialized hidden. 148 // True when WebUI is being initialized hidden.
149 bool is_hidden_; 149 bool is_hidden_;
150 150
151 // True when NOTIFICATION_LOGIN_WEBUI_VISIBLE notification has fired.
152 bool login_visible_notification_fired_;
153
154 // True is login-prompt-visible event has been already handled. 151 // True is login-prompt-visible event has been already handled.
155 bool login_prompt_visible_handled_; 152 bool login_prompt_visible_handled_;
156 153
157 // Should we emit the login-prompt-visible signal when the login page is 154 // Should we emit the login-prompt-visible signal when the login page is
158 // displayed? 155 // displayed?
159 bool should_emit_login_prompt_visible_; 156 bool should_emit_login_prompt_visible_;
160 157
161 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); 158 DISALLOW_COPY_AND_ASSIGN(WebUILoginView);
162 }; 159 };
163 160
164 } // namespace chromeos 161 } // namespace chromeos
165 162
166 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 163 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698