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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.h

Issue 465313003: Update the new avatar menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments fixed Created 6 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/views/profiles/profile_chooser_view.h
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.h b/chrome/browser/ui/views/profiles/profile_chooser_view.h
index f20b2f6a353c2fd4ae3ca4e35bde68d073c3ad46..3a49cf2eb64219583d47cacac0eee4cfa5f6ce5a 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -167,17 +167,18 @@ class ProfileChooserView : public views::BubbleDelegateView,
// Creates a a tutorial card to show the errors in the last Chrome signin.
views::View* CreateSigninErrorView();
- // Creates a tutorial card with the specified |title_text|, |context_text|,
- // and a bottom row with a right-aligned link using the specified |link_text|,
- // and a left aligned button using the specified |button_text|. The method
- // sets |link| to point to the newly created link, |button| to the newly
- // created button, and |tutorial_mode_| to the given |tutorial_mode|.
+ // Creates a tutorial card. If |stack_button| is true, places the button above
+ // the link otherwise places both on the same row with the link left aligned
+ // and button right aligned. The method sets |link| to point to the newly
+ // create link, |button| to the newly created button, and |tutorial_mode_| to
+ // the given |tutorial_mode|.
views::View* CreateTutorialView(
profiles::TutorialMode tutorial_mode,
const base::string16& title_text,
const base::string16& content_text,
const base::string16& link_text,
const base::string16& button_text,
+ bool stack_button,
views::Link** link,
views::LabelButton** button);

Powered by Google App Engine
This is Rietveld 408576698