summaryrefslogtreecommitdiffstats
path: root/content/renderer/mus/render_widget_mus_connection.h
diff options
context:
space:
mode:
authordtapuska <dtapuska@chromium.org>2016-03-17 15:52:01 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-17 22:53:41 +0000
commit46616920c2a0d3e15381fff7111143574c60c7d1 (patch)
treec5843628475657351864faf6088cbd85ad3c2600 /content/renderer/mus/render_widget_mus_connection.h
parent712e7b24ad99261376251d3d789c69339f9e5904 (diff)
downloadchromium_src-46616920c2a0d3e15381fff7111143574c60c7d1.zip
chromium_src-46616920c2a0d3e15381fff7111143574c60c7d1.tar.gz
chromium_src-46616920c2a0d3e15381fff7111143574c60c7d1.tar.bz2
Change the non-blocking event queue to the main thread event queue.
A problem with the design in that blocking touch events could get ahead of the non-blocking events was revealed in discussions. Change the queue so that it processes all events going to the main thread. It may elect to put blocking events in queues that it maintains so that events are not re-ordered when dispatched to the main thread. Force the ack behavior in the renderer to match the disposition of the event. The benefit of this is uncancelable touch events now can be coalesced if the main thread is behind. BUG=489802 Review URL: https://codereview.chromium.org/1780953003 Cr-Commit-Position: refs/heads/master@{#381821}
Diffstat (limited to 'content/renderer/mus/render_widget_mus_connection.h')
-rw-r--r--content/renderer/mus/render_widget_mus_connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/mus/render_widget_mus_connection.h b/content/renderer/mus/render_widget_mus_connection.h
index 3e3fc29..0792095 100644
--- a/content/renderer/mus/render_widget_mus_connection.h
+++ b/content/renderer/mus/render_widget_mus_connection.h
@@ -52,7 +52,7 @@ class CONTENT_EXPORT RenderWidgetMusConnection
void OnDidHandleKeyEvent() override;
void OnDidOverscroll(const DidOverscrollParams& params) override;
void OnInputEventAck(scoped_ptr<InputEventAck> input_event_ack) override;
- void NonBlockingInputEventHandled(
+ void NotifyInputEventHandled(
blink::WebInputEvent::Type handled_type) override;
void SetInputHandler(RenderWidgetInputHandler* input_handler) override;
void UpdateTextInputState(ShowIme show_ime,