summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix hit testing inside layers.Patrick Scott2011-01-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Use platform bridge to control high usage delta MB." into honeycombShimeng (Simon) Wang2011-01-253-1/+9
|\
| * Use platform bridge to control high usage delta MB.Shimeng (Simon) Wang2011-01-243-1/+9
| | | | | | | | | | | | | | This change gives flexibility to change that value in Java side. issue: 3317722 Change-Id: I71a548871783cc604e0daec63e6bbfb26ecc1e1f
* | Wait until the focus changes to hide keyboard.Leon Scroggins2011-01-241-1/+5
|/ | | | | | Bug:3376680 Change-Id: Ib5636a27183fbd94aff6817e0a5641c40db28649
* Report SSL certificates to WebView.Iain Merrick2011-01-207-6/+51
| | | | | | | | | In the Apache HTTP stack, this is done by LoadListener. This CL plumbs in the same logic for the Chrome HTTP stack. This fixes the WebViewTest#testAccessCertificate CTS test. Bug:3242048 Change-Id: I69a4de46ded59bfdebdd391c4731c7c1a79744fb
* Merge "Don't allow fullscreen video to play from the onload handler." into ↵Ben Murdoch2011-01-201-0/+9
|\ | | | | | | honeycomb
| * Don't allow fullscreen video to play from the onload handler.Ben Murdoch2011-01-191-0/+9
| | | | | | | | | | | | | | Prevent fullscreen HTML5 video from playing if the play command originates from the onload handler. Change-Id: I2031d3785d5c27f88350df03d57fcbbbc8898e89
* | Merge "Passing WebSettings cacheMode to the chrome load_flags" into honeycombKristian Monsen2011-01-194-0/+35
|\ \
| * | Passing WebSettings cacheMode to the chrome load_flagsKristian Monsen2011-01-194-0/+35
| |/ | | | | | | | | | | Fixes a few CTS tests Change-Id: I1b72813b828a6aa24522e9ffb2ff17a3e364f7bf
* | Merge "Fix plugin crash when loading swf files." into honeycombDerek Sollenberger2011-01-191-1/+3
|\ \ | |/ |/|
| * Fix plugin crash when loading swf files.Derek Sollenberger2011-01-191-1/+3
| | | | | | | | | | bug: 3368265 Change-Id: Ic0ab8702d40140983be4db105f179b8b5236e6e3
* | Merge "Maintain the seek position for HTML5 Video" into honeycombBen Murdoch2011-01-191-4/+6
|\ \
| * | Maintain the seek position for HTML5 VideoBen Murdoch2011-01-191-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the video is paused, remember where we got to so that when the video is started again we can seek to the correct position and continue where we left off. Requires a change in frameworks/base. (I6b92289d4ef36bba1e0429327917533a4101655d) Bug:3303721 Change-Id: I6001f45a362f491e9040c8b52260d0a08fb8504f
* | | Merge "Do not send empty data." into honeycombPatrick Scott2011-01-191-3/+3
|\ \ \ | |/ / |/| |
| * | Do not send empty data.Patrick Scott2011-01-181-3/+3
| | | | | | | | | | | | | | | | | | | | | WebKit asserts that the length of data is 0 and assumes that the length is non-zero. Change-Id: Ic1e62bcfaca5b875256216ed20013f1b4ad7e653
* | | Merge "Fix occasional AutoFill crash" into honeycombBen Murdoch2011-01-191-12/+13
|\ \ \
| * | | Fix occasional AutoFill crashBen Murdoch2011-01-181-12/+13
| |/ / | | | | | | | | | | | | | | | Don't store a raw pointer to a refcounted type. Change-Id: I444578e7cc601ef6402ea135982aedc7ca1f983c
* | | Merge "Layout before creating the base layer." into honeycombPatrick Scott2011-01-181-4/+4
|\ \ \
| * | | Layout before creating the base layer.Patrick Scott2011-01-181-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | WebKit asserts during draw that the frame does not need a layout. Do the layout to also get the most updated data. Move the bridge assert after the parent check as some frames are never attached and no history item is created. Change-Id: If646d6ed2b409a3078d2f7a6793b7aed94ffecaf
* | | Merge "Fake some media player state change in media load time." into honeycombShimeng (Simon) Wang2011-01-181-1/+12
|\ \ \ | |_|/ |/| |
| * | Fake some media player state change in media load time.Shimeng (Simon) Wang2011-01-141-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps the Window.onLoad fires at correct time. Since Android implements the video playing using Java's full screen VideoView, nothing happens before the user clicks the play button. So need to fake some event change. Current prepareToPlay also fakes event change before real video playing. issue: 3346048 Change-Id: I5afa1a2ecf920b23f902d0ac3916223a6cf8ac0c
* | | Try to guess content type if header is genericKristian Monsen2011-01-181-1/+5
| |/ |/| | | | | | | | | | | | | | | Don't just use text/plain or application/octet-stream, this matches the old stack. Fix for bug 2981069 Change-Id: I1b5edf0e60e7c7012f4143906ec926227edcf927
* | Fixing cookie CTS tests.Kristian Monsen2011-01-171-1/+3
| | | | | | | | | | | | | | The old code would only return the correct value after a background thread had been running. Change-Id: I79c0be8606b005b6a18aa83f5b91891709d4e0f5
* | Merge changes I972bbdab,I31a640de into honeycombBen Murdoch2011-01-146-22/+450
|\ \ | | | | | | | | | | | | | | | * changes: Resolve MIME types for CacheResult in the same way as WebResponse. Hook up CacheManager for the Chromium HTTP stack
| * | Resolve MIME types for CacheResult in the same way as WebResponse.Ben Murdoch2011-01-145-25/+39
| | | | | | | | | | | | Change-Id: I972bbdabc8491a94eabd676dd13f09fcccb6ba88
| * | Hook up CacheManager for the Chromium HTTP stackSteve Block2011-01-144-1/+415
| |/ | | | | | | | | | | | | | | Requires a corresponding change in frameworks/base https://android-git.corp.google.com/g/87939 Bug: 3270236 Change-Id: I31a640de86d6fad00eb8b71784e0ee9136ab1174
* | Fix warningKristian Monsen2011-01-141-1/+1
|/ | | | Change-Id: I92ac985aba6780bc00f6dfbdca7e72f645b03580
* Merge "Remove temporary work-around for auto login." into honeycombPatrick Scott2011-01-131-6/+0
|\
| * Remove temporary work-around for auto login.Patrick Scott2011-01-131-6/+0
| | | | | | | | | | | | This is no longer needed as we are taking a different approach to auto login. Change-Id: If665c740d958c4947527ce32e2b7f858736cac2b
* | Fix for bug 3347616, crash when closing browser with requests in flightKristian Monsen2011-01-133-6/+15
| | | | | | | | | | | | | | | | | | | | | | The problem is if a request is just started as the browser (or a tab) is closed. That can give delete the scoped_refptr before the refcount is increased on the IO thread. Refcounted objects should not be passed as raw pointers between threads. Change-Id: I57a9b30f5fdfef3c6d45b81ea59a61f96b09e6ae
* | Use filename instead of file url for file uploads.Kristian Monsen2011-01-131-1/+4
|/ | | | | | Part of fix for bug 2862096 Change-Id: Iabef7251b867b0c8bbf81147b08c76e7ef723d00
* Revert "Only use the name part when opening files that start with file://"Guang Zhu2011-01-123-12/+0
| | | | This reverts commit 5bc439a352fa4a52aa5be1eab0dc72420f40d49f.
* Only use the name part when opening files that start with file://Kristian Monsen2011-01-123-0/+12
| | | | | | | Part of fix for bug 2862096 Fix for bug 3280996 Change-Id: I82d872aff834524fb105f42e83eee580d6c98c0b
* Use float to preserve scales' accuracy.Shimeng (Simon) Wang2011-01-111-2/+2
| | | | | | | | | | | This change helps page navigation, since the restored scale is accurate. This change has a corresponding change in frameworks/base. https://android-git.corp.google.com/g/#change,88121 issue: 3225233 Change-Id: I7e5601e8412e8b81e7f32c9ffb9e6c114db95169
* Merge Chromium at 9.0.597.55: Move formsSeen call to IO thread.Ben Murdoch2011-01-112-1/+28
| | | | | | | | | | | | | When we search the document for forms to be autofilled, we make a URL request to the AutoFill server to ask it for form field data. With Chromium r67655, this URL request needs to be made on a Chrome thread. This is a simple fix for the merge, which blocks until the call completes. See http://src.chromium.org/viewvc/chrome?view=rev&revision=67655 Change-Id: Iad96314e4ecb66ee7e65c1ef846709e9c41b0e2e
* Merge Chromium at 9.0.597.55: Remove URLRequest forward declaration.Ben Murdoch2011-01-111-2/+0
| | | | Change-Id: Ic978944b7a4e0bdda4ab09a18234456098ad26ca
* Merge Chromium at 9.0.597.55: Merge 67599. (2/2)Ben Murdoch2011-01-112-11/+38
| | | | | | | | | | This needed a bit of work so I've split into two commits. This is part 2, where we now need to pass both the field that was focussed and the form it belongs to. To achieve this I have a new class that encapsulates the pointers. Change-Id: Iea1a5a55696c63255bcc57b070116409a2195f4c
* Merge Chromium at 9.0.597.55: Merge r67599 (1/2)Ben Murdoch2011-01-113-5/+14
| | | | | | | | This is a slightly tricky merge. This first part is the easy bit. See http://src.chromium.org/viewvc/chrome?view=rev&revision=67599 Change-Id: Id22f7f0ce0f0b7eca62f39d4e6ae65b9ea1bdcda
* Merge Chromium at 9.0.597.55: Merge r67192Ben Murdoch2011-01-112-5/+8
| | | | | | See http://src.chromium.org/viewvc/chrome?view=rev&revision=67192 Change-Id: Ia1a391a9e7634e86e5c3166349befc47841b570e
* Merge Chromium at 9.0.597.55: Add DnsCertChecker to constructorBen Murdoch2011-01-111-0/+1
| | | | | | See http://src.chromium.org/viewvc/chrome?view=rev&revision=66985 Change-Id: Ic4642c38646b94fb6db9e839a671cd335f9d5c6b
* Merge Chromium at 9.0.597.55: Autofill: Merge r66860Ben Murdoch2011-01-111-2/+1
| | | | | | See http://src.chromium.org/viewvc/chrome?view=rev&revision=66860 Change-Id: I561d89dcc060af7f3e0b975e4a940c7de63d89d4
* Merge Chromium at 9.0.597.55: Autofill: Merge r66850Ben Murdoch2011-01-113-13/+13
| | | | | | | | | Autofill: Prefer maxLength to size attribute for form filling heuristics. See http://src.chromium.org/viewvc/chrome?view=rev&revision=66850 Change-Id: Ia102dea1c861474e878639b91288e6845d7250ef
* Merge "Update a WebCache comment" into honeycombSteve Block2011-01-071-3/+3
|\
| * Update a WebCache commentSteve Block2011-01-071-3/+3
| | | | | | | | | | | | | | This should have been updated in https://android-git.corp.google.com/g/82475 Change-Id: Ia4dee2458ebeb25bf9dc86a99b6f25f335be72dc
* | Merge "Adds an optimization to cache the WebCache backend" into honeycombSteve Block2011-01-072-26/+25
|\ \ | |/
| * Adds an optimization to cache the WebCache backendSteve Block2011-01-062-26/+25
| | | | | | | | | | | | Also does some general cleaning up. Change-Id: If1b5a338bc6500c34d0c239a75377a2d23dc996d
* | Fix MIME type handling for badly-behaved servers.Iain Merrick2011-01-071-12/+19
|/ | | | | | | | | This fixes http://scrabb.ly, which is a particularly bad example as there is no filename and no Content-Type header. This CL duplicates the behaviour of the Apache HTTP stack by defaulting to text/html. Bug: 3242012 Change-Id: Id0e131ee880466e1708367612ac0217d43db347b
* Fix naming of wtfStringToJstring()Steve Block2011-01-061-4/+4
| | | | Change-Id: I3e1a4fb110fc9d312cc608c86fcaf7cb27431685
* Merge WebKit at r72805: Update EditorClient::getGuessesForWord()Steve Block2011-01-062-2/+2
| | | | | | | | | | | | This is a revert of "Merge Webkit at r73109: getGuessForWord method signature change" See http://trac.webkit.org/changeset/73088 Note that this is a backwards merge from Chromium release 9.0.600.0 to 9.0.597.0, to align with the Chromium 9 stable release branch. Change-Id: If23862010b9e047f10991de5b428ca1b74b306b0
* Merge Webkit at r73109: add new method.Shimeng (Simon) Wang2010-12-221-0/+7
| | | | | | | | | | This is because: http://trac.webkit.org/changeset/72631 This is to merge the following change into Android: https://android-git.corp.google.com/g/#change,81198 Change-Id: Ifc7ca98388ca88828669371df501b616f8021e80