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

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: AutofillPopupViewHelper 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..90f6d4e6876c36761673eda1e18b83ab917dc6e3 100644
--- a/chrome/browser/ui/android/autofill/autofill_popup_view_android.h
+++ b/chrome/browser/ui/android/autofill/autofill_popup_view_android.h
@@ -11,7 +11,9 @@
#include "base/android/scoped_java_ref.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/memory/scoped_ptr.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 +53,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;
+ scoped_ptr<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