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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 10965048: [BrowserTag] Send dib info with NavigateGuest message, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test now checks for damage_buffer to be of correct size. Created 8 years, 3 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/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;

Powered by Google App Engine
This is Rietveld 408576698