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

Unified Diff: content/shell/renderer/test_runner/web_test_delegate.h

Issue 1158063002: Add plugins::TestPluginPlaceholder class and allow its use in Blink layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pluginfix
Patch Set: Created 5 years, 7 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/shell/renderer/test_runner/web_test_delegate.h
diff --git a/content/shell/renderer/test_runner/web_test_delegate.h b/content/shell/renderer/test_runner/web_test_delegate.h
index 7fcae241c88c7f4072888924ff41eff41f63abba..81aeb17b996791086053926e7cb0131c54633add 100644
--- a/content/shell/renderer/test_runner/web_test_delegate.h
+++ b/content/shell/renderer/test_runner/web_test_delegate.h
@@ -26,6 +26,9 @@ class WebGamepad;
class WebGamepads;
class WebHistoryItem;
class WebLayer;
+class WebLocalFrame;
+class WebPlugin;
+struct WebPluginParams;
class WebURLResponse;
class WebView;
struct WebRect;
@@ -250,6 +253,10 @@ class WebTestDelegate {
virtual void ResolveBeforeInstallPromptPromise(
int request_id,
const std::string& platform) = 0;
+
+ virtual blink::WebPlugin* CreatePluginPlaceholder(
+ blink::WebLocalFrame* frame,
+ const blink::WebPluginParams& params) = 0;
};
} // namespace content
« no previous file with comments | « content/shell/renderer/layout_test/test_plugin_placeholder.cc ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698