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

Unified Diff: chrome/browser/ui/android/autofill/autofill_popup_view_android.h

Issue 1570783003: [Autofill] Move functions from the AutofillPopupController to AutofillPopupLayoutModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove scoped_ptr and rename mac delegate Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/autofill/autofill_popup_view_android.h
diff --git a/chrome/browser/ui/android/autofill/autofill_popup_view_android.h b/chrome/browser/ui/android/autofill/autofill_popup_view_android.h
index 4d36b1a3518abafe79dddd7f5f65738a9982a233..ba9a1b6bca68fbb1dd659b028ec3dcffd043910a 100644
--- a/chrome/browser/ui/android/autofill/autofill_popup_view_android.h
+++ b/chrome/browser/ui/android/autofill/autofill_popup_view_android.h
@@ -12,6 +12,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "chrome/browser/ui/autofill/autofill_popup_view.h"
+#include "chrome/browser/ui/autofill/autofill_popup_view_helper.h"
namespace gfx {
class Rect;
@@ -51,10 +52,14 @@ class AutofillPopupViewAndroid : public AutofillPopupView {
void Hide() override;
void InvalidateRow(size_t row) override;
void UpdateBoundsAndRedrawPopup() override;
+ int LineFromY(int y) override;
+ gfx::Rect GetPopupBounds() override;
private:
~AutofillPopupViewAndroid() override;
+ AutofillPopupViewHelper view_helper_;
+
AutofillPopupController* controller_; // weak.
// The index of the last item the user long-pressed (they will be shown a

Powered by Google App Engine
This is Rietveld 408576698