Bug 103648 - [chromium] Tell WebInputHandlerClient when end of input is reached for current vsync period
Summary: [chromium] Tell WebInputHandlerClient when end of input is reached for curren...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sami Kyöstilä
URL:
Keywords:
Depends on: 103647
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-29 09:42 PST by Sami Kyöstilä
Modified: 2012-12-03 11:16 PST (History)
8 users (show)

See Also:


Attachments
Patch (4.58 KB, patch)
2012-11-29 12:06 PST, Sami Kyöstilä
no flags Details | Formatted Diff | Diff
Patch (4.72 KB, patch)
2012-12-03 09:09 PST, Sami Kyöstilä
no flags Details | Formatted Diff | Diff
Patch (4.71 KB, patch)
2012-12-03 09:35 PST, Sami Kyöstilä
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Kyöstilä 2012-11-29 09:42:10 PST
[chromium] Tell WebInputHandlerClient when end of input is reached for current vsync period
Comment 1 Sami Kyöstilä 2012-11-29 12:06:02 PST
Created attachment 176778 [details]
Patch
Comment 2 WebKit Review Bot 2012-11-29 12:09:09 PST
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment 3 Peter Beverloo (cr-android ews) 2012-11-29 13:17:12 PST
Comment on attachment 176778 [details]
Patch

Attachment 176778 [details] did not pass cr-android-ews (chromium-android):
Output: http://queues.webkit.org/results/15056037
Comment 4 Darin Fisher (:fishd, Google) 2012-11-29 14:30:24 PST
Comment on attachment 176778 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=176778&action=review

> Source/Platform/chromium/public/WebInputHandlerClient.h:78
> +    virtual void onEndOfInput() { }

nit: WebKit APIs do not normally use the "on" prefix for events.  Prefer "did" or "will" as suffixes to make it more clear if the event is occurring before or after some state change.
Comment 5 WebKit Review Bot 2012-11-29 15:18:51 PST
Comment on attachment 176778 [details]
Patch

Attachment 176778 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/15054138
Comment 6 Sami Kyöstilä 2012-12-03 09:03:29 PST
(In reply to comment #4)
> nit: WebKit APIs do not normally use the "on" prefix for events.  Prefer "did" or "will" as suffixes to make it more clear if the event is occurring before or after some state change.

Great point, done.
Comment 7 Sami Kyöstilä 2012-12-03 09:09:58 PST
Created attachment 177268 [details]
Patch
Comment 8 Peter Beverloo 2012-12-03 09:27:12 PST
Comment on attachment 177268 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=177268&action=review

Some minor drive-by nits..

> Source/Platform/chromium/public/WebInputHandlerClient.h:76
> +    // Indicate that the final input evet for the current vsync interval was

nit: s/evet/event/.  Since there is no 80-character line length limit in WebKit, it should be fine to put "received." on this line.
Comment 9 Sami Kyöstilä 2012-12-03 09:34:57 PST
(In reply to comment #8)
> nit: s/evet/event/.  Since there is no 80-character line length limit in WebKit, it should be fine to put "received." on this line.

Thanks, fixed.
Comment 10 Sami Kyöstilä 2012-12-03 09:35:30 PST
Created attachment 177274 [details]
Patch
Comment 11 WebKit Review Bot 2012-12-03 11:16:29 PST
Comment on attachment 177274 [details]
Patch

Clearing flags on attachment: 177274

Committed r136421: <http://trac.webkit.org/changeset/136421>
Comment 12 WebKit Review Bot 2012-12-03 11:16:33 PST
All reviewed patches have been landed.  Closing bug.