| Index: content/renderer/render_widget.h
|
| diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
|
| index 653564e0d482d12b95345643ae51aa8a11274afb..0ed4a936b8cf8f106bbf9bd2feb09c3048cac41f 100644
|
| --- a/content/renderer/render_widget.h
|
| +++ b/content/renderer/render_widget.h
|
| @@ -109,6 +109,7 @@ class CONTENT_EXPORT RenderWidget
|
| bool has_focus() const { return has_focus_; }
|
| bool is_fullscreen() const { return is_fullscreen_; }
|
| bool is_hidden() const { return is_hidden_; }
|
| + bool allow_partial_swap() const { return allow_partial_swap_; }
|
|
|
| // IPC::Listener
|
| virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
|
| @@ -527,6 +528,11 @@ class CONTENT_EXPORT RenderWidget
|
| // Cached on the RenderWidget because determining support is costly.
|
| bool using_asynchronous_swapbuffers_;
|
|
|
| + // Specifies whether partially swapping composited buffers is
|
| + // allowed for a renderer. Partial swaps will be used if they are both
|
| + // allowed and supported.
|
| + bool allow_partial_swap_;
|
| +
|
| // Number of OnSwapBuffersComplete we are expecting. Incremented each time
|
| // WebWidget::composite has been been performed when the RenderWidget subclass
|
| // SupportsAsynchronousSwapBuffers. Decremented in OnSwapBuffers. Will block
|
|
|