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

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

Issue 2118273002: Ensure acks are sent for all blocking events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 5 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, 212 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event,
213 const gfx::Vector2dF& wheel_unused_delta, 213 const gfx::Vector2dF& wheel_unused_delta,
214 bool event_processed) override; 214 bool event_processed) override;
215 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, 215 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event,
216 const gfx::Vector2dF& unused_delta, 216 const gfx::Vector2dF& unused_delta,
217 bool event_processed) override; 217 bool event_processed) override;
218 218
219 void OnDidHandleKeyEvent() override; 219 void OnDidHandleKeyEvent() override;
220 void OnDidOverscroll(const DidOverscrollParams& params) override; 220 void OnDidOverscroll(const DidOverscrollParams& params) override;
221 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; 221 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override;
222 void NotifyInputEventHandled( 222 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type,
223 blink::WebInputEvent::Type handled_type) override; 223 InputEventAckState ack_result) override;
224 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; 224 void SetInputHandler(RenderWidgetInputHandler* input_handler) override;
225 void UpdateTextInputState(ShowIme show_ime, 225 void UpdateTextInputState(ShowIme show_ime,
226 ChangeSource change_source) override; 226 ChangeSource change_source) override;
227 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; 227 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override;
228 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; 228 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override;
229 229
230 // RenderWidgetScreenMetricsDelegate 230 // RenderWidgetScreenMetricsDelegate
231 void Redraw() override; 231 void Redraw() override;
232 void Resize(const ResizeParams& resize_params) override; 232 void Resize(const ResizeParams& resize_params) override;
233 void SetScreenMetricsEmulationParameters( 233 void SetScreenMetricsEmulationParameters(
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 766
767 // Indicates whether this widget has focus. 767 // Indicates whether this widget has focus.
768 bool has_focus_; 768 bool has_focus_;
769 769
770 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 770 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
771 }; 771 };
772 772
773 } // namespace content 773 } // namespace content
774 774
775 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 775 #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