summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins/android_npapi.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-06-10 15:32:15 -0400
committerDerek Sollenberger <djsollen@google.com>2009-06-10 15:32:15 -0400
commit0fae426bf2862e6ba2745a999ecb25d172c6860a (patch)
tree79fec33cb4eb70d3770ef460f7e13e499333fdd0 /WebKit/android/plugins/android_npapi.h
parenta6ac9647bf473365f8d817790e11aeda7374a6d8 (diff)
downloadexternal_webkit-0fae426bf2862e6ba2745a999ecb25d172c6860a.zip
external_webkit-0fae426bf2862e6ba2745a999ecb25d172c6860a.tar.gz
external_webkit-0fae426bf2862e6ba2745a999ecb25d172c6860a.tar.bz2
Added event to notify plugins when the app is running low on memory.
Diffstat (limited to 'WebKit/android/plugins/android_npapi.h')
-rw-r--r--WebKit/android/plugins/android_npapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebKit/android/plugins/android_npapi.h b/WebKit/android/plugins/android_npapi.h
index c0eca1a..bda8eeb 100644
--- a/WebKit/android/plugins/android_npapi.h
+++ b/WebKit/android/plugins/android_npapi.h
@@ -281,7 +281,7 @@ struct ANPPathInterfaceV0 : ANPInterface {
/** ANPColor is always defined to have the same packing on all platforms, and
it is always unpremultiplied.
-
+
This is in contrast to 32bit format(s) in bitmaps, which are premultiplied,
and their packing may vary depending on the platform, hence the need for
ANPBitmapInterface::getPixelPacking()
@@ -670,6 +670,7 @@ enum ANPLifecycleActions {
kResume_ANPLifecycleAction = 1,
kGainFocus_ANPLifecycleAction = 2,
kLooseFocus_ANPLifecycleAction = 3,
+ kFreeMemory_ANPLifecycleAction = 4,
};
typedef uint32_t ANPLifecycleAction;