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

Unified Diff: content/renderer/pepper/pepper_webplugin_impl.cc

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: 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: content/renderer/pepper/pepper_webplugin_impl.cc
diff --git a/content/renderer/pepper/pepper_webplugin_impl.cc b/content/renderer/pepper/pepper_webplugin_impl.cc
index 3ed39200d3e695c1ef8e71e6628210b558bef06b..2f02f02eb43d258fe7e824cc215f107bfde9aaae 100644
--- a/content/renderer/pepper/pepper_webplugin_impl.cc
+++ b/content/renderer/pepper/pepper_webplugin_impl.cc
@@ -183,7 +183,9 @@ void PepperWebPluginImpl::updateFocus(bool focused,
instance_->SetWebKitFocus(focused);
}
-void PepperWebPluginImpl::updateVisibility(bool visible) {}
+void PepperWebPluginImpl::updateVisibility(bool visible) {
+ instance_->UpdateVisibility(visible);
+}
bool PepperWebPluginImpl::acceptsInputEvents() { return true; }

Powered by Google App Engine
This is Rietveld 408576698