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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_impl.h

Issue 2805173003: Fix autofill popup controller key press callback registration (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/autofill_popup_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
index e3332b51f00d49f50a74b5c06df29046052c63ae..d3e79f0d1b00d1861a6a33c24363c83369388931 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
@@ -19,6 +19,11 @@
#include "ui/gfx/geometry/rect_f.h"
#include "ui/native_theme/native_theme.h"
+namespace content {
+struct NativeWebKeyboardEvent;
+class WebContents;
+}
+
namespace autofill {
class AutofillPopupDelegate;
@@ -100,8 +105,6 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
int selected_line() const override;
const AutofillPopupLayoutModel& layout_model() const override;
- content::WebContents* web_contents();
-
// Change which line is currently selected by the user.
void SetSelectedLine(int selected_line);
@@ -134,7 +137,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
// Contains common popup functionality such as popup layout. Protected for
// testing.
- std::unique_ptr<PopupControllerCommon> controller_common_;
+ const PopupControllerCommon controller_common_;
private:
#if !defined(OS_ANDROID)
« no previous file with comments | « chrome/browser/autofill/autofill_interactive_uitest.cc ('k') | chrome/browser/ui/autofill/autofill_popup_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698