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

Unified Diff: content/renderer/render_widget.h

Issue 10826189: Allow disabling input throttle through RendererPreference (for Browser Plugin guests) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 4a705db393c135f50930291efc19e0d06a9a4046..28a31449e517dae39a790a5d57219311c6b810f9 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -184,7 +184,9 @@ class CONTENT_EXPORT RenderWidget
RenderWidget(WebKit::WebPopupType popup_type,
const WebKit::WebScreenInfo& screen_info,
- bool swapped_out);
+ bool swapped_out,
+ bool disable_input_throttle);
+
virtual ~RenderWidget();
// Initializes this view with the given opener. CompleteInit must be called
@@ -570,6 +572,9 @@ class CONTENT_EXPORT RenderWidget
// |screen_info_| on some platforms, and defaults to 1 on other platforms.
float device_scale_factor_;
+ // Disables throttling of input based on ViewMsg_UpdateRect_ACKs.
+ bool disable_input_throttle_;
darin (slow to review) 2012/08/07 21:54:39 nit: it is probably better to negate this variable
Fady Samuel 2012/08/07 22:17:22 Done.
+
DISALLOW_COPY_AND_ASSIGN(RenderWidget);
};

Powered by Google App Engine
This is Rietveld 408576698