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

Unified Diff: chrome/browser/chromeos/login/webui_login_view.h

Issue 10476002: [cros] Change how we track momemt to emit login-prompt-visible signal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/webui_login_view.h
diff --git a/chrome/browser/chromeos/login/webui_login_view.h b/chrome/browser/chromeos/login/webui_login_view.h
index a1585df503f30d22fe93d8fb79bb79674c788a35..4879ae16c4270b47d0ea4f07d89c4f2ec049f47f 100644
--- a/chrome/browser/chromeos/login/webui_login_view.h
+++ b/chrome/browser/chromeos/login/webui_login_view.h
@@ -111,6 +111,12 @@ class WebUILoginView : public views::WidgetDelegateView,
const content::WebContents* source) const OVERRIDE;
virtual bool TakeFocus(bool reverse) OVERRIDE;
+ // Performs series of action when login prompt is considered
Daniel Erat 2012/06/02 14:20:59 nit: s/action/actions/
Nikita (slow) 2012/06/04 09:18:25 Done.
+ // to be ready and visible.
+ // 1. Emits LoginPromptVisible signal if needed
+ // 2. Notifies OOBE/sign classes.
+ void OnLoginPromptVisible();
+
// Called when focus is returned from status area.
// |reverse| is true when focus is traversed backwards (using Shift-Tab).
void ReturnFocus(bool reverse);
@@ -137,11 +143,6 @@ class WebUILoginView : public views::WidgetDelegateView,
// Whether the host window is frozen.
bool host_window_frozen_;
- // Has the login page told us that it's ready? This is triggered by either
- // all of the user images or the GAIA prompt being loaded, whichever comes
- // first.
- bool login_page_is_loaded_;
-
// Should we emit the login-prompt-visible signal when the login page is
// displayed?
bool should_emit_login_prompt_visible_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | chrome/common/chrome_notification_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698