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

Side by Side Diff: content/renderer/render_widget.h

Issue 1780953003: Change the non-blocking event queue to the main thread event queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_regression_5
Patch Set: Fix android Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/mus/render_widget_mus_connection.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, 213 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event,
214 const gfx::Vector2dF& wheel_unused_delta, 214 const gfx::Vector2dF& wheel_unused_delta,
215 bool event_processed) override; 215 bool event_processed) override;
216 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, 216 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event,
217 const gfx::Vector2dF& unused_delta, 217 const gfx::Vector2dF& unused_delta,
218 bool event_processed) override; 218 bool event_processed) override;
219 219
220 void OnDidHandleKeyEvent() override; 220 void OnDidHandleKeyEvent() override;
221 void OnDidOverscroll(const DidOverscrollParams& params) override; 221 void OnDidOverscroll(const DidOverscrollParams& params) override;
222 void OnInputEventAck(scoped_ptr<InputEventAck> input_event_ack) override; 222 void OnInputEventAck(scoped_ptr<InputEventAck> input_event_ack) override;
223 void NonBlockingInputEventHandled( 223 void NotifyInputEventHandled(
224 blink::WebInputEvent::Type handled_type) override; 224 blink::WebInputEvent::Type handled_type) override;
225 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; 225 void SetInputHandler(RenderWidgetInputHandler* input_handler) override;
226 void UpdateTextInputState(ShowIme show_ime, 226 void UpdateTextInputState(ShowIme show_ime,
227 ChangeSource change_source) override; 227 ChangeSource change_source) override;
228 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; 228 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override;
229 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; 229 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override;
230 230
231 // RenderWidgetScreenMetricsDelegate 231 // RenderWidgetScreenMetricsDelegate
232 void Redraw() override; 232 void Redraw() override;
233 void Resize(const ResizeParams& resize_params) override; 233 void Resize(const ResizeParams& resize_params) override;
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 private: 788 private:
789 // When emulated, this returns original device scale factor. 789 // When emulated, this returns original device scale factor.
790 float GetOriginalDeviceScaleFactor() const; 790 float GetOriginalDeviceScaleFactor() const;
791 791
792 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 792 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
793 }; 793 };
794 794
795 } // namespace content 795 } // namespace content
796 796
797 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 797 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/mus/render_widget_mus_connection.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698