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

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: merge + nit Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..327c6eee49286da016280a46de06818a27f711cc 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 actions when login prompt is considered
+ // 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698