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

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

Issue 2094323002: Ensure acks are sent for all blocking events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // RenderWidgetInputHandlerDelegate 207 // RenderWidgetInputHandlerDelegate
208 void FocusChangeComplete() override; 208 void FocusChangeComplete() override;
209 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; 209 bool HasTouchEventHandlersAt(const gfx::Point& point) const override;
210 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, 210 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event,
211 const gfx::Vector2dF& unused_delta, 211 const gfx::Vector2dF& unused_delta,
212 bool event_processed) override; 212 bool event_processed) override;
213 213
214 void OnDidHandleKeyEvent() override; 214 void OnDidHandleKeyEvent() override;
215 void OnDidOverscroll(const DidOverscrollParams& params) override; 215 void OnDidOverscroll(const DidOverscrollParams& params) override;
216 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; 216 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override;
217 void NotifyInputEventHandled( 217 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type,
218 blink::WebInputEvent::Type handled_type) override; 218 InputEventAckState ack_result) override;
219 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; 219 void SetInputHandler(RenderWidgetInputHandler* input_handler) override;
220 void UpdateTextInputState(ShowIme show_ime, 220 void UpdateTextInputState(ShowIme show_ime,
221 ChangeSource change_source) override; 221 ChangeSource change_source) override;
222 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; 222 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override;
223 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; 223 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override;
224 224
225 // RenderWidgetScreenMetricsDelegate 225 // RenderWidgetScreenMetricsDelegate
226 void Redraw() override; 226 void Redraw() override;
227 void Resize(const ResizeParams& resize_params) override; 227 void Resize(const ResizeParams& resize_params) override;
228 void SetScreenMetricsEmulationParameters( 228 void SetScreenMetricsEmulationParameters(
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 771
772 // Indicates whether this widget has focus. 772 // Indicates whether this widget has focus.
773 bool has_focus_; 773 bool has_focus_;
774 774
775 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 775 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
776 }; 776 };
777 777
778 } // namespace content 778 } // namespace content
779 779
780 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 780 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698