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

Unified Diff: chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.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_keyboard_accessory_view.h
diff --git a/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h b/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h
index fafdb2a62dc33415801c9c874aa1806762d4e1fb..5ad6d03bf528c2ee3cd7c3829a0b5bbfbe73865e 100644
--- a/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h
+++ b/chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h
@@ -12,7 +12,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;
@@ -56,10 +58,14 @@ class AutofillKeyboardAccessoryView : public AutofillPopupView {
void Hide() override;
void InvalidateRow(size_t row) override;
void UpdateBoundsAndRedrawPopup() override;
+ int LineFromY(int y) override;
+ gfx::Rect GetPopupBounds() override;
private:
~AutofillKeyboardAccessoryView() 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