summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't call setNPWindowRect unless the plugin hasGrace Kloba2010-01-181-1/+1
| | | | started. Otherwise the plugin won't get the rect later as it thinks it is not changed.
* consolidating to only use one surface per plugin. give plugin access to java ↵Derek Sollenberger2010-01-111-1/+7
| | | | | | context. There is a companion commit in frameworks/base.
* Merge webkit.org at r51976 : Fix general conflicts.Steve Block2009-12-172-30/+0
| | | | | | | | | | | | | | | Notes ... For FrameLoader.cpp/h, see http://trac.webkit.org/changeset/51644 For FrameView.cpp and ScrolView.cpp, see http://trac.webkit.org/changeset/51636 For PluginInfoStore.cpp, see http://trac.webkit.org/changeset/51257 For Geolocation.cpp, see http://trac.webkit.org/changeset/50605 For V8DOMWrapper.cpp, see http://trac.webkit.org/changeset/51004 For V8Proxy.cpp, see http://trac.webkit.org/changeset/50441, http://trac.webkit.org/changeset/50327, http://trac.webkit.org/changeset/50406 and http://trac.webkit.org/changeset/50523 For HTMLInputElement.cpp, see http://trac.webkit.org/changeset/50996 For RenderBlock.cpp/RenderInline.cpp, see https://android-git.corp.google.com/g/#change,33465 Android-specific change to now-deleted JSCanvasArrayCustom.cpp was trivial. Change-Id: Iddc8d43bdcb6208d6a991a7a1d591e8a4f918bf7
* Merge webkit.org at r51976 : Initial merge by git.Steve Block2009-12-1717-85/+340
| | | | Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
* register the eventinterface with our dispatcher listMike Reed2009-12-171-0/+2
|
* Implement the full screen WebView plugin.Grace Kloba2009-12-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a NoTitleBar_Fullscreen dialog to implement the full screen plugin. This runs in the same thread as WebView (UI in the Browser case). One catch is that the SurfaceView provided by the plugin needs to be opaque if it doesn't want to see through the WebView. The PluginFullScreenHolder translates the events to the underline WebView. Special treatment in the touch case as it needs to translate the coordinates. WebView can't be panned, or double tap to zoom, or long press to trigger the context menu while having a full screen plugin. Inside webkit, we also give the plugin element focus when it goes to the full screen so that it takes key events. While handling key events, we don't let it loose focus or scroll out. Todo: When a plugin goes to full screen, we should make sure the embedded plugin is fully visible. Otherwise when we translate the touch events back, they will be outside of the visible rect and will be ignored. This is part 2 of 2-project check in.
* Enable longpress and doubletap to WebKit as touchGrace Kloba2009-12-091-3/+18
| | | | event if it is requested.
* Refactoring plugins to use new java interfaces.Derek Sollenberger2009-11-301-6/+0
| | | | | | | This change contains extensive cleanup as we now keep track of a pointer to the plugin's java entry point (WebkitPlugin.class). Also given that we track this object and changes to plugin packaging we nolonger need to pass additional parameters in quite a few methods.
* Fixes license headers for all Android-specific JavaScriptCore and WebCore ↵Steve Block2009-11-134-28/+35
| | | | | | | | | | | | | | | | | | | | | | files not yet upstreamed to webkit.org. WebKit requires either a BSD-style or LGPL 2.1 license for all code. We use a BSD-style 2-clause license for Android-specific files that will be upstreamed to webkit.org. - For most files, I've fixed the names of copyright holders in the license text to 'THE COPYRIGHT HOLDERS' and cleaned up formatting in the existing BSD-style license. - For Makefiles and the following files in WebCore/platform/graphics/android/, I've changed from an Apache 2.0 license to the BSD-style license. - WebCore/platform/graphics/android/BitmapAllocatorAndroid.cpp - WebCore/platform/graphics/android/BitmapAllocatorAndroid.h - WebCore/platform/graphics/android/SharedBufferStream.cpp - WebCore/platform/graphics/android/SharedBufferStream.h - For the following files, I've changed from an LGPL licese to the BSD-style license. - WebCore/platform/graphics/android/FontPlatformData.h - WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp - WebCore/plugins/android/PluginDataAndroid.cpp Change-Id: Ic4c3e5610afc58637b7a9b81b1d0d1f17f4f4cb1
* Removes WebCorePrefixAndroid.h to aid WebKit upstreaming.Steve Block2009-11-121-4/+4
| | | | | | | | | | | | | | | | Content from WebCorePrefixAndroid.h has been moved to WebCorePrefix.h and the Android Makefiles modified to use that file. - Enabler flags have been moved to WebCore/config.h. - flex_XXX_T types are defined in WebCore/css/maketokenizer - Most system includes are alreay present in WebCorePrefix.h - Some includes have been moved directly to the source files that require them. - The following includes seem not to be required so have been dropped. - #include <limits.h> - #include <math.h> - #include <stdint.h> - #include <unistd.h> Change-Id: I8eba4d0a606463503554955e113d57bdf76a7136
* Merge webkit.org at r50258 : PluginPackage::compareFileVersion is now ↵Steve Block2009-11-101-11/+0
| | | | | | | | provided in PluginPackage.cpp. See http://trac.webkit.org/changeset/50138 Change-Id: Ifbb9bbf4fab660148e4e9afe1bedcda0e1b40058
* Merge webkit.org at r50258 : Fix conflicts.Steve Block2009-11-102-14/+5
| | | | | | | Note that FrameLoader::gotoAnchor has been moved to FramveView::gotoAnchor. See http://trac.webkit.org/changeset/49608 Change-Id: Ic2a87bb0c0f91d371508578ddccf200967524a77
* Merge webkit.org at r50258 : Initial merge by git.Steve Block2009-11-1020-164/+1086
| | | | Change-Id: I1a9e1dc4ed654b69174ad52a4f031a07240f37b0
* Allow plugins to load java classes from their apk.Derek Sollenberger2009-11-091-3/+9
| | | | | | | | Relocate ANPSystemInterface into its own file and provide the ability to call into java and load a plugin's java class from their apk. see http://b/2215696
* changing how plugins gain/lose focus.Derek Sollenberger2009-10-273-1/+22
| | | | | | | | | | Previously we were keeping our own state in the UI thread to determine when to send events to the plugin. This change removes that logic and uses the document focus to determine when events are to be sent. This also fixes problems with the plugins occasionally not receiving lose focus events. see bug http://b/2033843
* Makes a number of changes to ease future merging with and upstreaming to ↵Steve Block2009-10-221-8/+6
| | | | | | | | | | | | | webkit.org. - Fixes whitespace discrepancies between webkit.org and Android versions - Re-orders Android-specific changes to minimise the diff with webkit.org - Makes sure all Android-specific changes are appropriately guarded. - Fixes some Android-specific style problems None of these should introduce any functional changes for PLATFORM(ANDROID). Change-Id: Id27cf0b0e8682a7f29590c3fccae2d287b3630f1
* Merge webkit.org at R49305 : Stub out PluginView::halt and PluginView::restart.Steve Block2009-10-201-0/+8
| | | | | | See http://trac.webkit.org/changeset/49060 Change-Id: I1af14254d03b1a06c37c1081b12eddaab73fd5ab
* Merge webkit.org at R49305 : PluginView::init and destructor have been moved ↵Steve Block2009-10-202-45/+10
| | | | | | | | to common code. See http://trac.webkit.org/changeset/47966 and http://trac.webkit.org/changeset/47967 Change-Id: If5b9594b032d5a7d456fe3bb6092eafef3655c34
* Merge webkit.org at R49305 : Fix merge conflicts.Steve Block2009-10-201-9/+1
| | | | Change-Id: I9e0ffbe9b9b824399653da038093874e315ccd6a
* Merge webkit.org at R49305 : Automatic merge by git.Steve Block2009-10-2015-308/+860
| | | | Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7
* Fixes a bunch of WebKit whitespace discrepancies between Android and ↵Steve Block2009-10-142-4/+4
| | | | | | | | webkit.org. Do not merge. This will avoid noise in the diffs when upstreaming Android-specific changes to webkit.org. This has already been submitted to master branch.
* When mouse down or plugin handles touch down, set the pluginGrace Kloba2009-09-231-0/+13
| | | | | | to be the focus of the document so that it can receive key events. This has the same logic as in PluginViewMac.cpp's handleMouseEvent().
* renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent ↵Derek Sollenberger2009-09-211-2/+2
| | | | | | calls Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
* First pass at replacing native plugin views with java.Derek Sollenberger2009-09-151-0/+7
| | | | Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f
* Revert "Merge WebKit r47420"Andrei Popescu2009-08-192-94/+2
| | | | This reverts commit d227fc870c7a697500a3c900c31baf05fb9a8524.
* Merge WebKit r47420Ben Murdoch2009-08-182-2/+94
|
* Merge commit 'goog/master' into mergeBen Murdoch2009-08-183-114/+0
|\ | | | | | | | | | | | | Conflicts: WebCore/bindings/v8/ScriptController.cpp WebCore/page/Geolocation.cpp WebCore/platform/android/GeolocationServiceAndroid.cpp
| * As PluginList is removed when we remove Gears, remove code in the native side.Grace Kloba2009-08-173-114/+0
| |
* | Fix the last of the linker errors !Ben Murdoch2009-08-171-0/+5
| |
* | Fix first set of linker errors.Ben Murdoch2009-08-172-51/+2
| |
* | PluginView.cpp fixAndrei Popescu2009-08-171-2/+2
| |
* | ResourceHandleAndroid fixAndrei Popescu2009-08-171-7/+0
| |
* | r47029: Merges WebCore/page, plugins and storage.Ben Murdoch2009-08-123-19/+2
| |
* | Merge in WebKit r47029.Ben Murdoch2009-08-1122-483/+999
|/
* Add SystemInterface to the android_npapi so that we can expose system relatedGrace Kloba2009-08-052-0/+3
| | | | properties. Currently it only has getApplicationDataDirectory.
* Fixing mouse and touch coordinates inside iframes.Derek Sollenberger2009-08-031-26/+17
|
* fixing plugin event handling for touch to return the correct value.Derek Sollenberger2009-07-281-1/+1
|
* removing visibleRect event and tracking rectangles instead.Derek Sollenberger2009-07-201-2/+1
|
* Adding plugin support for an RGBA surface view.Derek Sollenberger2009-07-171-8/+4
|
* Ensuring the plugin maintains control of the nav keys until it explicity ↵Derek Sollenberger2009-07-081-3/+20
| | | | releases them.
* plugins are now sent the correct coordinates even when the page is scrolled.Derek Sollenberger2009-07-071-6/+16
|
* added gain/loose focus support for plugins. (focus = eligible to receive ↵Derek Sollenberger2009-07-021-6/+1
| | | | user events)
* Adding support for plugins to request the keyboard.Derek Sollenberger2009-06-291-2/+3
|
* Adding mouse events to the plugin APIDerek Sollenberger2009-06-261-3/+10
|
* webkit added their own initializeBrowserFuncs(), so we need to now call both ↵Mike Reed2009-06-221-7/+8
| | | | theirs and ours
* Merge commit 'goog/master' into webkit_mergeFeng Qian2009-06-183-11/+61
|\ | | | | | | | | | | | | | | Resolved conflicts: WebCore/Android.mk WebCore/storage/LocalStorageArea.h WebCore/storage/SessionStorageArea.cpp WebCore/storage/StorageEvent.cpp
| * Adding touch events for plugins.Derek Sollenberger2009-06-183-11/+61
| |
* | Get WebKit r44544.Feng Qian2009-06-1719-369/+464
|/
* add pixelpacking apiMike Reed2009-06-101-1/+3
|
* Added support for plugins receiving lifecycle events such as gain/lose focus.Derek Sollenberger2009-06-081-33/+42
|