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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 19331002: Associate an id with the output surface to handle lost contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, tests Created 7 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 side-by-side diff with in-line comments
Download patch
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 e501e62dcfa4d8682535bc5a4ccef8c8f5c1e250..9c4528dbbbe30d0e338e49e3469502cbdf408c30 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -241,6 +241,7 @@ class RenderWidgetHostViewAura
virtual bool LockMouse() OVERRIDE;
virtual void UnlockMouse() OVERRIDE;
virtual void OnSwapCompositorFrame(
+ uint32 output_surface_id,
scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
#if defined(OS_WIN)
virtual void SetParentNativeViewAccessible(
@@ -492,16 +493,19 @@ class RenderWidgetHostViewAura
const scoped_refptr<ui::Texture>& texture_to_return);
void SwapDelegatedFrame(
+ uint32 output_surface_id,
scoped_ptr<cc::DelegatedFrameData> frame_data,
float frame_device_scale_factor,
const ui::LatencyInfo& latency_info);
- void SendDelegatedFrameAck();
+ void SendDelegatedFrameAck(uint32 output_surface_id);
void SwapSoftwareFrame(
+ uint32 output_surface_id,
scoped_ptr<cc::SoftwareFrameData> frame_data,
float frame_device_scale_factor,
const ui::LatencyInfo& latency_info);
- void SendSoftwareFrameAck(unsigned software_frame_id);
+ void SendSoftwareFrameAck(uint32 output_surface_id,
+ unsigned software_frame_id);
BrowserAccessibilityManager* GetOrCreateBrowserAccessibilityManager();

Powered by Google App Engine
This is Rietveld 408576698