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

Unified Diff: chrome/renderer/plugins/chrome_plugin_placeholder.h

Issue 866173002: Plugin Power Saver: Add UI Overlay to throttled plugin using placeholder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address bauerb and groby comments Created 5 years, 11 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: chrome/renderer/plugins/chrome_plugin_placeholder.h
diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.h b/chrome/renderer/plugins/chrome_plugin_placeholder.h
index e9adb07f465c14edc3c173fbd2b05e89d974d347..dcd98b20d3a35d168bd8ade5712066520b8dd614 100644
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.h
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.h
@@ -26,7 +26,9 @@ class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
const base::string16& name,
int resource_id,
const base::string16& message,
- const GURL& poster_url);
+ const GURL& poster_url,
+ blink::WebPlugin* premade_plugin,
+ content::PluginInstanceThrottler* premade_throttler);
// Creates a new WebViewPlugin with a MissingPlugin as a delegate.
static ChromePluginPlaceholder* CreateMissingPlugin(

Powered by Google App Engine
This is Rietveld 408576698