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

Unified Diff: chrome/browser/ui/views/autofill/autofill_popup_base_view.h

Issue 1018393002: [autofill] Ingore mouse move on Windows for the first 50ms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Link to bug in todo. Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_popup_base_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_popup_base_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698