Index: content/browser/renderer_host/render_widget_host_view_aura.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h |
index 52c637662781f3ff7090e0a467680c1563e565c4..608977a03f177c3dd32593d7325899260324901c 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.h |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h |
@@ -340,8 +340,11 @@ class RenderWidgetHostViewAura |
// moved to center. |
bool ShouldMoveToCenter(); |
- // Run the compositing callbacks. |
- void RunCompositingDidCommitCallbacks(); |
+ // Run all on compositing commit callbacks. |
+ void RunOnCommitCallbacks(); |
+ |
+ // Add on compositing commit callback. |
+ void AddOnCommitCallback(const base::Closure& callback); |
// Called after |window_| is parented to a RootWindow. |
void AddedToRootWindow(); |
@@ -391,10 +394,15 @@ class RenderWidgetHostViewAura |
const scoped_refptr<ui::Texture>& texture_to_return); |
void SwapDelegatedFrame( |
- scoped_ptr<cc::DelegatedFrameData> frame, |
- float device_scale_factor); |
+ scoped_ptr<cc::DelegatedFrameData> frame_data, |
+ float frame_device_scale_factor); |
void SendDelegatedFrameAck(); |
+ void SwapSoftwareFrame( |
+ scoped_ptr<cc::SoftwareFrameData> frame_data, |
+ float frame_device_scale_factor); |
+ void SendSoftwareFrameAck(TransportDIB::Handle handle); |
+ |
BrowserAccessibilityManager* GetOrCreateBrowserAccessibilityManager(); |
#if defined(OS_WIN) |
@@ -471,6 +479,9 @@ class RenderWidgetHostViewAura |
// The current frontbuffer texture. |
scoped_refptr<ui::Texture> current_surface_; |
+ // The current frontbuffer DIB. |
+ scoped_ptr<TransportDIB> current_dib_; |
+ |
// The damage in the previously presented buffer. |
SkRegion previous_damage_; |