summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "First draft to add a fat point to WebKit hit test."Grace Kloba2010-05-2417-0/+331
|\
| * First draft to add a fat point to WebKit hit test.Grace Kloba2010-05-2417-0/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If padding is 0, it is the old style point hit test. If it finds a node, it will break the search loop and return. If padding is non-zero, the first node will be added to HitTestResult's innerNode as before. But instead of finishing the search, hit test will continue to look for other nodes covered by the fat point unless it is fully inside the current node. Here are some highlights of the changes. . instead of testing renderRect.contains(x, y), we now test renderRect.intersect(pointRect) . when a Node is hit, it will be appended to the rawNodeList of HitTestResult. So the order inside the rawNodeList represents the hit test order. Currently the fat point doesn't support SVG nodes. It also doesn't support overflow control yet.
* | Only set extra_layout_delay if the loader is notGrace Kloba2010-05-241-1/+3
| | | | | | | | | | | | | | | | | | | | completed yet. In some case, especially with iframe, we may get the loader finished before first layout. In this case, we should not set layout delay. Otherwise it won't be cleared. Fix http://b/issue?id=2594662
* | Merge "Fix a binding big in WebKit which prevents url hijacking for mobile ↵Grace Kloba2010-05-242-2/+2
|\ \ | | | | | | | | | adsense."
| * | Fix a binding big in WebKit which prevents urlGrace Kloba2010-05-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | hijacking for mobile adsense. Fix http://b/issue?id=2695688 cherry-pick the change from WebKit https://bugs.webkit.org/show_bug.cgi?id=39452
* | | implement Canvas.toDataURLCary Clark2010-05-241-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | The Chrome implementation serves as the base for this code. The test is at http://philip.html5.org/tests/canvas/suite/tests/index.toDataURL.html Change-Id: I873518362793fbe1c99686fbe240cfe7c27d1493 http://b/2620678
* | | Merge "check for null on extremely large images"Cary Clark2010-05-241-1/+1
|\ \ \
| * | | check for null on extremely large imagesCary Clark2010-05-241-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The new PrivateAndroidImageSourceRec allocator may return null if the image sizes are extremely large. Check for this to avoid a null deference. Change-Id: Ia129a87a1794a2696a4e1e415a940ac2b6b50064 http://b/2689053
* | | Merge "Cherry-pick WebKit change 59918 to fix Java bridge for JSC"Steve Block2010-05-241-1/+3
|\ \ \
| * | | Cherry-pick WebKit change 59918 to fix Java bridge for JSCSteve Block2010-05-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required to allow the LayoutTestController to work. See http://trac.webkit.org/changeset/59918 Change-Id: I96ab4a0da1ebb9e42cff43e4296341830d57f078
* | | | Merge "Update Android to reflect upstreamed code to avoid Geolocation leaks"Steve Block2010-05-244-52/+21
|\ \ \ \
| * | | | Update Android to reflect upstreamed code to avoid Geolocation leaksSteve Block2010-05-244-52/+21
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a cherry-pick of WebKit change http://trac.webkit.org/changeset/60069 This releases references to JS callbacks in the page and allows the Frame and thus the Geolocation object to be cleaned up. This change allows us to remove the Android-specific code which achieved the same through an unload listener. Bug: 2169518 Change-Id: I1ed97d40d7f69ec94a58eaa21bfa4979737cc84d
* | | | Remove the use of a timer to delay painting, instead use a flag and check itNicolas Roard2010-05-213-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | in RecordContent. Change-Id: I2a7c11d0cb9697bbc415b2b91ee96a188bf45bf3
* | | | Merge "reverse RTL characters in copy"Cary Clark2010-05-212-0/+110
|\ \ \ \
| * | | | reverse RTL characters in copyCary Clark2010-05-212-0/+110
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Text is copied from the picture in visual left-to-right order. Reverse right-to-left substrings before returning the result. This algorithm for reversal is also used by webkit to draw text, and has the same limitations. This fixes text pasted into the title bar, but does not work correctly for text pasted into an input field -- LTR text is placed incorrectly -- but that's another bug. Change-Id: I4709b74e32495d4b77d33910ac8da34d4a88edd0 http://b/2525085
* | | | Provide a string for the case where a file upload control has not had a file ↵Ben Murdoch2010-05-214-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attached to it. Requires a frameworks/base change. Change-Id: Ia50d4b8cceb943166198888dad364b09a2dc06a1
* | | | Update file chooser to pass the accept type from WebCore to Java.Ben Murdoch2010-05-211-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requires a frameworks/base change to receive the accept type and a packages/apps/Browser change to override the new method signature. Change-Id: I3d0cfdc76151237a3167139c89f5e275b209ab37
* | | | Add a method to the PlatformBridge to resolve the filename of a fileBen Murdoch2010-05-2110-23/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | given its representation as a content:// URI, and the associated JNI plumbing. Requires a frameworks/base change. Change-Id: I9b8b8bb3fbfa31c86f4212f91c140fe62c6c6682
* | | | Fix incorrect position when using CSS shadows, and use left/top over ↵Nicolas Roard2010-05-203-56/+42
|/ / / | | | | | | | | | | | | | | | right/bottom if defined Change-Id: I38dbc87faffdb6806b356d89bfff1162023124e7
* | | Fix the infinite loop when flatten iframes.Patrick Scott2010-05-201-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | Somehow javascript can cause a layout of the parent renderer in the middle of the FrameView's layout. Bug: 2614175 Change-Id: I37ed3d2e88de1762715e0d0712549d8fab0f12d2
* | | Merge "Update Android to reflect upstreaming of PluginView JSC guards in ↵Steve Block2010-05-202-36/+12
|\ \ \ | | | | | | | | | | | | WebKit change 59826"
| * | | Update Android to reflect upstreaming of PluginView JSC guards in WebKit ↵Steve Block2010-05-202-36/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | change 59826 See http://trac.webkit.org/changeset/59826 Change-Id: Ia1e16f7fa71fe8b5740610e3caa4bfbf05391a0f
* | | Fix build.Leon Scroggins III2010-05-191-0/+1
| | | | | | | | | | | | Change-Id: Ic8251cd255785f7ad1081eba9a0eb8db84697b97
* | | Prohibit scrolling not initiated by the user.Leon Scroggins III2010-05-193-1/+17
| |/ |/| | | | | | | | | | | | | | | | | We used to have an ANDROID specific change that was removed when webkit changed. See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=57a47dd4f75b9c15804c3c61479540cfdc11bd6e Bug 1330729 Bug 2694223 Change-Id: Id51edbb4943eb0a1357477d4bcd31d838febb8fb
* | am 5a1f66aa: am ec92ec7c: merge from open-source masterThe Android Open Source Project2010-05-180-0/+0
|\ \ | |/ |/|
| * am ec92ec7c: merge from open-source masterThe Android Open Source Project2010-05-180-0/+0
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'ec92ec7cd8fe4ad6c8137865ec2d6b43c1a56ee5' into kraken * commit 'ec92ec7cd8fe4ad6c8137865ec2d6b43c1a56ee5': Check for the absence of a frame.
| | * merge from open-source masterThe Android Open Source Project2010-05-180-0/+0
| | |\ | | | | | | | | | | | | Change-Id: I906635459af677aceff46ff10de93d45670481cd
| | | * Merge "Check for the absence of a frame. This crashes in the situation where ↵Jean-Baptiste Queru2010-05-181-1/+2
| | | |\ | | | | | | | | | | | | | | | the XHR responseXML method is being called on a document with meta tags. http://b/issue?id=2346028"
| | | | * Check for the absence of a frame.Leon Clarke2010-05-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This crashes in the situation where the XHR responseXML method is being called on a document with meta tags. http://b/issue?id=2346028
* | | | | Merge "Make sure Geolocation is robust to location providers being absent on ↵Steve Block2010-05-183-6/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | the device."
| * | | | | Make sure Geolocation is robust to location providers being absent on the ↵Steve Block2010-05-183-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | device. Bug: 2692830 Change-Id: Ib6395a04ec916a04cdd3a09569c4ea373fb422e9
* | | | | | Merge "Adds missing ENABLE(TOUCH_EVENTS) guards to Android-specific code"Steve Block2010-05-182-0/+4
|\ \ \ \ \ \
| * | | | | | Adds missing ENABLE(TOUCH_EVENTS) guards to Android-specific codeSteve Block2010-05-182-0/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow us to build with touch events disabled once we've merged https://bugs.webkit.org/show_bug.cgi?id=39222 Change-Id: Ia665e5e6c3b4169b6c5576aa26721d95e72934e9
* | | | | | am b7c854ae: am 18e97e57: merge from open-source masterThe Android Open Source Project2010-05-171-1/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | am 18e97e57: merge from open-source masterThe Android Open Source Project2010-05-171-1/+1
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '18e97e57694ae8596ac316af30cb5512fe8ef1bf' into kraken * commit '18e97e57694ae8596ac316af30cb5512fe8ef1bf': Fix focus ring on links with non-latin text
| | * | | | merge from open-source masterThe Android Open Source Project2010-05-171-1/+1
| | |\ \ \ \ | | | | |/ / | | | |/| | | | | | | | Change-Id: I0b566897309348d094f93ed7ae5d9af7b0e8a377
| | | * | | Merge "Fix focus ring on links with non-latin text"Jean-Baptiste Queru2010-05-171-1/+1
| | | |\ \ \ | | | | |_|/ | | | |/| |
| | | | * | Fix focus ring on links with non-latin textAnders Edenbrandt2010-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a clickable link in a HTML document is focused, a rectangle with rounded corners is drawn around that link. If the link contains Arabic characters (or characters from other non-latin alphabets) the focus ring will be drawn too high up on the page. Change-Id: Ia589236c4e315af76c6e8f746cc99af63e7e53d7
* | | | | | ignore offscreen drawing in SVGCary Clark2010-05-171-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drawing outside of the visible window is recorded so that future scrolls have the correct picture data. When SVG triggers this code path on its way to drawing to an offscreen bitmap, it has not instantiated a WebViewCore object. Since in SVG's case, there's no reason to record drawing outside if the offscreen bitmap, it's correct to do nothing. Offscreen bitmaps do not work with SVG; but that problem is independent of this bug fix. Change-Id: I0b9c6d5506b6a35b2992abfa6bcb1db6cb872fd0 http://b/2682606
* | | | | | Remove a superfluous ANDROID-only include from Node.cpp that has not been ↵Ben Murdoch2010-05-171-4/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upstreamed. Diff -=4! :) Change-Id: Iafac0c2529bb66808e15efac63e75c63966d9673
* | | | | Adding a mechanism for injecting accessibility in WebViews with disabled ↵Svetoslav Ganov2010-05-152-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JavaScript. Change-Id: If0d8fc9cffcd00356dffe46af094b65488b3ff5a
* | | | | suppress partial screen updates if a canvas element is visibleCary Clark2010-05-143-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A PictureSet contains a list of pictures. Each picture draws part of the screen. If the picture contains a Canvas element, the corresponding bitmap is not shared. Small partial invalidates can create a dozen or so pictures, each of which may be quite small, a few hundred bytes. But the bitmap referenced by the picture may be large, several meg. The backing bitmap is unique to the Canvas element. Since a canvas rarely benefits from small updates, disable the partial invalidates if CacheBuilder detects a canvas. Change-Id: I5761667db3d037d7363dcb01f8a26f7f62e2eabc http://b/2678787
* | | | | Merge "clean up nav cache debugging"Cary Clark2010-05-144-11/+39
|\ \ \ \ \
| * | | | | clean up nav cache debuggingCary Clark2010-05-144-11/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds additional content to the nav cache dump, and cleans up a few formatting problems. This has no effect on code that does not have nav cache debugging enabled. Change-Id: Ice2c4bb33138a8ddc96739d95ead58fbe328bfa8
* | | | | | Merge Webkit at r58956: Update WebKit revision number.Ben Murdoch2010-05-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic2e7908a14f735ac9b0b995f032015e8eb216edf
* | | | | | Merge Webkit at r58956: Cherry pick of ↵Ben Murdoch2010-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=38990 landed as r59459. Fixes touch event support with V8. Change-Id: I5fb7da6570ce7ba5ed14f54e78ecb9a24664613a
* | | | | | Merge Webkit at r58956: SVGPaintServer has been deleted upstream and ↵Ben Murdoch2010-05-142-279/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replaced with SVGResourceSolidColor.cpp. We had local modifications in the deleted file to correctly guard some Chromium/Skia includes we don't have on Android, so move the guards into the new file. See http://trac.webkit.org/changeset/58212 See http://trac.webkit.org/changeset/588212 Change-Id: I8e7e9ea39009019f7caefd68d99942be77ea602d
* | | | | | Merge Webkit at r58956: Update plugin code to use C99 types. See ↵Ben Murdoch2010-05-1410-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/58590 Change-Id: I73f3f008a88e69962de831a98d40e8d23c3cce30
* | | | | | Merge Webkit at r58956: Add bool parameter to Widget::setFocus. See ↵Ben Murdoch2010-05-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/58821 Change-Id: I3ab2eb4fdb14e32106c4b2ef51b889f2ffcd3661
* | | | | | Merge Webkit at r58956: Remove GlyphMetrics from Font code. See ↵Ben Murdoch2010-05-141-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/58192 Change-Id: I2b3876f4027d2d3afbf0cfaa76061c53d0bf018f