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

Unified Diff: webkit/plugins/npapi/plugin_host.cc

Issue 8805004: Implement NPNVsupportsCompositingCoreAnimationPluginsBool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missing logic Created 9 years 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
« no previous file with comments | « third_party/npapi/bindings/nptypes.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_host.cc
diff --git a/webkit/plugins/npapi/plugin_host.cc b/webkit/plugins/npapi/plugin_host.cc
index 73204d22520764c8ea4a9feff2d5398b44750e3c..e54346ba257032c31f79b28b5f6365e45006e1d9 100644
--- a/webkit/plugins/npapi/plugin_host.cc
+++ b/webkit/plugins/npapi/plugin_host.cc
@@ -850,6 +850,13 @@ NPError NPN_GetValue(NPP id, NPNVariable variable, void* value) {
rv = NPERR_NO_ERROR;
break;
}
+ case NPNVsupportsCompositingCoreAnimationPluginsBool: {
+ NPBool* supports_compositing = reinterpret_cast<NPBool*>(value);
+ *supports_compositing =
+ webkit::npapi::UsingCompositedCoreAnimationPlugins();
+ rv = NPERR_NO_ERROR;
+ break;
+ }
case NPNVsupportsUpdatedCocoaTextInputBool: {
// We support the clarifications to the Cocoa IME event spec, but since
// IME currently only works on 10.6, only answer true there.
« no previous file with comments | « third_party/npapi/bindings/nptypes.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698