diff options
author | Derek Sollenberger <djsollen@google.com> | 2009-06-10 15:32:15 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2009-06-10 15:32:15 -0400 |
commit | 0fae426bf2862e6ba2745a999ecb25d172c6860a (patch) | |
tree | 79fec33cb4eb70d3770ef460f7e13e499333fdd0 /WebKit/android/plugins/android_npapi.h | |
parent | a6ac9647bf473365f8d817790e11aeda7374a6d8 (diff) | |
download | external_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.h | 3 |
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; |