summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins/android_npapi.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2010-01-12 12:31:34 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-01-12 12:31:34 -0800
commitfc243b5053a64b21692cdb7380abe24095434f85 (patch)
tree0e4b6be9207fa12de270e70e91bcae3ab8bcfa00 /WebKit/android/plugins/android_npapi.h
parentb92d07ec6c20d646df8d5f050a0a7e7f51c33d2b (diff)
parent8752c4d3c7d623f1f6314e8b662d3626c849ca97 (diff)
downloadexternal_webkit-fc243b5053a64b21692cdb7380abe24095434f85.zip
external_webkit-fc243b5053a64b21692cdb7380abe24095434f85.tar.gz
external_webkit-fc243b5053a64b21692cdb7380abe24095434f85.tar.bz2
am 8752c4d3: am f8ffa7ae: Merge "adding event to notify the plugin when it is on/off screen." into eclair-mr2
Merge commit '8752c4d3c7d623f1f6314e8b662d3626c849ca97' * commit '8752c4d3c7d623f1f6314e8b662d3626c849ca97': adding event to notify the plugin when it is on/off screen.
Diffstat (limited to 'WebKit/android/plugins/android_npapi.h')
-rw-r--r--WebKit/android/plugins/android_npapi.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/WebKit/android/plugins/android_npapi.h b/WebKit/android/plugins/android_npapi.h
index 10f7ac9..4173528 100644
--- a/WebKit/android/plugins/android_npapi.h
+++ b/WebKit/android/plugins/android_npapi.h
@@ -847,7 +847,7 @@ enum ANPLifecycleActions {
/** The web view containing this plugin has been paused. See documentation
on the android activity lifecycle for more information.
*/
- kPause_ANPLifecycleAction = 0,
+ kPause_ANPLifecycleAction = 0,
/** The web view containing this plugin has been resumed. See documentation
on the android activity lifecycle for more information.
*/
@@ -879,6 +879,14 @@ enum ANPLifecycleActions {
its original coordinates.
*/
kExitFullScreen_ANPLifecycleAction = 7,
+ /** The plugin is visible to the user on the screen. This event will always
+ occur after a kOffScreen_ANPLifecycleAction event.
+ */
+ kOnScreen_ANPLifecycleAction = 8,
+ /** The plugin is no longer visible to the user on the screen. This event
+ will always occur prior to an kOnScreen_ANPLifecycleAction event.
+ */
+ kOffScreen_ANPLifecycleAction = 9,
};
typedef uint32_t ANPLifecycleAction;