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

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

Issue 1379153003: [Smart Lock, UI] First run expience for Auto sign-in prompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: AutoSigninFirstRunInfoBar.java Created 5 years, 1 month 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 f52f980e24099bf59b0946bd91583bf276127856..21b6af433afdd00bbd0f366061eb0c62e921f649 100644
--- a/chrome/browser/ui/passwords/manage_passwords_view_utils.h
+++ b/chrome/browser/ui/passwords/manage_passwords_view_utils.h
@@ -60,4 +60,14 @@ void GetAccountChooserDialogTitleTextAndLinkRange(
base::string16* title,
gfx::Range* title_link_range);
+// Sets the formatted |explanation| in the Auto sign-in prompt.
+// If |is_smartlock_branding_enabled| is true, sets the
+// |explanation_link_range| for the "Google Smart Lock" text range to be set
+// visibly as a hyperlink in the prompt, otherwise chooses the title which
+// doesn't contain Smart Lock branding.
+void GetAutoSigninPromptFirstRunExperienceExplanation(
+ bool is_smartlock_branding_enabled,
+ base::string16* explanation,
+ gfx::Range* explanation_link_range);
+
#endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698