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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_view_utils.h

Issue 1151373006: Update Confirmation UI for saved password change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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/passwords/manage_passwords_view_utils.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_view_utils.h b/chrome/browser/ui/passwords/manage_passwords_view_utils.h
index 7350e253e7f183a4ee3e32f9bb3d904aab9a75d3..c718e6bbf08292a334ed14400b6cfa88dd8e1007 100644
--- a/chrome/browser/ui/passwords/manage_passwords_view_utils.h
+++ b/chrome/browser/ui/passwords/manage_passwords_view_utils.h
@@ -20,7 +20,8 @@ extern const int kAvatarImageSize;
// Crops and scales |image_skia| to the desired size for an account avatar.
gfx::ImageSkia ScaleImageForAccountAvatar(gfx::ImageSkia image_skia);
-// Sets the formatted |title| in the Save Password bubble. If the registry
+// Sets the formatted |title| in the Save Password bubble or the Update Password
+// bubble (depending on |is_update_password_bubble|). If the registry
// controlled domain of |user_visible_url| (i.e. the one seen in the omnibox)
// differs from the registry controlled domain of |form_origin_url|, sets
// |IDS_SAVE_PASSWORD_TITLE| as the |title| so that it replaces "this site" in
@@ -33,6 +34,7 @@ void GetSavePasswordDialogTitleTextAndLinkRange(
const GURL& user_visible_url,
const GURL& form_origin_url,
bool is_smartlock_branding_enabled,
+ bool is_update_password_bubble,
base::string16* title,
gfx::Range* title_link_range);

Powered by Google App Engine
This is Rietveld 408576698