summaryrefslogtreecommitdiffstats
path: root/WebKit
Commit message (Collapse)AuthorAgeFilesLines
* refine empty picture test to look for color rectsCary Clark2011-01-051-0/+2
| | | | | bug:3296986 Change-Id: I171435f6285f671abc9f2e38ad00ebcabb783cb3
* start select all without tappingCary Clark2011-01-053-0/+41
| | | | | | | | | | | | For the keyboard interface to 'Select All', establish the select text context by finding some text on the page and returning its coordinates. This allows tapping and keyboard interfaces to share most of the select all implementation. bug:3270434 Change-Id: Ic080a8002115af9086a669dd366d0399b1082f3c
* Add full-screen support for OpenGL based plugins.Derek Sollenberger2011-01-043-4/+42
| | | | | bug: 3321891 Change-Id: Ife1bbeed91b3285277bfe47c71f523d477891b98
* join rects without gapsCary Clark2010-12-281-1/+19
| | | | | | | | | | | | | | | | | | | While analyzing cursor rings, regions are built from text, rects, and bitmaps to determine the areas inside and outside the rings. These areas determine if the rings are fully visible, and if they can be expanded into a larger bounds. Empty input areas are defined only by rects drawn as their background. In general, rects may be drawn as pieces that need to be stitched together. Unlike glyphs, the stitching should not allow gaps between rects. By detecting gaps, and treating each unjoined rect as its own area, a page with multiple successive input fields correctly computes cursor rect bounds. bug:3116242 Change-Id: If702b692c99c96c0188b42a638f750da12af6df4
* Merge "use text slop for ring test"Cary Clark2010-12-231-2/+2
|\
| * use text slop for ring testCary Clark2010-12-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The mTextSlop contains the cursor ring test area. The mTestBounds contains the total test area. Use the former when checking to see if text is drawn outside of the cursor rings, but inside the bounds. bug:3307120 Change-Id: Ice69ce3d70aabb435890a0fd8848ef3fe2de9796
* | 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
* | Merge Webkit at r73109: getGuessForWord method signature changeShimeng (Simon) Wang2010-12-222-2/+2
| | | | | | | | | | | | | | This is because: http://trac.webkit.org/changeset/73088 Change-Id: I4051bc71c638e74ede803b216d9035311cbaf198
* | Merge WebKit at r73109: use parentNode method.Shimeng (Simon) Wang2010-12-222-2/+2
| | | | | | | | | | | | | | | | This is because of: http://trac.webkit.org/changeset/72825/trunk/WebCore/dom/Node.h which makes the parent method private. Change-Id: I706c4cbc4e69bee990f9e138aeb7ad2ed2a3d42f
* | Merge WebKit at r73109: Initial merge by git.Shimeng (Simon) Wang2010-12-22198-6251/+18545
| | | | | | | | Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8
* | am 1e5798a4: am d436a8e4: Allow HTML5 video to seek.Ben Murdoch2010-12-221-0/+4
|\ \ | |/ |/| | | | | * commit '1e5798a41696c2d04b2a28eabf9e5914fb6856e2': Allow HTML5 video to seek.
| * am d436a8e4: Allow HTML5 video to seek.Ben Murdoch2010-12-221-0/+4
| |\ | | | | | | | | | | | | * commit 'd436a8e4bf9a2c6eab6a09513ce13340c84ef10c': Allow HTML5 video to seek.
| | * Allow HTML5 video to seek.Ben Murdoch2010-12-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Need to return the duration of the currently playing video to WebCore to allow the video to seek correctly. Bug: 3303699 Change-Id: I79f6a7e7217cf987d35b5b1a9313a918630be7a0
| * | Merge from open-source masterJean-Baptiste Queru2010-12-021-1/+1
| |\ \ | | | | | | | | | | | | Change-Id: I22fd2b911ff05cd0d01fe151b18d64b4ac98e547
| | * | Fix compilation error:Rene Bolldorf2010-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | FindCanvas.cpp: GlyphSet::GlyphSet&, names the constructor, not the type. Change-Id: I7ff0829b6484df589aab1a724488c0796f41a28d
* | | | use copies of matrix, paint instead of referencesCary Clark2010-12-223-62/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The matrix and paint may be gone when later referenced to determine the width of spaces. Replace the references with copies. When widening the initial selection to a word, the first or last glyph could be skipped if the tap was one glyph away. Detect this include the final glyph. The bitmap used to detect a space between glyphs could be too small for the test; make it as large as possible. The test for finding the closest glyph when the test point is inside the glyph's bounds should be triggered only if the best glyph found so far is also a match. If the initial hit point doesn't touch a word, abort. Only measure the distance for test points if the test text and best text have the same column state or if the test point is outside of the current column. The initial word selection needs to work differently from extending the selection. Make the clip small for the initial detect and widen it for the word expansion. Build the selection region before expanding the word since the column selection uses that data. There is a companion bug fix in frameworks/base triggered by this code, but neither is dependent on the other. bug:3293330 Change-Id: If9d1a3bd7ec5d1642b63dbab1845d2f3735ddc81
* | | | Removing the host resolver leakKristian Monsen2010-12-222-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crash was fixed when some unsafe local changes were removed recently. I think this was what removed the crash: https://android-git.corp.google.com/g/#change,84795 Fix for bug 3243797 Change-Id: If23e55270f035831ef7781681b012dfdca0ac74d
* | | | Adding a method to delete a WebCacheKristian Monsen2010-12-223-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed so the cache doesn't survive when closing all private tabs. Change-Id: I52ffaf89f8794466f98370c289b9a646de0fdb59
* | | | Merge "Set 660 permissions on Appcache database"Steve Block2010-12-211-6/+16
|\ \ \ \
| * | | | Set 660 permissions on Appcache databaseSteve Block2010-12-211-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3244281 Change-Id: I5c90f44c4e8c3cd7d1ae2652e5d9f864a69b5dfe
* | | | | Merge "Revert "Revert "Merge "Add a method java can send proxy changes to""""Kristian Monsen2010-12-211-1/+14
|\ \ \ \ \
| * | | | | Revert "Revert "Merge "Add a method java can send proxy changes to"""Kristian Monsen2010-12-211-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9c4386e62deef6236674a2b2073a1efd514d75ac.
* | | | | | Merge "Set 660 permissions on HTML5 Database API meta database"Steve Block2010-12-211-2/+12
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /
| * | | | Set 660 permissions on HTML5 Database API meta databaseSteve Block2010-12-211-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3244281 Change-Id: I7af7c47c92fc180435cff2416922916a1114c88f
* | | | | Merge "Only download the same poster URL once."Ben Murdoch2010-12-211-0/+3
|\ \ \ \ \
| * | | | | Only download the same poster URL once.Ben Murdoch2010-12-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebKit r64884 introduced code that calls setPoster multiple times. On Android this causes the Java side to attempt to download the poster many times which for a long video results in OOM. So if the poster hasn't changed, don't try to download it again. Bug:3277303 Change-Id: Ia401b78cf250af2c1fe0e600dea6d1da0971912a
* | | | | | Revert "Merge "Add a method java can send proxy changes to""Huahui Wu2010-12-201-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c3a805c84165787f1693b3502ce139d6ea405307, reversing changes made to 062390c915ca7282c88b435ad4fa7b6f157fb5ef.
* | | | | | Merge "Add a method java can send proxy changes to"Kristian Monsen2010-12-201-1/+14
|\ \ \ \ \ \
| * | | | | | Add a method java can send proxy changes toKristian Monsen2010-12-201-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by, and uses, this in frameworks/base: https://android-git.corp.google.com/g/#change,85836 Change-Id: I618f0f0cbeefc660152e60cced3940772f764e1c
* | | | | | | Merge "Set 660 permissions on Geolocation cache DB"Steve Block2010-12-201-2/+13
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Set 660 permissions on Geolocation cache DBSteve Block2010-12-201-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3256540 Change-Id: I2774f100c9e9c458ebdaf9b6d188c52e79fd2568
* | | | | | | Merge "Add initial support for OpenGL plugins."Derek Sollenberger2010-12-206-0/+194
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Add initial support for OpenGL plugins.Derek Sollenberger2010-12-206-0/+194
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | bug: 2907737 Change-Id: I6f4f21146c834554db5ecb67fed8994f1cdc2cfe
* | | | | | Merge "Fix crash in AutoFill"Ben Murdoch2010-12-201-2/+1
|\ \ \ \ \ \
| * | | | | | Fix crash in AutoFillBen Murdoch2010-12-171-2/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We recently changed WebKit to use one URLRequestContext per WebView. However AutoFill did not get migrated to the new system and so we have observed crashes due to a dangling pointer. We have one AutoFill object per WebView and hence one Profile object per webview. we access the URLRequestContext through the Profile so inject the correct context in when the AutoFill object is created. Needs a change in external/chromium, see I004ab7ac9c6a72be1b62aa8e44322b97a371c136 Bug: 3291654 Change-Id: Iace23ae8c0240f0134894c12d2f7281161aa6150
* | | | | | Merge "Fix two SIGSEGV bugs in request interception."Jeff Sharkey2010-12-172-9/+16
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix two SIGSEGV bugs in request interception.Jeff Sharkey2010-12-162-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When intercepting requests, properly ReleaseStringUTFChars for mimeType and encoding after bringing over from Java. Also, when finishing an intercepted request that failed, construct a valid WebResponse. Change-Id: I2990df2108a8fdf45c103512a8b9a30f4d6992ce
* | | | | | Merge "Use a lock around ioThread creation."Patrick Scott2010-12-171-0/+6
|\ \ \ \ \ \
| * | | | | | Use a lock around ioThread creation.Patrick Scott2010-12-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents use of the new thread before it actually starts running. Change-Id: Idabb9cf81c62296534b696b82a08d3801aa16af8
* | | | | | | Merge "Don't strip HTTP response headers with empty values"Steve Block2010-12-171-5/+2
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Don't strip HTTP response headers with empty valuesSteve Block2010-12-171-5/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change affects the Android HTTP stack only. We now match the XHR spec - http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader-method - and provide header strings even if they are empty. Bug: 3294032 Change-Id: Ic42e5e97e0a86ae2d08680ad689a2ab249d6ecc7
* | | | | | Layers implementation in GL.Nicolas Roard2010-12-161-0/+1
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add textures management code for layers in TilesManager - add the layers drawing GL code - modify BaseLayerAndroid::drawGL() to paint the layers - modify TexturesGenerator to process layers painting requests Note: some further refactoring (when getting rid of SkLayer as a base class) will let us remove some redudant function, e.g. setAnchorPoint/setAnchorPointZ (bug:3292285) Change-Id: I3cc88575f331104d45c89e84ba27f3af755aa845
* | | | | Merge "Pass redirects through canHandleRequest."Patrick Scott2010-12-162-2/+7
|\ \ \ \ \
| * | | | | Pass redirects through canHandleRequest.Patrick Scott2010-12-162-2/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Force the user gesture global to true in order for canHandleRequest to ask the application. Bug: 3278072 Change-Id: I1f821ba42c6c630465658b7044ee89c7255eb9a1
* | | | | improve text selection in scrollable divsCary Clark2010-12-162-15/+59
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detect which layer is hit by looking for scrollable layers. In this case it isn't necessary to see what is drawn or where, because the layer has already been prescreened by the parent clip. Adjust the x/y hit by the layer's position. This corrects the position when the layer scrolls. Fix CachedLayer's debug output to be in sync with LayerAndroid.h SelectText edge cases are corrected when there is not text to hit. To find the closest character, first look at the edge of the text line. If the hit is inside the line of text, measure from the center of the character. This helps when textlines overlap. bug:3275625 bug:3191699 Change-Id: I924cc0432f6dace32e0a7444fe69ef15dca2e77f
* | | | extract anchor href and image src separatelyCary Clark2010-12-152-7/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Long pressing a link may return an anchor, an image, or an image in an anchor. Sometimes we want one, sometimes the other. Make both available so the context menu can choose. Companion changes are in packages/apps/Browser, frameworks/base bug:3282745 bug:3263340 Change-Id: I422db224ad67147f0cbacc4078df305b1cf8564d
* | | | Merge "b/2864818 Prompt SSL cert error dialog to user and proceed or cancel ↵Huahui Wu2010-12-159-11/+112
|\ \ \ \ | | | | | | | | | | | | | | | the request. Java side CL: https://android-git.corp.google.com/g/#change,84530"
| * | | | b/2864818 Prompt SSL cert error dialog to user and proceed or cancel the ↵Huahui Wu2010-12-159-11/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request. Java side CL: https://android-git.corp.google.com/g/#change,84530 Change-Id: I2a16be691ba3846f3ecb1fd533905d7b6ac374fc
* | | | | Adding proxy support to the Webkit layerKristian Monsen2010-12-153-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now it is only used as a direct proxy so no functional change. Change-Id: I69be139f6567ca0b34f051a1429b78395fe1a3fe
* | | | | Merge "Fix WebView form submission CTS failure."Ben Murdoch2010-12-152-14/+17
|\ \ \ \ \