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

Issue 1018393002: [autofill] Ingore mouse move on Windows for the first 50ms. (Closed)

Created:
5 years, 9 months ago by please use gerrit instead
Modified:
5 years, 9 months ago
Reviewers:
Evan Stade, spang
CC:
chromium-reviews, estade+watch_chromium.org, rouslan+autofillwatch_chromium.org, tfarina, cpu_(ooo_6.6-7.5), brettw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[autofill] Ingore mouse move on Windows for the first 50ms. BUG=458300 Committed: https://crrev.com/aa41e91e7ef29cd6d73666e9ad930cdc88a366d6 Cr-Commit-Position: refs/heads/master@{#321845}

Patch Set 1 #

Patch Set 2 : Fix unusued variable warning treated as error on non-Windows. #

Total comments: 2

Patch Set 3 : Use event time stamp. #

Patch Set 4 : Use timeGetTime() for more uniform deltas. #

Total comments: 3

Patch Set 5 : Use base::Time::Now(). #

Patch Set 6 : Remove log statement. #

Total comments: 2

Patch Set 7 : Link to bug in todo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M chrome/browser/ui/views/autofill/autofill_popup_base_view.h View 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_popup_base_view.cc View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (4 generated)
please use gerrit instead
Evan, PTAL.
5 years, 9 months ago (2015-03-19 17:40:53 UTC) #2
Evan Stade
https://codereview.chromium.org/1018393002/diff/20001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc File chrome/browser/ui/views/autofill/autofill_popup_base_view.cc (right): https://codereview.chromium.org/1018393002/diff/20001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc#newcode150 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc:150: if ((base::Time::Now() - show_time_).InMilliseconds() <= kMouseMoveIngoreMs) if (base::Time::Now() < ...
5 years, 9 months ago (2015-03-19 20:16:30 UTC) #3
please use gerrit instead
PTAL Patch Set 4. https://codereview.chromium.org/1018393002/diff/20001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc File chrome/browser/ui/views/autofill/autofill_popup_base_view.cc (right): https://codereview.chromium.org/1018393002/diff/20001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc#newcode150 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc:150: if ((base::Time::Now() - show_time_).InMilliseconds() <= ...
5 years, 9 months ago (2015-03-20 17:36:43 UTC) #4
please use gerrit instead
Note: a better approach is to use the time_stamp() from user's keyboard event instead of ...
5 years, 9 months ago (2015-03-20 19:13:19 UTC) #5
Evan Stade
https://codereview.chromium.org/1018393002/diff/60001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc File chrome/browser/ui/views/autofill/autofill_popup_base_view.cc (right): https://codereview.chromium.org/1018393002/diff/60001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc#newcode16 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc:16: #include <mmsystem.h> ewww can you use TimeTicks or something?
5 years, 9 months ago (2015-03-20 19:27:52 UTC) #6
please use gerrit instead
https://codereview.chromium.org/1018393002/diff/60001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc File chrome/browser/ui/views/autofill/autofill_popup_base_view.cc (right): https://codereview.chromium.org/1018393002/diff/60001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc#newcode16 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc:16: #include <mmsystem.h> On 2015/03/20 19:27:52, Evan Stade wrote: > ...
5 years, 9 months ago (2015-03-20 20:55:53 UTC) #7
please use gerrit instead
On 2015/03/20 20:55:53, Rouslan Solomakhin wrote: > I tried using base::TickCount as you suggested, but ...
5 years, 9 months ago (2015-03-20 21:16:31 UTC) #8
Evan Stade
On 2015/03/20 21:16:31, Rouslan Solomakhin wrote: > On 2015/03/20 20:55:53, Rouslan Solomakhin wrote: > > ...
5 years, 9 months ago (2015-03-20 21:29:00 UTC) #9
please use gerrit instead
On 2015/03/20 21:29:00, Evan Stade wrote: > On 2015/03/20 21:16:31, Rouslan Solomakhin wrote: > > ...
5 years, 9 months ago (2015-03-20 21:56:42 UTC) #10
Evan Stade
Perhaps rvargas or cpu can help demystify the situation. tl;dr: we want to compare an ...
5 years, 9 months ago (2015-03-21 01:00:17 UTC) #11
please use gerrit instead
When I print EventTimeForNow inside of the AutofillPopupBaseView::OnMouseMoved handler, it is 491ms in the future ...
5 years, 9 months ago (2015-03-21 01:15:00 UTC) #12
please use gerrit instead
Here's me printing the delta in Event constructor for a while: ERROR 9264 12252 18:17:40-892 ...
5 years, 9 months ago (2015-03-21 01:23:30 UTC) #13
please use gerrit instead
Better formatting. Event delta: 488 Event delta: 496 Event delta: 488 Event delta: 496 Event ...
5 years, 9 months ago (2015-03-21 01:24:12 UTC) #14
rvargas (doing something else)
On 2015/03/21 01:15:00, Rouslan Solomakhin wrote: > When I print EventTimeForNow inside of the AutofillPopupBaseView::OnMouseMoved ...
5 years, 9 months ago (2015-03-21 01:30:58 UTC) #15
Evan Stade
On 2015/03/21 01:30:58, rvargas wrote: > On 2015/03/21 01:15:00, Rouslan Solomakhin wrote: > > When ...
5 years, 9 months ago (2015-03-21 01:33:29 UTC) #16
rvargas (doing something else)
On 2015/03/21 01:33:29, Evan Stade wrote: > On 2015/03/21 01:30:58, rvargas wrote: > > On ...
5 years, 9 months ago (2015-03-21 02:02:58 UTC) #17
please use gerrit instead
On 2015/03/21 01:30:58, rvargas wrote: > On 2015/03/21 01:15:00, Rouslan Solomakhin wrote: > > When ...
5 years, 9 months ago (2015-03-21 15:20:14 UTC) #18
spang
https://codereview.chromium.org/1018393002/diff/60001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc File chrome/browser/ui/views/autofill/autofill_popup_base_view.cc (right): https://codereview.chromium.org/1018393002/diff/60001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc#newcode16 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc:16: #include <mmsystem.h> On 2015/03/20 20:55:53, Rouslan Solomakhin wrote: > ...
5 years, 9 months ago (2015-03-22 17:14:03 UTC) #20
spang
5 years, 9 months ago (2015-03-22 17:14:05 UTC) #21
Evan Stade
spang: do you know what the correct fix is? rouslan: perhaps we can go with ...
5 years, 9 months ago (2015-03-23 17:18:21 UTC) #22
spang
On 2015/03/23 17:18:21, Evan Stade wrote: > spang: do you know what the correct fix ...
5 years, 9 months ago (2015-03-23 18:18:46 UTC) #23
spang
On 2015/03/23 18:18:46, spang wrote: > On 2015/03/23 17:18:21, Evan Stade wrote: > > spang: ...
5 years, 9 months ago (2015-03-23 18:22:17 UTC) #24
please use gerrit instead
Evan, PTAL Patch Set 6.
5 years, 9 months ago (2015-03-23 18:26:29 UTC) #25
Evan Stade
lgtm https://codereview.chromium.org/1018393002/diff/100001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc File chrome/browser/ui/views/autofill/autofill_popup_base_view.cc (right): https://codereview.chromium.org/1018393002/diff/100001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc#newcode150 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc:150: // become comparable. link to bug
5 years, 9 months ago (2015-03-23 18:57:12 UTC) #26
please use gerrit instead
Sending to cq. https://codereview.chromium.org/1018393002/diff/100001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc File chrome/browser/ui/views/autofill/autofill_popup_base_view.cc (right): https://codereview.chromium.org/1018393002/diff/100001/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc#newcode150 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc:150: // become comparable. On 2015/03/23 18:57:11, ...
5 years, 9 months ago (2015-03-23 19:52:06 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1018393002/120001
5 years, 9 months ago (2015-03-23 19:53:15 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 9 months ago (2015-03-23 21:00:11 UTC) #31
commit-bot: I haz the power
5 years, 9 months ago (2015-03-23 21:01:30 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/aa41e91e7ef29cd6d73666e9ad930cdc88a366d6
Cr-Commit-Position: refs/heads/master@{#321845}

Powered by Google App Engine
This is Rietveld 408576698