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

Unified Diff: chrome/browser/ui/webui/signin/sync_confirmation_handler.h

Issue 1814513002: Fix sizing issues in the tab modal signin flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests Created 4 years, 8 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/signin/sync_confirmation_handler.h
diff --git a/chrome/browser/ui/webui/signin/sync_confirmation_handler.h b/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
index cb3506a7030b6861d8c70afe9e32015047d76033..7ad4a3c80d088b0c0bcf91e968a4a99b72bafaa2 100644
--- a/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
+++ b/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
@@ -41,17 +41,17 @@ class SyncConfirmationHandler : public content::WebUIMessageHandler,
// dialog, which aborts signin and prevents sync from starting.
virtual void HandleUndo(const base::ListValue* args);
- // Handles "initialized" message from the page. No arguments.
- // This message is sent when the sync confirmation dialog is finished being
- // initialized.
- virtual void HandleInitialized(const base::ListValue* args);
-
// Handles "goToSettings" message from the page. No arguments.
// This message is sent when the user clicks on the "Settings" link in the
// sync confirmation dialog, which completes sign in but takes the user to the
// sync settings page for configuration before starting sync.
virtual void HandleGoToSettings(const base::ListValue* args);
+ // Handles the web ui message sent when the html content is done being laid
+ // out and it's time to resize the native view hosting it to fit. |args| is
+ // a single integer value for the height the native view should resize to.
+ virtual void HandleInitializedWithSize(const base::ListValue* args);
+
// Sets the profile picture shown in the dialog to the image at |url|.
virtual void SetUserImageURL(const std::string& url);
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler.cc ('k') | chrome/browser/ui/webui/signin/sync_confirmation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698