| Index: content/renderer/render_widget.h
|
| diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
|
| index 4a705db393c135f50930291efc19e0d06a9a4046..79a689cc6554540ddc23a8bdec97c3ad304544c2 100644
|
| --- a/content/renderer/render_widget.h
|
| +++ b/content/renderer/render_widget.h
|
| @@ -185,6 +185,7 @@ class CONTENT_EXPORT RenderWidget
|
| RenderWidget(WebKit::WebPopupType popup_type,
|
| const WebKit::WebScreenInfo& screen_info,
|
| bool swapped_out);
|
| +
|
| virtual ~RenderWidget();
|
|
|
| // Initializes this view with the given opener. CompleteInit must be called
|
| @@ -327,6 +328,10 @@ class CONTENT_EXPORT RenderWidget
|
| void set_next_paint_is_restore_ack();
|
| void set_next_paint_is_repaint_ack();
|
|
|
| + void set_throttle_input_events(bool throttle_input_events) {
|
| + throttle_input_events_ = throttle_input_events;
|
| + }
|
| +
|
| // Checks if the text input state and compose inline mode have been changed.
|
| // If they are changed, the new value will be sent to the browser process.
|
| void UpdateTextInputState();
|
| @@ -570,6 +575,9 @@ class CONTENT_EXPORT RenderWidget
|
| // |screen_info_| on some platforms, and defaults to 1 on other platforms.
|
| float device_scale_factor_;
|
|
|
| + // Specifies whether input event throttling is enabled for this widget.
|
| + bool throttle_input_events_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RenderWidget);
|
| };
|
|
|
|
|