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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/time/time.h"
9 #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h" 10 #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
10 #include "ui/views/focus/widget_focus_manager.h" 11 #include "ui/views/focus/widget_focus_manager.h"
11 #include "ui/views/widget/widget_delegate.h" 12 #include "ui/views/widget/widget_delegate.h"
12 13
13 namespace content { 14 namespace content {
14 class WebContents; 15 class WebContents;
15 } 16 }
16 17
17 namespace gfx { 18 namespace gfx {
18 class Point; 19 class Point;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 80
80 // Must return the container view for this popup. 81 // Must return the container view for this popup.
81 gfx::NativeView container_view(); 82 gfx::NativeView container_view();
82 83
83 // Controller for this popup. Weak reference. 84 // Controller for this popup. Weak reference.
84 AutofillPopupViewDelegate* delegate_; 85 AutofillPopupViewDelegate* delegate_;
85 86
86 // The focus manager that |this| observes. Weak reference. 87 // The focus manager that |this| observes. Weak reference.
87 views::FocusManager* focus_manager_; 88 views::FocusManager* focus_manager_;
88 89
90 // The time when the popup was shown.
91 base::Time show_time_;
92
89 base::WeakPtrFactory<AutofillPopupBaseView> weak_ptr_factory_; 93 base::WeakPtrFactory<AutofillPopupBaseView> weak_ptr_factory_;
90 94
91 DISALLOW_COPY_AND_ASSIGN(AutofillPopupBaseView); 95 DISALLOW_COPY_AND_ASSIGN(AutofillPopupBaseView);
92 }; 96 };
93 97
94 } // namespace autofill 98 } // namespace autofill
95 99
96 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_ 100 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_
OLDNEW
« 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