Index: content/browser/browser_plugin/browser_plugin_guest.h |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h |
index 353163f73e361ef62d3548646fe5658eed2eb09d..4c3f7bd0826bc266001ce47c129a34880c422600 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest.h |
@@ -93,13 +93,6 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsDelegate, |
// WebContentsDelegate implementation. |
virtual void RendererUnresponsive(WebContents* source) OVERRIDE; |
- void SetDamageBuffer(TransportDIB* damage_buffer, |
-#if defined(OS_WIN) |
- int damage_buffer_size, |
-#endif |
- const gfx::Size& damage_view_size, |
- float scale_factor); |
- |
void UpdateRect(RenderViewHost* render_view_host, |
const ViewHostMsg_UpdateRect_Params& params); |
void UpdateRectACK(int message_id, const gfx::Size& size); |
@@ -130,6 +123,13 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsDelegate, |
virtual void Reload(); |
// Stop loading the guest. |
virtual void Stop(); |
+ // Overridden in tests. |
+ virtual void SetDamageBuffer(TransportDIB* damage_buffer, |
+#if defined(OS_WIN) |
+ int damage_buffer_size, |
+#endif |
+ const gfx::Size& damage_view_size, |
+ float scale_factor); |
private: |
friend class TestBrowserPluginGuest; |