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

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

Issue 12091086: [Autofill] Add UMA timing metrics for requestAutocomplete dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase harder Created 7 years, 10 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
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_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
7 7
8 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" 8 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Closes out any signin UI and returns to normal operation. 56 // Closes out any signin UI and returns to normal operation.
57 virtual void HideSignIn() = 0; 57 virtual void HideSignIn() = 0;
58 58
59 // Updates the progress bar based on the Autocheckout progress. |value| should 59 // Updates the progress bar based on the Autocheckout progress. |value| should
60 // be in [0.0, 1.0]. 60 // be in [0.0, 1.0].
61 virtual void UpdateProgressBar(double value) = 0; 61 virtual void UpdateProgressBar(double value) = 0;
62 62
63 // Called when the active suggestions data model changed. 63 // Called when the active suggestions data model changed.
64 virtual void ModelChanged() = 0; 64 virtual void ModelChanged() = 0;
65 65
66 // Simulates the user pressing 'Submit' to accept the dialog.
67 virtual void SubmitForTesting() = 0;
68
69 // Simulates the user pressing 'Cancel' to abort the dialog.
70 virtual void CancelForTesting() = 0;
71
66 // Factory function to create the dialog (implemented once per view 72 // Factory function to create the dialog (implemented once per view
67 // implementation). |controller| will own the created dialog. 73 // implementation). |controller| will own the created dialog.
68 static AutofillDialogView* Create(AutofillDialogController* controller); 74 static AutofillDialogView* Create(AutofillDialogController* controller);
69 }; 75 };
70 76
71 } // namespace autofill 77 } // namespace autofill
72 78
73 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ 79 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698