Index: chrome/browser/ui/views/autofill/autofill_popup_base_view.h |
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_base_view.h b/chrome/browser/ui/views/autofill/autofill_popup_base_view.h |
index dbb77aa29ec584f081fb066062385bf2a97c02b8..b37b465d713fff209340710563179bf1fba59b91 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_popup_base_view.h |
+++ b/chrome/browser/ui/views/autofill/autofill_popup_base_view.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_ |
#include "base/memory/weak_ptr.h" |
+#include "base/time/time.h" |
#include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h" |
#include "ui/views/focus/widget_focus_manager.h" |
#include "ui/views/widget/widget_delegate.h" |
@@ -86,6 +87,9 @@ class AutofillPopupBaseView : public views::WidgetDelegateView, |
// The focus manager that |this| observes. Weak reference. |
views::FocusManager* focus_manager_; |
+ // The time when the popup was shown. |
+ base::Time show_time_; |
+ |
base::WeakPtrFactory<AutofillPopupBaseView> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(AutofillPopupBaseView); |