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

Issue 1408213002: Add hooks for flushing input from BeginFrame dispatch on Aura (Closed)

Created:
5 years, 2 months ago by jdduke (slow)
Modified:
4 years ago
Reviewers:
brianderson, tdresser
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, jdduke+watch_chromium.org, mithro-old, sunnyps
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add hooks for flushing input from BeginFrame dispatch on Aura When kEnableBeginFrameScheduling is enabled, allow flushing of input from the InputRouter via the BeginFrame signal. Also allow the InputRouter to request flushes directly. BUG=394562

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Rebase #

Total comments: 5

Patch Set 4 : Fix build, address nits #

Patch Set 5 : Rebase #

Patch Set 6 : Fix build for real #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -84 lines) Patch
M content/browser/renderer_host/begin_frame_observer_proxy.h View 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/renderer_host/begin_frame_observer_proxy.cc View 4 chunks +40 lines, -17 lines 0 comments Download
M content/browser/renderer_host/begin_frame_observer_proxy_unittest.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/input_router.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/input/input_router_client.h View 2 chunks +8 lines, -5 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 2 3 4 5 4 chunks +7 lines, -8 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_perftest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 2 3 4 7 chunks +9 lines, -9 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_router_client.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/mock_input_router_client.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_controller.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_target_base.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 2 chunks +10 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 3 chunks +9 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 6 chunks +23 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
jdduke (slow)
Brian, you mentioned unified BeginFrame will look a lot different in the near future? Will ...
5 years, 2 months ago (2015-10-16 20:09:29 UTC) #2
jdduke (slow)
+tdresser for content/browser/renderer_host/input The key change here is that the InputRouter can request a flush, ...
5 years, 2 months ago (2015-10-22 20:56:32 UTC) #4
brianderson
+mithro, sunnyps
5 years, 2 months ago (2015-10-22 21:22:45 UTC) #5
brianderson
On 2015/10/16 20:09:29, jdduke wrote: > Brian, you mentioned unified BeginFrame will look a lot ...
5 years, 2 months ago (2015-10-22 22:16:59 UTC) #6
danakj
Oh cool, I'm going to add something like SetNeedsOneBeginFrame to the scheduler for animations, I'll ...
5 years, 2 months ago (2015-10-22 22:42:03 UTC) #7
tdresser
Compile failure appears real. content/browser/renderer_host/input LGTM with minor nits, though if fixing the compile requires ...
5 years, 2 months ago (2015-10-23 12:32:07 UTC) #8
jdduke (slow)
On 2015/10/23 12:32:07, tdresser (OOO Oct 26 - 29) wrote: > Compile failure appears real. ...
5 years, 2 months ago (2015-10-23 15:10:55 UTC) #9
jdduke (slow)
Test failures in latest patchset are fixed by the BeginFrame subscriber fix that landed yesterday ...
5 years, 2 months ago (2015-10-23 18:00:39 UTC) #10
danakj
Are you going to be taking over this CL tim?
5 years, 1 month ago (2015-11-02 21:54:20 UTC) #11
jdduke (slow)
5 years, 1 month ago (2015-11-02 21:56:25 UTC) #12
On 2015/11/02 21:54:20, danakj wrote:
> Are you going to be taking over this CL tim?

I'm happy to land it, was waiting for more feedback from Brian.

Brian any thoughts here? Should we just go ahead and land? Would you prefer we
introduce another flag to (semi)decouple the unified BeginFrame and
BeginFrame-aligined input logic?

Powered by Google App Engine
This is Rietveld 408576698