summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/glue/plugins/plugin_host.cc14
1 files changed, 13 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_host.cc b/webkit/glue/plugins/plugin_host.cc
index a5e6573..8b92771 100644
--- a/webkit/glue/plugins/plugin_host.cc
+++ b/webkit/glue/plugins/plugin_host.cc
@@ -391,11 +391,13 @@ uint32 NPN_MemFlush(uint32 size) {
// Should force a re-scan of the plugins directory to load new ones.
void NPN_ReloadPlugins(NPBool reloadPages) {
// TODO: implement me
+ DLOG(INFO) << "NPN_ReloadPlugin is not implemented yet.";
}
// Requests a range of bytes for a seekable stream.
NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList) {
// TODO: implement me
+ DLOG(INFO) << "NPN_RequestedRead is not implemented yet.";
return NPERR_GENERIC_ERROR;
}
@@ -581,8 +583,8 @@ NPError NPN_NewStream(NPP id,
//
// Browser should put this stream into a window target.
//
-
// TODO: implement me
+ DLOG(INFO) << "NPN_NewStream is not implemented yet.";
return NPERR_GENERIC_ERROR;
}
@@ -590,6 +592,7 @@ int32 NPN_Write(NPP id, NPStream* stream, int32 len, void* buffer) {
// Writes data to an existing Plugin-created stream.
// TODO: implement me
+ DLOG(INFO) << "NPN_Write is not implemented yet.";
return NPERR_GENERIC_ERROR;
}
@@ -630,6 +633,7 @@ void NPN_Status(NPP id, const char* message) {
// Displays a message on the status line of the browser window.
// TODO: implement me
+ DLOG(INFO) << "NPN_Status is not implemented yet.";
}
void NPN_InvalidateRect(NPP id, NPRect *invalidRect) {
@@ -646,6 +650,7 @@ void NPN_InvalidateRegion(NPP id, NPRegion invalidRegion) {
// Similar to NPN_InvalidateRect.
// TODO: implement me
+ DLOG(INFO) << "NPN_InvalidateRegion is not implemented yet.";
}
void NPN_ForceRedraw(NPP id) {
@@ -666,6 +671,7 @@ void NPN_ForceRedraw(NPP id) {
//
// TODO: implement me
+ DLOG(INFO) << "NPN_ForceRedraw is not implemented yet.";
}
NPError NPN_GetValue(NPP id, NPNVariable variable, void *value) {
@@ -764,6 +770,7 @@ NPError NPN_GetValue(NPP id, NPNVariable variable, void *value) {
default:
{
// TODO: implement me
+ DLOG(INFO) << "NPN_GetValue(" << variable << ") is not implemented yet.";
break;
}
}
@@ -803,13 +810,16 @@ NPError NPN_SetValue(NPP id, NPPVariable variable, void *value) {
// Specifies whether you are pushing or popping the JSContext off
// the stack
// TODO: implement me
+ DLOG(INFO) << "NPN_SetValue(NPPVJavascriptPushCallerBool) is not implemented.";
return NPERR_GENERIC_ERROR;
case NPPVpluginKeepLibraryInMemory:
// Tells browser that plugin dll should live longer than usual.
// TODO: implement me
+ DLOG(INFO) << "NPN_SetValue(NPPVpluginKeepLibraryInMemory) is not implemented.";
return NPERR_GENERIC_ERROR;
default:
// TODO: implement me
+ DLOG(INFO) << "NPN_SetValue(" << variable << ") is not implemented.";
break;
}
@@ -819,11 +829,13 @@ NPError NPN_SetValue(NPP id, NPPVariable variable, void *value) {
void *NPN_GetJavaEnv() {
// TODO: implement me
+ DLOG(INFO) << "NPN_GetJavaEnv is not implemented.";
return NULL;
}
void *NPN_GetJavaPeer(NPP) {
// TODO: implement me
+ DLOG(INFO) << "NPN_GetJavaPeer is not implemented.";
return NULL;
}