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..8c861ba619400198250f7c899721b0d7d9d1bbb6 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,12 @@ class AutofillPopupBaseView : public views::WidgetDelegateView, |
// The focus manager that |this| observes. Weak reference. |
views::FocusManager* focus_manager_; |
+#if defined(OS_WIN) |
+ // The system time when the popup was shown. The system time is measured in |
+ // milliseconds since system startup and rolls over every 49.71 days. |
+ base::TimeDelta show_time_; |
+#endif |
+ |
base::WeakPtrFactory<AutofillPopupBaseView> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(AutofillPopupBaseView); |