summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Use field identifier for content-editable fields.George Mount2012-02-012-43/+14
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5946645 Framework change: I0b1c52a6c78f2a2bc16a69fa97f21655af3209d3 Change-Id: I915b49c6161fc0604e584699ec96cc86ba96ac79
* | | | | Fix text selection with one handle off screenJohn Reck2012-02-021-1/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I95ed7c1f33628a1b2f707e458be6fca57b57a3b0
* | | | | Snap selection handles to end of textJohn Reck2012-02-021-20/+24
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using WebKit's cursor location use the start and end of the text highlight region since we only highlight text and not other content like images Change-Id: I1b84b8a0be34c56e87169d215c581fdada745362
* | | | Make sure no text selection change occurs during key press.George Mount2012-02-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Bug 5947031 Change-Id: I9eb52ffa745b010d5ba0bff94704d1579a5257f2
* | | | Fix input cursorJohn Reck2012-02-011-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 5947031 Change-Id: I2bad8ffc9bd53aa3a2405a9b5e21c05486489dd4
* | | | Fix text selection on iframesJohn Reck2012-02-012-42/+64
|/ / / | | | | | | | | | Change-Id: Ie1943ef0ba2d353fac20ff67f78a1647921daec4
* | | Merge "Minor draw extras cleanup and refactor"John Reck2012-01-311-12/+2
|\ \ \
| * | | Minor draw extras cleanup and refactorJohn Reck2012-01-311-12/+2
| | | | | | | | | | | | | | | | Change-Id: Iba601e384549c11cf659a47e06c586048f624148
* | | | Support select allJohn Reck2012-01-311-0/+8
|/ / / | | | | | | | | | | | | | | | Framework CL: 161649 Change-Id: I16e889da0199c16270ed0576511eb21d63434ff0
* | | Webkit text selectionJohn Reck2012-01-305-68/+307
| | | | | | | | | | | | Change-Id: I8e2e400940c7c84055aeb2624958aaf47804900b
* | | Do not share SkPicture* between WebViewCore and CachedRoot.Victoria Lease2012-01-272-20/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5879729 WebViewCore was in the rather naughty habit of forcefully deleting an SkPicture pointer that was currently in use by CachedRoot on the UI thread. It isn't even necessary for WebViewCore to hold this pointer once it has been fed to the CachedRoot, so I have transferred ownership to the CachedRoot itself, who instead of forcefully deleting the SkPicture simply unref()s it when it is finished. This addresses the nasty crashes we've been seeing when the UI thread attempts to do something with the SkPicture that has been deleted behind its back by the WebKit thread. Change-Id: Ifb364f822fc03d2c3813b2edb2b038124c65fc1f
* | | Enable hyperlink auditing (html5 ping attribute)Russell Brenner2012-01-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Activate ping functionality when JavaScript is enabled. Since users might choose to turn off JavaScript out of concern for privacy, this was deemed an appropriate extension of an existing user preference. Bug: 5581321 Change-Id: Ic2358ba1c4dac9ff99479b2e9103330bd04d530c
* | | Merge "Fix auto-complete for content-editable fields."George Mount2012-01-252-102/+160
|\ \ \
| * | | Fix auto-complete for content-editable fields.George Mount2012-01-242-102/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5608192 Made text edit code also work with content editable fields. Added content-editable-specific text field initialization callback into java. Framework change: I5f1fcc13a0abe204db301e027954dc47c3a48db0 Change-Id: Idcf8d99d9e844669ea68122a7509990f5ce8dcca
* | | | Merge changes Ie4655349,I8696c362,Ie18ec51fRussell Brenner2012-01-241-15/+33
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | * changes: Fix uninitialized return value for decoding Refine WebHistory log output Revert "Enable verbose debugging for WebHistory"
| * | | Fix uninitialized return value for decodingRussell Brenner2012-01-241-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebCore::TextEncoding::decode() has a return flag, passed by reference, which is set only upon failure, remaining uninitialized upon success. The flag is now initted to false by the caller. If it then changes to true, it indicates an actual failure, so we exit early. Change-Id: Ie4655349b8e44d92e8d7cc7531a6bcc077efbb34
| * | | Refine WebHistory log outputRussell Brenner2012-01-241-10/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Log output is more explicit upon failure, but otherwise quiet. Bug: 5143832 Change-Id: I8696c36277b0fac12698b4ace9cf4131344f6a0c
| * | | Revert "Enable verbose debugging for WebHistory"Russell Brenner2012-01-231-1/+0
| | | | | | | | | | | | | | | | This reverts commit 5c18ff59df2320908e33f4b17675650073b5d22b.
* | | | Add cut and paste to ContentEditable.George Mount2012-01-182-0/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5806267 Use visual selection to determine the webkit selection. The webkit selection can be used to cut text from an editable area. It can also be used to do better complex character text copy. Framework Change: I56543d17670a8c98484314c89c7fa6a94cb809e4 Change-Id: I194c6d9e2add67151b97092a1a54f5c081296000
* | | | Add tapHighlightColor supportJohn Reck2012-01-181-2/+13
| | | | | | | | | | | | | | | | Change-Id: Ic49abd60a206e97c9a397e3f89c4acbdc3b982ff
* | | | Merge "Support javascript to exit full screen video"Teng-Hui Zhu2012-01-172-0/+19
|\ \ \ \ | |/ / / |/| | |
| * | | Support javascript to exit full screen videoTeng-Hui Zhu2012-01-162-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When webkit side receive the webkitExitFullscreen, just send it over to the java side. framework change: https://android-git.corp.google.com/g/#/c/158653/ Change-Id: Ice2a5ea33458a8bf3e6990e288d94d5f032b0921
* | | | Merge changes Id68b9b29,I2f1a6b3d,I8cde579dRussell Brenner2012-01-171-150/+207
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Enable verbose debugging for WebHistory Refactor WebHistory Update unitTest to match current WebHistory
| * | | | Enable verbose debugging for WebHistoryRussell Brenner2012-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn on logging of WebHistory read/write and activate ALOG_ASSERT. Change-Id: Id68b9b294f826f77bbfbc6f19d1e09d23cce98a1
| * | | | Refactor WebHistoryRussell Brenner2012-01-171-148/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code for reading strings and other data types has been refactored into support routines. Modified comparisons and pointer-based math to remove potential overflow errors when handling corrupted data. Remove unnecessary call to RefPtr::clear(). Bug: 5143832 Change-Id: I2f1a6b3d12cfeb2e8226e190dcd9e391609760a1
| * | | | Update unitTest to match current WebHistoryRussell Brenner2012-01-171-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New elements have been added to WebHistory over time without making corresponding changes to the unitTest code. This brings the test code in sync with the current WebHistory class. Change-Id: I8cde579d2820e8f5c72cf34b264ee2e57a4acbd9
* | | | | Merge "Basic code cleanup"Russell Brenner2012-01-171-114/+114
|\ \ \ \ \ | |/ / / /
| * | | | Basic code cleanupRussell Brenner2012-01-171-114/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change function names for WebKit style, from this_style() to thisStyle(). Replace terse variable names with ones that are more expressive: l => fieldLength v => vector e => encoding Move from WebKit logging (LOG_VERBOSE) to platform logging (ALOGV). Change-Id: I303bb03cb29031ae39e79c2f722c2247dbf9f888
* | | | | Merge "Honor 50 millisecond cap for WebKit JavaScript execution."George Mount2012-01-171-23/+24
|\ \ \ \ \
| * | | | | Honor 50 millisecond cap for WebKit JavaScript execution.George Mount2012-01-131-23/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5843118 WebKit provides a 50 millisecond cap for executing JavaScript to ensure that UI remains responsive by allowing recordContent in the WebViewCore thread to run. JavaSharedClient::ServiceFunctionPtr processes functions until they are all complete, circumventing the timeout. This CL processes only a single function and then schedules additional calls if any remaining calls exist. Change-Id: I3e013ceeb02da475e0b1e37e715598a2fe048b12
* | | | | | Merge "Refactor hit test object"John Reck2012-01-174-203/+360
|\ \ \ \ \ \
| * | | | | | Refactor hit test objectJohn Reck2012-01-134-203/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9729ca695fda4eefd3aa57d96a872010a3cfba9a
* | | | | | | Merge "Fix use of DBG_SET_LOG in WebViewCore."Mangesh Ghiware2012-01-121-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix use of DBG_SET_LOG in WebViewCore.Mangesh Ghiware2012-01-121-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the debug build. Change-Id: I49b932ec26152d8ade19230e3be0f6a25eb8068b
* | | | | | Move mouse on hit detectionJohn Reck2012-01-121-9/+10
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we do a hit test move the mouse instead of just updating m_mousePos Change-Id: Ic7c4dae14e5d93652eed48a040c8d610ae7c8aed
* | | | | Merge "Initial NavCache removal"John Reck2012-01-112-146/+209
|\ \ \ \ \
| * | | | | Initial NavCache removalJohn Reck2012-01-112-146/+209
| |/ / / / | | | | | | | | | | | | | | | Change-Id: Id34d3be6b11c4ba77b59dd9fb01a9cc050d581f6
* | | | | resolved conflicts for merge of 9cb81f0f to masterChris Craik2012-01-111-20/+14
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | Change-Id: I48fe99559230a14d29821d40369ad762d79ba04a
| * | | Fully invalidate the pictureset when content size changesChris Craik2012-01-101-21/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5759299 Webkit invals aren't correct when the content size changes (even simply growing vertically), for now just repaint from scratch in that case. Change-Id: I408b289bfee1139d6c8f3c7babd963d217cb5bc0
| * | | Enable History API. Do not merge.Ben Murdoch2012-01-041-0/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Cherry pick Ic6b6860ca4bfe891e84fb0445d67c7ea728c6fe3 The HTML5 History API is disabled at runtime by default in WebKit. Configure it to be enabled. Bug: 5767904 Change-Id: Ib7374e0145c581588990baec6e67025c1b7ef693
* | | Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGESteve Block2012-01-1017-239/+239
| | | | | | | | | | | | | | | | | | | | | See https://android-git.corp.google.com/g/157519 Bug: 5449033 Change-Id: Icaed25ccf4d689b533101e966e8303810b61b0d4
* | | Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE"Steve Block2012-01-095-13/+13
|\ \ \ | |_|/ |/| |
| * | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-085-13/+13
| | | | | | | | | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I4de9cd9a3bc462c4aead1fbcd4ac0f426556bc59
* | | Fix delete key with ContentEditable fields.George Mount2012-01-092-2/+64
|/ / | | | | | | | | | | | | | | | | Bug 5806859 Add deleteSurroundingText to webViewCore to support deleting multiple characters from ContentEditable fields. Framework change: I18606014 Change-Id: Ic938d6fa4818bab4bc4188c026b6897d46564255
* | Merge "Remove GET_NATIVE_VIEW from WebViewCore to reduce JNI."George Mount2012-01-061-189/+223
|\ \
| * | Remove GET_NATIVE_VIEW from WebViewCore to reduce JNI.George Mount2012-01-051-189/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5827817 Added a nativeClass parameter to all appropriate JNI methods and used it instead of GET_NATIVE_VIEW to reduce JNI overhead. Framework Change: I49c7ecfd Change-Id: I02004fe10a6513d46a51ba4c630d47499d954223
* | | Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-063-9/+9
| | | | | | | | | | | | | | | | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: Ia6cf33690679476e7d39c63fa59505491217fdde
* | | Merge "Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE"Steve Block2012-01-045-19/+19
|\ \ \
| * | | Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-035-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I35a9fa5e53a83a9c9a920333a3752dd151fbd3b8
* | | | Fix AppCache when either no path or an invalid path is suppliedSteve Block2012-01-041-10/+26
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only enable AppCache when it's been enabled with a call to WebSetting.setAppCacheEnabled() and if a valid path has been supplied to WebSetting.setAppCachePath(). Requires a corresponding change to frameworks/base: https://android-git.corp.google.com/g/155450 Bug: 5745181 Change-Id: I08d0016e19c436edef725f6ad2513bd369fda7b9