summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins/android_npapi.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-01-27 17:28:03 -0500
committerDerek Sollenberger <djsollen@google.com>2011-01-27 18:09:44 -0500
commit9bd15c56f90a9621fccfd28b9017ef1c3dba5ad7 (patch)
tree5914a7b6c1555e09c56a58d2c861103dabc3e595 /WebKit/android/plugins/android_npapi.h
parent00e7bdac2cb1be80a07ab5f78d2fa4b7210e8026 (diff)
downloadexternal_webkit-9bd15c56f90a9621fccfd28b9017ef1c3dba5ad7.zip
external_webkit-9bd15c56f90a9621fccfd28b9017ef1c3dba5ad7.tar.gz
external_webkit-9bd15c56f90a9621fccfd28b9017ef1c3dba5ad7.tar.bz2
Add Plugin API for controling the device power states
This is an initial API that will allow the plugin to request to keep the screen on. companion change is in frameworks/base bug: 3331493 Change-Id: Id807dc3a3e5aaf12fc63558edeceee0d35561768
Diffstat (limited to 'WebKit/android/plugins/android_npapi.h')
-rw-r--r--WebKit/android/plugins/android_npapi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebKit/android/plugins/android_npapi.h b/WebKit/android/plugins/android_npapi.h
index dd2dd10..fb13b43 100644
--- a/WebKit/android/plugins/android_npapi.h
+++ b/WebKit/android/plugins/android_npapi.h
@@ -124,6 +124,7 @@ typedef uint32_t ANPMatrixFlag;
#define kOpenGLInterfaceV0_ANPGetValue ((NPNVariable)1013)
#define kWindowInterfaceV1_ANPGetValue ((NPNVariable)1014)
#define kVideoInterfaceV0_ANPGetValue ((NPNVariable)1015)
+#define kSystemInterfaceV1_ANPGetValue ((NPNVariable)1016)
/** queries for the drawing models supported on this device.