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

Issue 23983036: [Android] Provide synchronized input flush with BeginFrame (Closed)

Created:
7 years, 3 months ago by jdduke (slow)
Modified:
7 years, 2 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android] Provide synchronized input flush with BeginFrame The BufferedInputRouter relies on periodic flush signals. Provide hooks for such flush requests and signals via the RenderWidgetHostView, and wire this to BeginFrame messages on Android. Expose the functionality behind the --enable-buffered-input-router flag. BUG=245499, 264869 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225387

Patch Set 1 #

Patch Set 2 : Remove default "OnSetNeedsFlush()" implementation #

Patch Set 3 : Interface cleanup #

Patch Set 4 : Compile fix #

Total comments: 8

Patch Set 5 : Code review and rebase #

Patch Set 6 : Rebase #

Total comments: 4

Patch Set 7 : Code review #

Total comments: 2

Patch Set 8 : Collapse conditionals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -36 lines) Patch
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 1 chunk +10 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 5 chunks +21 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 4 chunks +26 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 chunk +7 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 4 chunks +20 lines, -16 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jdduke (slow)
PTAL. aelias@: render_widget_host_impl.{h,cc} and render_widget_host_view_android.{h,cc}. brianderson@: Could you look at the hook up to BeginFrame ...
7 years, 3 months ago (2013-09-12 21:05:42 UTC) #1
aelias_OOO_until_Jul13
lgtm You'll need another OWNER for content/port/browser/
7 years, 3 months ago (2013-09-12 22:50:25 UTC) #2
jdduke (slow)
@brianderson: Any objections here?
7 years, 3 months ago (2013-09-13 18:25:39 UTC) #3
brianderson
https://codereview.chromium.org/23983036/diff/10001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (left): https://codereview.chromium.org/23983036/diff/10001/content/browser/renderer_host/render_widget_host_impl.cc#oldcode2155 content/browser/renderer_host/render_widget_host_impl.cc:2155: void RenderWidgetHostImpl::SetNeedsFlush() { I see that this function existed ...
7 years, 3 months ago (2013-09-13 21:49:27 UTC) #4
jdduke (slow)
https://codereview.chromium.org/23983036/diff/10001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (left): https://codereview.chromium.org/23983036/diff/10001/content/browser/renderer_host/render_widget_host_impl.cc#oldcode2155 content/browser/renderer_host/render_widget_host_impl.cc:2155: void RenderWidgetHostImpl::SetNeedsFlush() { On 2013/09/13 21:49:27, Brian Anderson wrote: ...
7 years, 3 months ago (2013-09-16 15:16:04 UTC) #5
jdduke (slow)
PTAL for owners. Thanks! tedchoc@: content/browser/android, content/public/android joi@: content/port/browser, content/public/common davemoore@: chrome/browser/chromeos/login
7 years, 2 months ago (2013-09-25 21:16:57 UTC) #6
Jói
//content/port and //content/public/common LGTM
7 years, 2 months ago (2013-09-25 22:03:10 UTC) #7
brianderson
https://codereview.chromium.org/23983036/diff/23001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (left): https://codereview.chromium.org/23983036/diff/23001/content/browser/renderer_host/render_widget_host_view_android.cc#oldcode472 content/browser/renderer_host/render_widget_host_view_android.cc:472: // we have to make sure calls to ContentViewCoreImpl's ...
7 years, 2 months ago (2013-09-25 22:23:13 UTC) #8
jdduke (slow)
https://codereview.chromium.org/23983036/diff/23001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (left): https://codereview.chromium.org/23983036/diff/23001/content/browser/renderer_host/render_widget_host_view_android.cc#oldcode472 content/browser/renderer_host/render_widget_host_view_android.cc:472: // we have to make sure calls to ContentViewCoreImpl's ...
7 years, 2 months ago (2013-09-25 23:31:08 UTC) #9
Ted C
lgtm w/ nit https://codereview.chromium.org/23983036/diff/30001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/23983036/diff/30001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode309 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:309: if (mVSyncProvider != null) { collapse ...
7 years, 2 months ago (2013-09-25 23:35:21 UTC) #10
jdduke (slow)
piman@: review for chrome/browser/chromeos/login? Thanks. https://codereview.chromium.org/23983036/diff/30001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/23983036/diff/30001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode309 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:309: if (mVSyncProvider != null) ...
7 years, 2 months ago (2013-09-26 00:04:10 UTC) #11
piman
lgtm
7 years, 2 months ago (2013-09-26 00:29:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/23983036/36001
7 years, 2 months ago (2013-09-26 03:50:22 UTC) #13
commit-bot: I haz the power
7 years, 2 months ago (2013-09-26 08:07:56 UTC) #14
Message was sent while issue was closed.
Change committed as 225387

Powered by Google App Engine
This is Rietveld 408576698