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

Issue 10823077: Throttle SelectRange IPC (Closed)

Created:
8 years, 4 months ago by Iain Merrick
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Throttle SelectRange IPC This code is used by the Android port. We add a SelectRange_ACK to throttle the rate at which the selection changes. Without throttling, the selection handle updates can fall behind the user's touch input. BUG=138939 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151304

Patch Set 1 #

Total comments: 6

Patch Set 2 : Better member variable names #

Total comments: 4

Patch Set 3 : Added struct SelectionRange #

Total comments: 6

Patch Set 4 : Renamed next_select_range, handled RendererExited #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -0 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 5 chunks +24 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Iain Merrick
Adding olilan who worked on this code for the Android port, and sky for content/browser/OWNERS ...
8 years, 4 months ago (2012-07-30 12:56:26 UTC) #1
sky
LGTM - but I'm adding Darin to make sure he can't think of any reasons ...
8 years, 4 months ago (2012-08-01 02:37:32 UTC) #2
Iain Merrick
On 2012/08/01 02:37:32, sky wrote: > LGTM - but I'm adding Darin to make sure ...
8 years, 4 months ago (2012-08-01 09:07:32 UTC) #3
darin (slow to review)
http://codereview.chromium.org/10823077/diff/1/content/browser/renderer_host/render_widget_host_impl.h File content/browser/renderer_host/render_widget_host_impl.h (right): http://codereview.chromium.org/10823077/diff/1/content/browser/renderer_host/render_widget_host_impl.h#newcode555 content/browser/renderer_host/render_widget_host_impl.h:555: void OnMsgSelectRangeAck(); nit: it seems like this should be ...
8 years, 4 months ago (2012-08-02 06:30:20 UTC) #4
Iain Merrick
http://codereview.chromium.org/10823077/diff/1/content/browser/renderer_host/render_widget_host_impl.h File content/browser/renderer_host/render_widget_host_impl.h (right): http://codereview.chromium.org/10823077/diff/1/content/browser/renderer_host/render_widget_host_impl.h#newcode555 content/browser/renderer_host/render_widget_host_impl.h:555: void OnMsgSelectRangeAck(); On 2012/08/02 06:30:20, darin wrote: > nit: ...
8 years, 4 months ago (2012-08-02 10:25:42 UTC) #5
darin (slow to review)
http://codereview.chromium.org/10823077/diff/10001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): http://codereview.chromium.org/10823077/diff/10001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1521 content/browser/renderer_host/render_widget_host_impl.cc:1521: gfx::Point start = next_select_range_->first; consider using .Pass() here instead: ...
8 years, 4 months ago (2012-08-02 16:37:17 UTC) #6
Iain Merrick
http://codereview.chromium.org/10823077/diff/10001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): http://codereview.chromium.org/10823077/diff/10001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1521 content/browser/renderer_host/render_widget_host_impl.cc:1521: gfx::Point start = next_select_range_->first; On 2012/08/02 16:37:17, darin wrote: ...
8 years, 4 months ago (2012-08-06 11:28:45 UTC) #7
darin (slow to review)
http://codereview.chromium.org/10823077/diff/16002/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): http://codereview.chromium.org/10823077/diff/16002/content/browser/renderer_host/render_widget_host_impl.cc#newcode1829 content/browser/renderer_host/render_widget_host_impl.cc:1829: if (select_range_pending_) { by the way, if the renderer ...
8 years, 4 months ago (2012-08-06 18:27:40 UTC) #8
Iain Merrick
Sorry for the delay, I didn't see the email about the last batch of comments. ...
8 years, 4 months ago (2012-08-13 13:17:23 UTC) #9
darin (slow to review)
LGTM
8 years, 4 months ago (2012-08-13 16:25:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/husky@chromium.org/10823077/9
8 years, 4 months ago (2012-08-13 16:27:27 UTC) #11
commit-bot: I haz the power
8 years, 4 months ago (2012-08-13 17:56:18 UTC) #12
Change committed as 151304

Powered by Google App Engine
This is Rietveld 408576698