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

Side by Side Diff: components/autofill/browser/autofill_manager_delegate.h

Issue 15769018: [Autofill] Determine Popup RTLness from page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compile Created 7 years, 6 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
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 COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const std::string&)>& callback) = 0; 109 const std::string&)>& callback) = 0;
110 110
111 // Hide the Autocheckout bubble if one is currently showing. 111 // Hide the Autocheckout bubble if one is currently showing.
112 virtual void HideAutocheckoutBubble() = 0; 112 virtual void HideAutocheckoutBubble() = 0;
113 113
114 // Shows an Autofill popup with the given |values|, |labels|, |icons|, and 114 // Shows an Autofill popup with the given |values|, |labels|, |icons|, and
115 // |identifiers| for the element at |element_bounds|. |delegate| will be 115 // |identifiers| for the element at |element_bounds|. |delegate| will be
116 // notified of popup events. 116 // notified of popup events.
117 virtual void ShowAutofillPopup( 117 virtual void ShowAutofillPopup(
118 const gfx::RectF& element_bounds, 118 const gfx::RectF& element_bounds,
119 bool is_rtl,
Ilya Sherman 2013/06/06 09:04:04 Ditto
csharp 2013/06/06 14:13:53 Done.
119 const std::vector<base::string16>& values, 120 const std::vector<base::string16>& values,
120 const std::vector<base::string16>& labels, 121 const std::vector<base::string16>& labels,
121 const std::vector<base::string16>& icons, 122 const std::vector<base::string16>& icons,
122 const std::vector<int>& identifiers, 123 const std::vector<int>& identifiers,
123 base::WeakPtr<AutofillPopupDelegate> delegate) = 0; 124 base::WeakPtr<AutofillPopupDelegate> delegate) = 0;
124 125
125 // Hide the Autofill popup if one is currently showing. 126 // Hide the Autofill popup if one is currently showing.
126 virtual void HideAutofillPopup() = 0; 127 virtual void HideAutofillPopup() = 0;
127 128
128 // Updates the Autocheckout progress bar. |value| must be in [0.0, 1.0]. 129 // Updates the Autocheckout progress bar. |value| must be in [0.0, 1.0].
129 virtual void UpdateProgressBar(double value) = 0; 130 virtual void UpdateProgressBar(double value) = 0;
130 }; 131 };
131 132
132 } // namespace autofill 133 } // namespace autofill
133 134
134 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 135 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698