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

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

Issue 42056: Basic windowless plugins, try 2. (Closed)
Patch Set: review comments Created 11 years, 9 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
« no previous file with comments | « skia/ext/platform_device_linux.h ('k') | webkit/glue/plugins/plugin_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/plugin_host.cc
diff --git a/webkit/glue/plugins/plugin_host.cc b/webkit/glue/plugins/plugin_host.cc
index b5acda2621e530aefbb4a2ca1b94d96785e509dd..2ecb48ff34e642f3cd74e18c086caab8d8472c16 100644
--- a/webkit/glue/plugins/plugin_host.cc
+++ b/webkit/glue/plugins/plugin_host.cc
@@ -777,14 +777,7 @@ NPError NPN_GetValue(NPP id, NPNVariable variable, void *value) {
case NPNVSupportsWindowless:
{
NPBool* supports_windowless = reinterpret_cast<NPBool*>(value);
-#if defined(OS_LINUX)
- // TODO(deanm): Remove me once windowless plugins work on Linux. Right now
- // it's better to tell the plugin we don't support windowless, then have it
- // try and fail.
- *supports_windowless = FALSE;
-#else
*supports_windowless = TRUE;
-#endif
rv = NPERR_NO_ERROR;
break;
}
« no previous file with comments | « skia/ext/platform_device_linux.h ('k') | webkit/glue/plugins/plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698