summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Merge WebKit at r75993: Move WebKit/android files to SourceBen Murdoch2011-05-1631-4967/+0
| | | | Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9
* update for new audio.h header locationDima Zavin2011-05-121-1/+1
| | | | | Change-Id: I62351e590d89ef68b26248936a4d63df4557182c Signed-off-by: Dima Zavin <dima@android.com>
* webkit: convert to use new audio.hDima Zavin2011-04-191-7/+9
| | | | | Change-Id: I2754c4fdf8a367530e2be5c215e5a3823e4957c5 Signed-off-by: Dima Zavin <dima@android.com>
* Prevent double deletion when timer callback causes plugin to be deleted.Derek Sollenberger2011-03-091-1/+6
| | | | | bug: 4040002 Change-Id: I9e85db08805561109fdb1d270c018d7308bef5cf
* Add support for plugins to use incognito mode.Derek Sollenberger2011-02-254-5/+132
| | | | | | bug: 2968415 Change-Id: Ie67c9f6b28a81d4a65f39bde2896078d7b49b8ee
* Fix problem where plugins were not drawn due to an incorrect clip.Derek Sollenberger2011-02-241-2/+2
| | | | | bug: 3451982 Change-Id: If1d7bff729f72c28fec4905c3525b2f2ac1c6475
* Skia Merge (revision 808)Derek Sollenberger2011-02-222-4/+4
| | | | | | This is a companion CL to the one found in /external/skia Change-Id: I469b8845a88f24d972fd57ee5c9cab505a5b83aa
* Selectively enable and disable GL_BLEND for better performance.Derek Sollenberger2011-02-161-1/+3
| | | | Change-Id: I473e2bff91c2e0b1ec2436f0666506023a7c0945
* Consolidate scrolling methods.Patrick Scott2011-02-091-1/+1
| | | | | | | | | Call through to a single java function to scroll the page. Always use scrollTo so that there isn't a problem with using scrollBy on an old or out-of-sync scroll position. Bug: 3187015 Change-Id: I4a75256687e53ed18c1f73970e9032f476b81859
* Only invalidate the webview when the plugin has new content.Derek Sollenberger2011-02-043-2/+19
| | | | | bug: 3424551 Change-Id: I07beef845bb41980144222c3c5d076db8120037c
* Ensure plugins receive an onScreen event even when the page reloadsDerek Sollenberger2011-02-011-1/+13
| | | | | bug: 3411351 Change-Id: I9127ec949ceb7c4e91e1e48daede8e9411208fa7
* Add Plugin API for controling the device power statesDerek Sollenberger2011-01-275-0/+57
| | | | | | | | | | 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
* Merge "Initial pass at a video API for plugins." into honeycombDerek Sollenberger2011-01-263-0/+145
|\
| * Initial pass at a video API for plugins.Derek Sollenberger2011-01-263-0/+145
| | | | | | | | | | bug: 3072603 Change-Id: Ie22d289a93682dfd68cf81f5220d658d45a69d81
* | Merge "Fix hit testing inside layers." into honeycombPatrick Scott2011-01-261-0/+1
|\ \ | |/ |/|
| * Fix hit testing inside layers.Patrick Scott2011-01-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new webkit merge added a couple methods to ClipRects that were not copying the hit test rect. This make the clip rect empty during hit testing which was clipping out all nodes in scrollable layers. When tracking a layer, use the foreground layer if present as it will contain the right nodes. When looking for a scrollable layer, traverse the children in reverse drawing order to find the top-most visible layer. This allows orkut.com to scroll. Remove a couple of casts and headers. Use relaxAdoptionRequirement() to avoid a RefCounted assert. Swap the texture owner hash set during deletion as release can modify the iterator concurrently. Update the scrollbars (even though we don't have any) when scrolling a layer to keep the scroll position of the scrollbar in sync with the layer. Rewrite a little bit of PluginPackageAndroid. m_module may be non-null during load. If it is null, load the library and store it in m_module. Follow the regular path assuming m_module is not null. Bug: 3373179 Change-Id: If07ec9735b30c1e98e363667378a8d253a841a45
* | Merge "Plugin API to allow for y-axis inversion during rendering." into ↵Derek Sollenberger2011-01-262-0/+27
|\ \ | |/ |/| | | honeycomb
| * Plugin API to allow for y-axis inversion during rendering.Derek Sollenberger2011-01-262-0/+27
| | | | | | | | | | bug: 3393314 Change-Id: I913a6c073fe9ba56c14cdbcaa523b6e5a5af5219
* | Fix invalid draw events when the plugin is injected into a loaded pageDerek Sollenberger2011-01-252-7/+9
|/ | | | | | | | Use WebViewCore's scale value instead of maintaining our own to prevent getting out of sync and reporting the wrong zoom to the plugin. bug: 3388258 Change-Id: I45f2b14c48442ab0211a9bafeb42b2216b706346
* Prevent timer from deleting itself twice.Derek Sollenberger2011-01-252-5/+14
| | | | | | | | | If a plugin attempts to delete itself as a result of a timer firing, it currently crashes the browser. This CL defers the deletion of the timer until after the timer's fire method completes. bug: 3382772 Change-Id: I1b5f995f91c7a06767b2a3f68880d3e197a83124
* Send appropriate events when plugin is dynamically resized.Derek Sollenberger2011-01-202-31/+39
| | | | | bug: 3372374 Change-Id: I51bb9fedaf4c941f45c068ad3e044cd771444392
* Trigger OnScreen events when the page loads.Derek Sollenberger2011-01-191-1/+1
| | | | | bug: 3368632 Change-Id: I13dbf1c809f32887f5d659e6fead60a61110eddd
* Add multi-touch plugin API.Derek Sollenberger2011-01-071-1/+21
| | | | | bug: 3302363 Change-Id: Iaaa5bdf8616043fdba47690fc130002d9fe57e8b
* Add additional debugging for plugins.Derek Sollenberger2011-01-073-1/+7
| | | | Change-Id: Ie4437e0b62a16ee7e9d1b6fc605554ecc161cc6c
* Plugin API to report the onscreen visibility of the plugin.Derek Sollenberger2011-01-054-0/+47
| | | | | bug: 3324143 Change-Id: I4ad5837b4d79ee63bf53ce974a634d357130930e
* Add full-screen support for OpenGL based plugins.Derek Sollenberger2011-01-041-4/+28
| | | | | bug: 3321891 Change-Id: Ife1bbeed91b3285277bfe47c71f523d477891b98
* Add initial support for OpenGL plugins.Derek Sollenberger2010-12-205-0/+193
| | | | | bug: 2907737 Change-Id: I6f4f21146c834554db5ecb67fed8994f1cdc2cfe
* Add app-switch keycode.Jeff Brown2010-12-071-0/+1
| | | | Change-Id: I536fbb4545953098626a7b8d804a5a22746895b1
* Add new keycodes initially used for GoogleTV devices.Jason Bayer2010-11-091-0/+22
| | | | Change-Id: I8fab33352f894f3bfe07f9ffbdddd76d3aa2df8f
* Add volume mute key.Jeff Brown2010-11-011-1/+2
| | | | | | | Also fixed incorrect keycode constant for numpad parens. Bug: 2912307 Change-Id: I65d02ca1c131638ea70f333bf06982747f34223c
* Add new keycodes.Jeff Brown2010-10-141-0/+53
| | | | | Bug: 2912307 Change-Id: I8560879fa057af7a3193233db45506d1d4d419a0
* Add new API for plugin audio track latency.Derek Sollenberger2010-10-122-0/+19
| | | | | | | | | | This CL extends the existing udio API with a new function to measure the latency of a audio track. To preserve binary compatibility with the already released v0 API we have created a v1 extension. Change-Id: I656ac10470f2262bac7039aa45458d2100a37612 http://b/3088633
* Merge WebKit at r65072: String class has moved to the WTF namespace.Ben Murdoch2010-08-131-1/+1
| | | | | | See http://trac.webkit.org/changeset/65021 Change-Id: I779a8ec0c3e1e0aed8f8d1894cfc1e5ca33ee549
* am b47b5d4a: am 652e9a01: Migrate to new keycode constants in keycodes.h.Jeff Brown2010-07-131-3/+31
|\ | | | | | | | | | | | | Merge commit 'b47b5d4ad21fc9f19fc8e6c0f453032658cad4cf' * commit 'b47b5d4ad21fc9f19fc8e6c0f453032658cad4cf': Migrate to new keycode constants in keycodes.h.
| * Migrate to new keycode constants in keycodes.h.Jeff Brown2010-07-131-3/+31
| | | | | | | | Change-Id: I523d6fab2964cec4610424f6fd7bbe86d38b7306
* | Merge Webkit at r58956: Update plugin code to use C99 types. See ↵Ben Murdoch2010-05-145-18/+18
| | | | | | | | | | | | http://trac.webkit.org/changeset/58590 Change-Id: I73f3f008a88e69962de831a98d40e8d23c3cce30
* | Merge webkit.org at r58033 : Update location of CString.hSteve Block2010-05-111-3/+2
|/ | | | | | See http://trac.webkit.org/changeset/56825 Change-Id: I8ba6a9685dcd1d8c4dec3400fba81e19fcbfe74d
* am 6452300d: am d294ab99: Update plugin\'s dirtyRect to match the dirtyRect ↵Derek Sollenberger2010-05-031-0/+10
|\ | | | | | | | | | | | | | | | | returned when locking a surface. Merge commit '6452300d47d77d78e874862c5f7908746b04c1f8' into kraken * commit '6452300d47d77d78e874862c5f7908746b04c1f8': Update plugin's dirtyRect to match the dirtyRect returned when locking a surface.
| * Update plugin's dirtyRect to match the dirtyRect returned when locking a ↵Derek Sollenberger2010-05-031-0/+10
| | | | | | | | | | | | | | surface. Change-Id: I2c3e6daa10eb9eb651be52bf9387008f154b176d http://b/2650954
* | don't hardcode "mSurface" throughout our source codeMathias Agopian2010-04-121-1/+1
|/ | | | | | | this is used in a few places to get access to the android.view.Surface native surface. use a macro instead. Also rename the field to mNativeSurface. Change-Id: Icb894b09b3c9a4878b4bfb4dd24f752fa5f0dcde
* Fix for Bug:2579468Nicolas Roard2010-04-082-5/+17
| | | | | | Instead of deleting the PluginTimer in unschedule(), we just flag it, and delete it if necessary when it fires. Change-Id: I55bdc38705204e0197917af4eb5bc2784553e68f
* Allowing native code access to the application context as long asDerek Sollenberger2010-03-231-1/+8
| | | | | | | | | | there is at least one valid instance of the webviewcore class. This change allows plugins access to the application context when the plugin package is loaded, prior to any instances of the plugin being created. Change-Id: I74a58cf76cc3c2d0ef7bca19346f13f58f616830
* Pass selection data along with message to open the keyboard.Leon Scroggins2010-03-181-1/+1
| | | | | | | | Fixes http://b/issue?id=2431351 Requires a change to frameworks/base Change-Id: I7f703746bdd00aaae2607a6a41ac4916f43d37b1
* window may not be initialized when plugin is first calledCary Clark2010-03-181-1/+2
| | | | | Change-Id: I37ba49b9cbd5170613f0d8e694aa79b49585a8ee http://b/2524032
* To enable per file log, only need to define PLUGIN_DEBUG_LOCALGrace Kloba2010-03-162-2/+2
|
* Ensure a plugin is not shown if it is completely obscured by otherDerek Sollenberger2010-03-162-9/+37
| | | | | | html content. Change-Id: Iffcc30d47428708842ac5dddee41cc611d879c1c
* Putting Grace's change back in now that we have the new apk from Adobe.Bart Sears2010-03-152-2/+2
| | | | | | Revert "Temporary revert the new android_npapi. Waiting for" This reverts commit 31ba9c5b345211c7c89d08a762c09582a3975738.
* If the plugin is in an IFrame we need to reposition the plugins surfaceDerek Sollenberger2010-03-151-0/+5
| | | | | | every time the IFrame changes position within the document. Change-Id: I03090bda439c3a3cac95dce42b3ea37901dc42f8
* Clean up full-screen mode plugins now that they handle touchDerek Sollenberger2010-03-151-3/+1
| | | | | | | | in their java view. There is a matching commit in frameworks/base Change-Id: Ibe76eb22c2b5ccc7fb80e4807edcbbc4d25e4793
* Temporary revert the new android_npapi. Waiting forGrace Kloba2010-03-122-2/+2
| | | the new apk from Adobe.