summaryrefslogtreecommitdiffstats
path: root/WebKit
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fixes the handling of unspecified mime-typeJohn Reck2010-11-222-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3211038 and 3211569 If the server doesn't specify a Content-Type header in the response, there was no mime-type set when using the Chrome HTTP stack. This change fixes it so that it makes a guess based off of the URL extension. Change-Id: I33ef90c1db54bdccb4e143795656f4f9b56572ca
* | | Provide the line spacing attribute for textareas.Leon Scroggins2010-11-224-2/+21
| |/ |/| | | | | | | | | | | | | | | | | | | | | Bug:3085564 In order to line up the WebTextView text with the page's text, we need to know the line spacing attribute stored in the DOM. Requires a change in frameworks/base: https://android-git.corp.google.com/g/#change,80646 Change-Id: I539454df318826233496ffcd140ba1d6e396a4a0
* | Merge Chromium at r65505: Work around regression introduced by 64761Ben Murdoch2010-11-221-1/+7
| | | | | | | | | | | | | | | | | | | | This is a temporary workaround to fix the regression introduced on Android by http://src.chromium.org/viewvc/chrome?view=rev&revision=64761 It should be reverted when we understand better the root cause of the regression. Change-Id: I6652d817254f1b8c3857e2f14b53d5d034d2f12f
* | Merge Chromium at r65505: Merge AutoFill change 64761Ben Murdoch2010-11-221-13/+11
| | | | | | | | | | | | | | | | | | Merge in http://src.chromium.org/viewvc/chrome?view=rev&revision=64761 This is not part of the bigger autofill merge as this introdcues a regression that we need to understand. Change-Id: I08cfcefb93181e70a8a48d0c6da2217d3a5bbcf9
* | Merge Chromium at r65505: Update AutoFill files.Ben Murdoch2010-11-223-83/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring our forked AutoFill files in line with r65505. http://src.chromium.org/viewvc/chrome?view=rev&revision=63527 http://src.chromium.org/viewvc/chrome?view=rev&revision=63797 http://src.chromium.org/viewvc/chrome?view=rev&revision=64470 http://src.chromium.org/viewvc/chrome?view=rev&revision=64572 http://src.chromium.org/viewvc/chrome?view=rev&revision=64612 http://src.chromium.org/viewvc/chrome?view=rev&revision=64691 http://src.chromium.org/viewvc/chrome?view=rev&revision=64696 Change-Id: I34755e649d1093a79ad50de53dfd1d1f9e92a584
* | Merge Chromium at r65505: Initiliase the OpenSSL library.Ben Murdoch2010-11-222-0/+6
| | | | | | | | | | | | See https://chromereview.prom.corp.google.com/2010002/ Change-Id: I16754f6f18a54350671a2226d4c8c69615c63812
* | Merge Chromium at r65505: Update use of AutoFillProfile.Ben Murdoch2010-11-223-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With this new Chromium merge, unique profile ids have been deprecated and profile previews are obtained through the Label function rather that PreviewSummary. WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp: WebKit/android/jni/WebSettings.cpp: WebKit/android/WebCoreSupport/autofill/WebAutoFill.h: http://src.chromium.org/viewvc/chrome?view=rev&revision=63806 http://src.chromium.org/viewvc/chrome?view=rev&revision=65100 Change-Id: I8af86c8be8627e17b13edf66349d9df8f85638a1
* | Merge Chromium at r65505: Update log message handlerBen Murdoch2010-11-221-2/+2
| | | | | | | | | | | | | | | | | | Add new parameters to our error logging handler. WebKit/android/WebCoreSupport/ChromiumLogging.cpp http://src.chromium.org/viewvc/chrome?view=rev&revision=65062 Change-Id: I6f34f2c5170b218c81894da541c923782e150e2e
* | Merge Chromium at r65505: Update call to CreateSystemHostResolver.Ben Murdoch2010-11-221-1/+1
| | | | | | | | | | | | | | | | | | Pass NULL, which uses getaddrinfo() as the host resolver. WebKit/android/WebCoreSupport/WebRequestContext.cpp: http://src.chromium.org/viewvc/chrome?view=rev&revision=64271 Change-Id: I85d9371d568911ab925307bfbeb2e984bd947e2b
* | Merge "do a better job of finding closest selectable text"Cary Clark2010-11-191-11/+24
|\ \ | |/ |/|
| * do a better job of finding closest selectable textCary Clark2010-11-191-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | Measure the closest to the edge, instead of closest to the center. Identify vertical overlaps, and use them to discount characters which are vertically closer. Add more debugging. bug:3183434 Change-Id: I80a14be25260113220e446b876868566440be252
* | Merge "fix indices in cached frame"Cary Clark2010-11-183-3/+13
|\ \
| * | fix indices in cached frameCary Clark2010-11-183-3/+13
| |/ | | | | | | | | | | | | | | | | After the CachedFrame is built, it may replace the previous node. Replace the indices stored in the CachedFrame and in the CachedNode with the index from the overwritten node. bug:3201246 Change-Id: Ia70f4f2c1f8009db2370e723bc8631e4a3873e75
* | call ReverseBidi as needed in FindCanvasCary Clark2010-11-182-0/+25
|/ | | | | bug:3184921 Change-Id: I2f05db656ab467a361fd395d264be3281f69b78c
* Merge Webkit at r71558: Add computeDefaultLanguageTeng-Hui Zhu2010-11-171-0/+13
| | | | | | | | | | | | Because navigotor.language no longer hardcoded. Note that on android HTTP stack, this function will naivelly return English in order to avoid code dependency on chrome stack specific code. http://trac.webkit.org/changeset/71484 Change-Id: I151105bb1478fa2da12ecf50c45102c3afceeb82
* Merge Webkit at r71558: resolve BackForwardList refactor conflictTeng-Hui Zhu2010-11-171-2/+3
| | | | | | http://trac.webkit.org/changeset/70960 Change-Id: I9a423e7069bd90a37edfdfcc4bd66fdc55600bcb
* Merge Webkit at r71558: Add function focusedFrameChangedTeng-Hui Zhu2010-11-172-0/+2
| | | | | | http://trac.webkit.org/changeset/71541 Change-Id: Ic068c75dec986e8761c6d57030ce7cfba2e8eb01
* Merge Webkit at r71558: Vitual function implementation in ChromeClientAndroid.*Teng-Hui Zhu2010-11-172-0/+8
| | | | | | http://trac.webkit.org/changeset/71041 Change-Id: Ifc88920a1cce9bf483d06a68a5ab4d23b63228d0
* Merge Webkit at r71558: Cache.h relocated as MemoryCache.hTeng-Hui Zhu2010-11-173-3/+3
| | | | | | | http://trac.webkit.org/changeset/71492 http://trac.webkit.org/changeset/71499 Change-Id: Iacd8a22d0c1caece7bec2273f1d4e69dd3e4eb2c
* Merge WebKit at r71558: Initial merge by git.Teng-Hui Zhu2010-11-17135-979/+3455
| | | | Change-Id: Ib345578fa29df7e4bc72b4f00e4a6fddcb754c4c
* Merge "improve select text anchor tracking"Cary Clark2010-11-171-2/+6
|\
| * improve select text anchor trackingCary Clark2010-11-171-2/+6
| | | | | | | | | | | | | | | | | | | | The initial point for the touch relative to the anchor was erroneously calculated, causing the select anchor to jump to the left or right each time a drag was initiated. With this fix, the anchor no longer jumps. bug:3089212 Change-Id: I995afa97ef9851fc5f15d642d7975797d8eb2022
* | Merge "Updating class used for getDatabaseDirectory and getCacheDirectory"Kristian Monsen2010-11-171-2/+2
|\ \
| * | Updating class used for getDatabaseDirectory and getCacheDirectoryKristian Monsen2010-11-161-2/+2
| | | | | | | | | | | | | | | | | | | | | Required by this CL in frameworks/base: https://android-git.corp.google.com/g/#change,80051 Change-Id: I673e8a5a112d96721fe2e06d84653d1c75fd667a
* | | Merge "Merge autofill files after last Chromium merge"Ben Murdoch2010-11-1710-507/+789
|\ \ \ | |_|/ |/| |
| * | Merge autofill files after last Chromium mergeBen Murdoch2010-11-1610-507/+789
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge by hand the files that have been gotked implementing AutoFill on Android. This classes use WebCore types rather than the Chrome WebKit API types that the code would normally use. This brings the files up to date with the last external/chromium merge to r63472 and updates their usages in line with that so that the feature continues to work as intended. Change-Id: Ic110873dc48c59555f0db76e7ad0c138c2fe96f2
* | | improve left edge tap detectionCary Clark2010-11-161-6/+9
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sites like Gizmodo.com layout paragraphs with extra space between lines. Increase the slop allowed when looking for the left edge of a paragraph to accommodate this. Add #define to disable sideways scrolling if the line is already entirely visible. Make various slop consts more clearly named and commented. A companion fix in frameworks/base is not required, but makes scrolling as a result of taps more reliable. bug:1331125 bug:3099569 Change-Id: I0ed89c1f53de99831e835e417b5409c1176fc841
* | Fix a crash due to null java strings.Patrick Scott2010-11-151-4/+10
| | | | | | | | Change-Id: I29a229da168181ba3d5bc5fb84365f275eb42869
* | increase the select text anchor hit slopCary Clark2010-11-151-1/+1
| | | | | | | | | | bug:3195900 Change-Id: I55317b6c2d1f2dd48e2522df9ba45653a479793a
* | make the button state revert to normalCary Clark2010-11-151-9/+8
| | | | | | | | | | | | | | | | | | | | This moves the logic used to ensure that cursor rings eventually go away after being tapped to buttons, so that they too go back to their normal state after a short period. bug:2127333 Change-Id: Ia2e1d4b7f735581dbd88bf32b35fe5b24922ea11
* | Allow applications to intercept requests.Patrick Scott2010-11-158-91/+261
|/ | | | | | | | | | | The api returns a response containing the mime type, encoding, and an optional InputStream for reading data. Move the asset and content url logic into the new api to consolidate some code. Requires a change in frameworks/base. Bug: 2905943 Change-Id: Ic7af410308872042c412aedf62e589f6d2095782
* Don't set error description strings in ResourceError.Iain Merrick2010-11-151-1/+1
| | | | | | | | | | | | | These strings may be displayed to the user, so they need to be localized. In a separate change (I7dec8dff) I updated the Java framework to use a standard localized message if the description is empty, so here we just use the empty string (same as Chrome). Bug: 3172265 Test: Load http://google.com:81 to force a timeout error, check that the correct message is displayed. Change-Id: I9042a2ee99cd78619cc0392cdc2cbb82ebd51743
* Use LayerAndroid::find with the original x and y.Patrick Scott2010-11-121-5/+1
| | | | | | | If the picture is not provided, use the findInner case to find the layer at the given position. Change-Id: I811c1c4d631086832a3a32038834117a1c4e9601
* Return a float for text size.Leon Scroggins2010-11-124-8/+8
| | | | | | | | Bug:3085564 Requires a change in frameworks/base: https://android-git.corp.google.com/g/#change,79591 Change-Id: Iaf3ebc405fca349e23bebb113228c4b550e6b88e
* Merge "Fix mobile google.com flickering issue."Shimeng (Simon) Wang2010-11-124-2/+27
|\
| * Fix mobile google.com flickering issue.Shimeng (Simon) Wang2010-11-124-2/+27
| | | | | | | | | | | | | | Implementing request cache policy in chrome http integration. issue:3008478 Change-Id: I3d7c32912e72e7639885056fb70f9f627d075c4e
* | Merge "Add new keycodes initially used for GoogleTV devices."Jeff Brown2010-11-111-0/+22
|\ \ | |/ |/|
| * Add new keycodes initially used for GoogleTV devices.Jason Bayer2010-11-091-0/+22
| | | | | | | | Change-Id: I8fab33352f894f3bfe07f9ffbdddd76d3aa2df8f
* | compute select text distance biasing x over yCary Clark2010-11-111-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | Rather than using a regular distance function, first find the closest match in Y then look for the closest match in X. This allows the touch point to be well to the right or left of the paragraph and still move the selection to the next or preceeding line while the selection is extended. bug:3183434 Change-Id: I6abf14b9dbca4b7bafe2cb9a96a2915732038ce1
* | use layer id to maintain selectionCary Clark2010-11-114-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pictures used to draw the page content can change in response to refreshes, as the selection is moved or as the screen is scrolled or zoomed. Track the layer id, instead of the picture pointer, to find the picture that contains the current selection. Before, the selection would disappear as the screen was pinched, or the highlight might disappear even though the anchors draw, or the highlight and anchors might be drawn offset from the screen data. This change eliminates this class of bugs. Change-Id: Ifc440b8aa0c9d6d232e298e42c4c544a41629442 http://b/3183492
* | build select region for one characterCary Clark2010-11-101-0/+2
|/ | | | | bug:3183119 Change-Id: Iebd070feeb9c9a52e0d6214563c378647d97b977
* Merge Webkit at r70949: setSelectionRange changedJohn Reck2010-11-091-2/+1
| | | | | | | | | Updated WebViewCore to use setSelectionRange instead of RenderTextControl:setSelectionRange. Now takes the Node* to set the selection on. http://trac.webkit.org/changeset/70945 Change-Id: I862c986e11d54c6f05f62a14196b4478a70fc549
* Merge Webkit at r70949: Added new FrameLoaderClient stubsJohn Reck2010-11-094-4/+16
| | | | | | | | http://trac.webkit.org/changeset/70333 http://trac.webkit.org/changeset/70574 http://trac.webkit.org/changeset/70894 Change-Id: I9a212f4ab07c0599ebb8dbd10201f5ca0fa71f69
* Merge Webkit at r70949: Initial merge by git.John Reck2010-11-09163-715/+3916
| | | | Change-Id: I77b8645c083b5d0da8dba73ed01d4014aab9848e
* Merge "update dom version on style change"Cary Clark2010-11-093-12/+18
|\
| * update dom version on style changeCary Clark2010-11-083-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DOM version number is used to know when the nav cache is out of date. Webkit changes the version when DOM attributes change, but not when the CSS style property changes. Tracking the style version fixes Google properties like the 'Options' menu that is available on mobile devices after a search. Additionally, fix a crash if the root layer doesn't exist. And, rebuild the nav cache always on touch. bug:2628448 Change-Id: I50aa258c1b057ac7deed00f6eca37c0ee323efcf
* | Merge "Encode email addresses that are not mailto: links."Patrick Scott2010-11-082-9/+15
|\ \
| * | Encode email addresses that are not mailto: links.Patrick Scott2010-11-082-9/+15
| |/ | | | | | | | | | | | | | | Fix a few extra copies of KURL and String. Added more characters to the list of allowable mailbox characters. Bug: 3038103 Change-Id: I49bd3ba9c628a70e7e1633d16fc329d64613dbf1
* | Fix some compiler warningsSteve Block2010-11-082-4/+4
|/ | | | | | | | | | | | | | | Noe that in FindCanvas.h we include external/icu4c/common/unicode/umachine.h, rather than external/webkit/WebCore/icu/unicode/umachine.h to avoid warnings about redefining U_NAMESPACE_BEGIN We should be using the header from external/icu4c because we don't include any ICU headers from WebCore. The fix works becuase external/icu4c/common is on the include path, but WebCore/icu is not. Change-Id: I5c0ff1c5815018ba97962595debca12a17bdd0cd
* Merge "Fix compilation error when ANDROID_LAYOUT is not defined."Shimeng (Simon) Wang2010-11-051-0/+4
|\