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

Unified Diff: content/browser/browser_plugin/browser_plugin_host_browsertest.cc

Issue 11361052: Browser Plugin: Implement autosize (Embedder-side code) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_host_browsertest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
index e883fc01c138044e1cb57586ff5b38c252036a92..053a97f8f27b6b1633afa299971ff8b5ecef802c 100644
--- a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
+++ b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
@@ -91,13 +91,11 @@ class TestBrowserPluginHostFactory : public BrowserPluginHostFactory {
int instance_id,
WebContentsImpl* web_contents,
RenderViewHost* render_view_host,
- bool focused,
- bool visible) OVERRIDE {
+ const BrowserPluginHostMsg_CreateGuest_Params& params) OVERRIDE {
return new TestBrowserPluginGuest(instance_id,
web_contents,
render_view_host,
- focused,
- visible);
+ params);
}
// Also keeps track of number of instances created.
@@ -149,13 +147,12 @@ class TestShortHangTimeoutGuestFactory : public TestBrowserPluginHostFactory {
int instance_id,
WebContentsImpl* web_contents,
RenderViewHost* render_view_host,
- bool focused,
- bool visible) OVERRIDE {
- BrowserPluginGuest* guest = new TestBrowserPluginGuest(instance_id,
- web_contents,
- render_view_host,
- focused,
- visible);
+ const BrowserPluginHostMsg_CreateGuest_Params& params) OVERRIDE {
+ BrowserPluginGuest* guest =
+ new TestBrowserPluginGuest(instance_id,
+ web_contents,
+ render_view_host,
+ params);
guest->set_guest_hang_timeout_for_testing(TestTimeouts::tiny_timeout());
return guest;
}

Powered by Google App Engine
This is Rietveld 408576698