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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h

Issue 645003002: Added keyboard shortcut on GAIA "Add User" screen to dogfood GAIA /EmbeddedSignin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
index 29c0746c8e4068e8e472af754153b5e0c750bebb..67a1161ae1b30874166c42e6ced5f3cc31d6eeab 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h
@@ -75,6 +75,11 @@ class GaiaScreenHandler : public BaseScreenHandler {
// not loading right now.
void ReloadGaia(bool force_reload);
+ // Reload gaia with embedded signin frame.
+ void SwitchToEmbeddedSignin();
+ // Cancel embedded signin for the next load.
ygorshenin1 2014/10/10 13:25:04 nit: a blank line before comment.
Roman Sorokin (ftl) 2014/10/10 13:51:03 Done.
+ void CancelEmbeddedSignin();
+
FrameState frame_state() const { return frame_state_; }
net::Error frame_error() const { return frame_error_; }
@@ -214,6 +219,9 @@ class GaiaScreenHandler : public BaseScreenHandler {
std::string test_pass_;
bool test_expects_complete_login_;
+ // True if user pressed shortcut to enable embedded signin.
+ bool embedded_signin_enabled_by_shortcut_;
+
// Non-owning ptr to SigninScreenHandler instance. Should not be used
// in dtor.
// TODO (ygorshenin@): GaiaScreenHandler shouldn't communicate with

Powered by Google App Engine
This is Rietveld 408576698