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

Side by Side Diff: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h

Issue 1407093007: Autofill: Add legal message footer to save credit card bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_VIEWS_SYNC_PROFILE_SIGNIN_CONFIRMATION_DIALOG_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_SYNC_PROFILE_SIGNIN_CONFIRMATION_DIALOG_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_SYNC_PROFILE_SIGNIN_CONFIRMATION_DIALOG_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_SYNC_PROFILE_SIGNIN_CONFIRMATION_DIALOG_VIEWS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/sync/profile_signin_confirmation_helper.h" 9 #include "chrome/browser/ui/sync/profile_signin_confirmation_helper.h"
10 #include "ui/views/controls/button/button.h" 10 #include "ui/views/controls/button/button.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 int GetDefaultDialogButton() const override; 49 int GetDefaultDialogButton() const override;
50 views::View* CreateExtraView() override; 50 views::View* CreateExtraView() override;
51 bool Accept() override; 51 bool Accept() override;
52 bool Cancel() override; 52 bool Cancel() override;
53 void OnClosed() override; 53 void OnClosed() override;
54 ui::ModalType GetModalType() const override; 54 ui::ModalType GetModalType() const override;
55 void ViewHierarchyChanged( 55 void ViewHierarchyChanged(
56 const ViewHierarchyChangedDetails& details) override; 56 const ViewHierarchyChangedDetails& details) override;
57 57
58 // views::StyledLabelListener: 58 // views::StyledLabelListener:
59 void StyledLabelLinkClicked(const gfx::Range& range, 59 void StyledLabelLinkClicked(views::StyledLabel* label,
60 const gfx::Range& range,
60 int event_flags) override; 61 int event_flags) override;
61 62
62 // views::ButtonListener: 63 // views::ButtonListener:
63 void ButtonPressed(views::Button*, const ui::Event& event) override; 64 void ButtonPressed(views::Button*, const ui::Event& event) override;
64 65
65 // Shows the dialog and releases ownership of this object. It will 66 // Shows the dialog and releases ownership of this object. It will
66 // delete itself when the dialog is closed. If |prompt_for_new_profile| 67 // delete itself when the dialog is closed. If |prompt_for_new_profile|
67 // is true, the dialog will offer to create a new profile before signin. 68 // is true, the dialog will offer to create a new profile before signin.
68 void Show(bool prompt_for_new_profile); 69 void Show(bool prompt_for_new_profile);
69 70
(...skipping 12 matching lines...) Expand all
82 // Whether the user should be prompted to create a new profile. 83 // Whether the user should be prompted to create a new profile.
83 bool prompt_for_new_profile_; 84 bool prompt_for_new_profile_;
84 85
85 // The button to continue with signin, if an extra button is required. 86 // The button to continue with signin, if an extra button is required.
86 views::LabelButton* continue_signin_button_; 87 views::LabelButton* continue_signin_button_;
87 88
88 DISALLOW_COPY_AND_ASSIGN(ProfileSigninConfirmationDialogViews); 89 DISALLOW_COPY_AND_ASSIGN(ProfileSigninConfirmationDialogViews);
89 }; 90 };
90 91
91 #endif // CHROME_BROWSER_UI_VIEWS_SYNC_PROFILE_SIGNIN_CONFIRMATION_DIALOG_VIEWS _H_ 92 #endif // CHROME_BROWSER_UI_VIEWS_SYNC_PROFILE_SIGNIN_CONFIRMATION_DIALOG_VIEWS _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698