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

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

Issue 12457033: Implements SendAutocheckoutStatus API calls for stats tracking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing unit tests Created 7 years, 8 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_TAB_AUTOFILL_MANAGER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void ShowAutocheckoutBubble( 59 virtual void ShowAutocheckoutBubble(
60 const gfx::RectF& bounds, 60 const gfx::RectF& bounds,
61 const gfx::NativeView& native_view, 61 const gfx::NativeView& native_view,
62 const base::Callback<void(bool)>& callback) OVERRIDE; 62 const base::Callback<void(bool)>& callback) OVERRIDE;
63 virtual void HideAutocheckoutBubble() OVERRIDE; 63 virtual void HideAutocheckoutBubble() OVERRIDE;
64 virtual void ShowRequestAutocompleteDialog( 64 virtual void ShowRequestAutocompleteDialog(
65 const FormData& form, 65 const FormData& form,
66 const GURL& source_url, 66 const GURL& source_url,
67 const AutofillMetrics& metric_logger, 67 const AutofillMetrics& metric_logger,
68 DialogType dialog_type, 68 DialogType dialog_type,
69 const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; 69 const base::Callback<void(const FormStructure*,
70 const std::string&)>& callback) OVERRIDE;
70 virtual void RequestAutocompleteDialogClosed() OVERRIDE; 71 virtual void RequestAutocompleteDialogClosed() OVERRIDE;
71 virtual void ShowAutofillPopup(const gfx::RectF& element_bounds, 72 virtual void ShowAutofillPopup(const gfx::RectF& element_bounds,
72 const std::vector<string16>& values, 73 const std::vector<string16>& values,
73 const std::vector<string16>& labels, 74 const std::vector<string16>& labels,
74 const std::vector<string16>& icons, 75 const std::vector<string16>& icons,
75 const std::vector<int>& identifiers, 76 const std::vector<int>& identifiers,
76 AutofillPopupDelegate* delegate) OVERRIDE; 77 AutofillPopupDelegate* delegate) OVERRIDE;
77 virtual void HideAutofillPopup() OVERRIDE; 78 virtual void HideAutofillPopup() OVERRIDE;
78 virtual void UpdateProgressBar(double value) OVERRIDE; 79 virtual void UpdateProgressBar(double value) OVERRIDE;
79 80
(...skipping 14 matching lines...) Expand all
94 AutofillDialogControllerImpl* dialog_controller_; // weak. 95 AutofillDialogControllerImpl* dialog_controller_; // weak.
95 base::WeakPtr<AutocheckoutBubble> autocheckout_bubble_; 96 base::WeakPtr<AutocheckoutBubble> autocheckout_bubble_;
96 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; 97 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); 99 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate);
99 }; 100 };
100 101
101 } // namespace autofill 102 } // namespace autofill
102 103
103 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ 104 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698