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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // Sets the formatted |title| in the Account Chooser UI. 53 // Sets the formatted |title| in the Account Chooser UI.
54 // If |is_smartlock_branding_enabled| is true, sets the |title_link_range| for 54 // If |is_smartlock_branding_enabled| is true, sets the |title_link_range| for
55 // the "Google Smart Lock" text range to be set visibly as a hyperlink in the 55 // the "Google Smart Lock" text range to be set visibly as a hyperlink in the
56 // dialog bubble otherwise chooses the title which doesn't contain Smart Lock 56 // dialog bubble otherwise chooses the title which doesn't contain Smart Lock
57 // branding. 57 // branding.
58 void GetAccountChooserDialogTitleTextAndLinkRange( 58 void GetAccountChooserDialogTitleTextAndLinkRange(
59 bool is_smartlock_branding_enabled, 59 bool is_smartlock_branding_enabled,
60 base::string16* title, 60 base::string16* title,
61 gfx::Range* title_link_range); 61 gfx::Range* title_link_range);
62 62
63 // Sets the formatted |explanation| in the Auto sign-in prompt.
64 // If |is_smartlock_branding_enabled| is true, sets the
65 // |explanation_link_range| for the "Google Smart Lock" text range to be set
66 // visibly as a hyperlink in the prompt, otherwise chooses the title which
67 // doesn't contain Smart Lock branding.
68 void GetAutoSigninPromptFirstRunExperienceExplanation(
69 bool is_smartlock_branding_enabled,
70 base::string16* explanation,
71 gfx::Range* explanation_link_range);
72
63 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_ 73 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698