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

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

Issue 20651004: rAc: add Google Wallet logo to bottom left. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MockAutofillDialogController update Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // Returns the icon that should be shown in the account chooser. 68 // Returns the icon that should be shown in the account chooser.
69 virtual gfx::Image AccountChooserImage() = 0; 69 virtual gfx::Image AccountChooserImage() = 0;
70 70
71 // Whether or not the details container should be showing currently. 71 // Whether or not the details container should be showing currently.
72 virtual bool ShouldShowDetailArea() const = 0; 72 virtual bool ShouldShowDetailArea() const = 0;
73 73
74 // Whether or not the progress bar in the button strip should be showing. 74 // Whether or not the progress bar in the button strip should be showing.
75 virtual bool ShouldShowProgressBar() const = 0; 75 virtual bool ShouldShowProgressBar() const = 0;
76 76
77 // Returns the image that should be shown on the left of the button strip
78 // or an empty image if none should be shown.
79 virtual gfx::Image ButtonStripImage() const = 0;
80
77 // Which dialog buttons should be visible. 81 // Which dialog buttons should be visible.
78 virtual int GetDialogButtons() const = 0; 82 virtual int GetDialogButtons() const = 0;
79 83
80 // Whether or not the |button| should be enabled. 84 // Whether or not the |button| should be enabled.
81 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const = 0; 85 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const = 0;
82 86
83 // Returns a struct full of data concerning what overlay, if any, should be 87 // Returns a struct full of data concerning what overlay, if any, should be
84 // displayed on top of the dialog. 88 // displayed on top of the dialog.
85 virtual DialogOverlayState GetDialogOverlay() const = 0; 89 virtual DialogOverlayState GetDialogOverlay() const = 0;
86 90
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // The web contents that prompted the dialog. 213 // The web contents that prompted the dialog.
210 virtual content::WebContents* web_contents() = 0; 214 virtual content::WebContents* web_contents() = 0;
211 215
212 protected: 216 protected:
213 virtual ~AutofillDialogController(); 217 virtual ~AutofillDialogController();
214 }; 218 };
215 219
216 } // namespace autofill 220 } // namespace autofill
217 221
218 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ 222 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698