summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins/android_npapi.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-11-30 11:53:41 -0500
committerDerek Sollenberger <djsollen@google.com>2009-11-30 11:53:41 -0500
commit24ba66f9ba2dae444192c4860c7b57c4289d4d5c (patch)
tree3380df489c7b568d25ce7961c63bef4f0891df40 /WebKit/android/plugins/android_npapi.h
parent1a15528b92bc6af8faeaad983c380fcca4d1de44 (diff)
downloadexternal_webkit-24ba66f9ba2dae444192c4860c7b57c4289d4d5c.zip
external_webkit-24ba66f9ba2dae444192c4860c7b57c4289d4d5c.tar.gz
external_webkit-24ba66f9ba2dae444192c4860c7b57c4289d4d5c.tar.bz2
Cleaning up android_npapi by removing implemented functions and unused parameters.
Diffstat (limited to 'WebKit/android/plugins/android_npapi.h')
-rw-r--r--WebKit/android/plugins/android_npapi.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/WebKit/android/plugins/android_npapi.h b/WebKit/android/plugins/android_npapi.h
index 88c45f4..40a31fa 100644
--- a/WebKit/android/plugins/android_npapi.h
+++ b/WebKit/android/plugins/android_npapi.h
@@ -216,7 +216,7 @@ struct ANPLogInterfaceV0 : ANPInterface {
/** dumps printf messages to the log file
e.g. interface->log(instance, kWarning_ANPLogType, "value is %d", value);
*/
- void (*log)(NPP instance, ANPLogType, const char format[], ...);
+ void (*log)(ANPLogType, const char format[], ...);
};
struct ANPBitmapInterfaceV0 : ANPInterface {
@@ -622,23 +622,6 @@ struct ANPCanvasInterfaceV0 : ANPInterface {
};
struct ANPWindowInterfaceV0 : ANPInterface {
- /** Given the window field from the NPWindow struct, and an optional rect
- describing the subset of the window that will be drawn to (may be null)
- return true if the bitmap for that window can be accessed, and if so,
- fill out the specified ANPBitmap to point to the window's pixels.
-
- When drawing is complete, call unlock(window)
- */
- bool (*lockRect)(void* window, const ANPRectI* inval, ANPBitmap*);
- /** The same as lockRect, but takes a region instead of a rect to specify
- the area that will be changed/drawn.
- */
- bool (*lockRegion)(void* window, const ANPRegion* inval, ANPBitmap*);
- /** Given a successful call to lock(window, inval, &bitmap), call unlock
- to release access to the pixels, and allow the browser to display the
- results. If lock returned false, unlock should not be called.
- */
- void (*unlock)(void* window);
/** Registers a set of rectangles that the plugin would like to keep on
screen. The rectangles are listed in order of priority with the highest
priority rectangle in location rects[0]. The browser will attempt to keep