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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 107623002: Use the NativeTheme to create the text color for text during the generated card animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use addition to make the alpha-calculation more grokable. Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 virtual bool ShouldShowSpinner() const OVERRIDE; 109 virtual bool ShouldShowSpinner() const OVERRIDE;
110 virtual bool ShouldShowSignInWebView() const OVERRIDE; 110 virtual bool ShouldShowSignInWebView() const OVERRIDE;
111 virtual GURL SignInUrl() const OVERRIDE; 111 virtual GURL SignInUrl() const OVERRIDE;
112 virtual bool ShouldOfferToSaveInChrome() const OVERRIDE; 112 virtual bool ShouldOfferToSaveInChrome() const OVERRIDE;
113 virtual bool ShouldSaveInChrome() const OVERRIDE; 113 virtual bool ShouldSaveInChrome() const OVERRIDE;
114 virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE; 114 virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE;
115 virtual gfx::Image AccountChooserImage() OVERRIDE; 115 virtual gfx::Image AccountChooserImage() OVERRIDE;
116 virtual gfx::Image ButtonStripImage() const OVERRIDE; 116 virtual gfx::Image ButtonStripImage() const OVERRIDE;
117 virtual int GetDialogButtons() const OVERRIDE; 117 virtual int GetDialogButtons() const OVERRIDE;
118 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 118 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
119 virtual DialogOverlayState GetDialogOverlay() OVERRIDE; 119 virtual DialogOverlayState GetDialogOverlay(
120 const ui::NativeTheme* theme) OVERRIDE;
120 virtual const std::vector<gfx::Range>& LegalDocumentLinks() OVERRIDE; 121 virtual const std::vector<gfx::Range>& LegalDocumentLinks() OVERRIDE;
121 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; 122 virtual bool SectionIsActive(DialogSection section) const OVERRIDE;
122 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) 123 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section)
123 const OVERRIDE; 124 const OVERRIDE;
124 virtual ui::ComboboxModel* ComboboxModelForAutofillType( 125 virtual ui::ComboboxModel* ComboboxModelForAutofillType(
125 ServerFieldType type) OVERRIDE; 126 ServerFieldType type) OVERRIDE;
126 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; 127 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE;
127 virtual base::string16 LabelForSection(DialogSection section) const OVERRIDE; 128 virtual base::string16 LabelForSection(DialogSection section) const OVERRIDE;
128 virtual SuggestionState SuggestionStateForSection( 129 virtual SuggestionState SuggestionStateForSection(
129 DialogSection section) OVERRIDE; 130 DialogSection section) OVERRIDE;
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 765
765 // A username string we display in the card scrambling/generated overlay. 766 // A username string we display in the card scrambling/generated overlay.
766 base::string16 submitted_cardholder_name_; 767 base::string16 submitted_cardholder_name_;
767 768
768 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 769 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
769 }; 770 };
770 771
771 } // namespace autofill 772 } // namespace autofill
772 773
773 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 774 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698