summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni
Commit message (Collapse)AuthorAgeFilesLines
...
* | Post a full WebView inval when we navigate to a new page.Ben Murdoch2011-09-211-5/+0
|/ | | | | | | | | | Rather than just posting an inval when we start to load a new page, we should do so on any new intra-page navigation, so that we cover cases that don't originate from Java. For example, when navigating the page cache. Bug: 5266447 Change-Id: I035ddcd9ef7d06a69a8adfe89cba75be7c502edb
* Merge "Check for null selection in modifySelection"Russell Brenner2011-09-191-0/+5
|\
| * Check for null selection in modifySelectionRussell Brenner2011-09-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | MoveSelection and supporting routines have appeared in one-off crash reports for monkey runs. It's not yet clear whether or not these conditions are human-reproducible, but returning an empty string when a null selection is unexpectedly encountered in modifySelection() should make the release build somewhat safer, while asserting in the debug build. Bug: 5244036 Change-Id: I4d492286cebf9884da0c675aa71175b8aa39f4b9
* | We be GL ringing it all over them layersJohn Reck2011-09-191-2/+2
| | | | | | | | | | | | Bug: 5333083 Change-Id: Ia2b03d8d9e0167d06f8a900152e25e66372acd59
* | Merge "Fix invalidation rect sizes"Ben Murdoch2011-09-191-17/+4
|\ \
| * | Fix invalidation rect sizesBen Murdoch2011-09-161-17/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | When splitting the invalidation rect over the tiles that it invalidates, we need to use the tile's offset to calculate the top/left co-ordinate in the case that the inval rect only covers part of the tile. (See change Ie3b4be68 for the regression) Bug: 4965594 Change-Id: I6a18f1d3d223f5389b0f4f35fab9e579f499e9da
* | Merge "Fix crash in WebViewCore::scrollNodeIntoView"Ben Murdoch2011-09-161-2/+6
|\ \
| * | Fix crash in WebViewCore::scrollNodeIntoViewBen Murdoch2011-09-161-2/+6
| |/ | | | | | | | | | | | | | | Fix crash when traversing the node hierarchy. Need to stop when parent() returns null. Bug: 5244036 Change-Id: I4120d4b6ea14c0a20c84f6bb789573d03e1915b3
* | Add null checks in getTouchHighlightRects()Russell Brenner2011-09-151-2/+2
|/ | | | | | | Make sure renderer exists before calling it. Bug: 5300238 Change-Id: Ie01bc1aaab3390d7c82be65a9b1d183167677e3c
* Implement PictureSet(SkPicture*) ctor in FAST_PICTURESET caseJohn Reck2011-09-071-0/+21
| | | | | | Bug: 5270617 Change-Id: I5bcdf551a028588aa34956f98039d893d646b362
* Enable double buffering via base tilesChris Craik2011-09-021-1/+16
| | | | | | | | | | | | bug:2522049 allocate textures and tiles using the gldraw count when they were most recently prepared remaining issues: -layers still flicker (presumably from texture stealing) -layers aren't double buffered yet Change-Id: Iccdf68326d7d476269d4e3a13903aaab249ee92d
* Closing idle connections, including jni interfaceKristian Monsen2011-09-021-0/+11
| | | | | | Part of fix for bug 4487538 Current Drain Change-Id: Ib08ea52c1c71726b76a5811663b6990aa13146ad
* Enable the FAST_PICTURESET codepathNicolas Roard2011-08-312-2/+2
| | | | | bug:5218173 bug:5145259 Change-Id: I4518185eb8501dffeef99c08c4ae703c63326e91
* Merge "Implement a faster pictureset Cluster the invalidations in regular ↵Nicolas Roard2011-08-313-41/+425
|\ | | | | | | buckets"
| * Implement a faster picturesetNicolas Roard2011-08-313-41/+425
| | | | | | | | | | | | | | | | Cluster the invalidations in regular buckets bug:5218173 bug:5145259 Change-Id: Ie3b4be6848b51ca0306bd163803635f9481ace9b
* | Make sure WebViewClient.onPageStarted() doesn't preceed ↵Steve Block2011-08-312-5/+9
|/ | | | | | | | | | | | | | | WebViewClient.shouldOverrideUrlLoading() In the case of a server-side redirect, we were triggering a callback to WebViewClient.onPageStarted() before we'd called WebViewClient.shouldOverrideUrlLoading(). This change delays calling WebViewClient.onPageStarted() until after WebViewClient.shouldOverrideUrlLoading() has returned and has indicated that the WebView should continue with the load. Bug: 5191031 Change-Id: I43d12c4df46e5d6e2defad10e80efbf0d5c30aed
* Fix PictureSet invlidation rectangle bugBen Murdoch2011-08-262-2/+7
| | | | | | | | | | | | | Set the height of the invalidation rectangle correctly. The last parameter to SkRect::set should be the bottom of the rectangle, not the desited height. Also, clear the content when we navigate between pages to avoid showing any stale content. Bug: 5213749 Change-Id: Ic75b9e9d8632750a15a03ebfbd4291fad03fca6a
* better locking while scrolling, but disables double bufferingChris Craik2011-08-251-5/+13
| | | | | | | | | | don't detect scrolling, query from java removes double buffering depends on CL in frameworks/base: https://android-git.corp.google.com/g/#/c/130213/ bug:5106313 Change-Id: Ibfa7f305874f4209fed001c030bb94e752d479b9
* Limit the number of inval rects we send to the UINicolas Roard2011-08-231-0/+20
| | | | | | bug:5204192 Change-Id: I5c29e9b2411ac2e05274d9a89c472285ed1aeb67
* Merge "Remove shouldOverrideUrlLoading restrictions"John Reck2011-08-171-6/+0
|\
| * Remove shouldOverrideUrlLoading restrictionsJohn Reck2011-08-171-6/+0
| | | | | | | | | | | | Bug: 5171504 Change-Id: I5c2dfc8a0fbf07cb5df11bddfafd9f7251380402
* | Merge "Implement partial repaint for layers (at the tile level) Fixes a ↵Nicolas Roard2011-08-171-0/+1
|\ \ | | | | | | | | | scheduling problem with layers"
| * | Implement partial repaint for layers (at the tile level)Nicolas Roard2011-08-171-0/+1
| |/ | | | | | | | | | | | | | | Fixes a scheduling problem with layers bug:3392331 bug:5145259 Change-Id: I2ea2c91f2c6d6f5288375cb5ebdaa69819b740be
* | Lazily decode assets for form controls.Ben Murdoch2011-08-162-6/+5
|/ | | | | | | | | | | | Rather than decoding the graphics when we create a WebView, wait until we actually need them. This saves about 50ms on native WebView creation time. Requires frameworks/base change: I5a2e87d03d73fa74ebb00c33567783225ed97d3a Bug: 5084146 Change-Id: Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a
* Merge "Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and ↵Steve Block2011-08-101-4/+1
|\ | | | | | | JavaNPObjectGetProperty()"
| * Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and ↵Steve Block2011-08-081-4/+1
| | | | | | | | | | | | | | JavaNPObjectGetProperty() Bug: 5006441 Change-Id: I2da7a6f626560416cf5cac0cde3193a9074fab0f
* | Merge "Plumb a bool through to Java to supress auth dialog."Ben Murdoch2011-08-092-4/+4
|\ \
| * | Plumb a bool through to Java to supress auth dialog.Ben Murdoch2011-08-052-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of a prefetch or favicon load, we want to silently fail auth loads but allow the use of cached credentials. To acheive this, pass an extra flag through to Java to decide whether to show the prompt or not. Requires: frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8 packages/apps/Browser change: Id901855830bbe17ede8a18293cff2bbc0aad4ba8 Bug: 5094761 Change-Id: If8c6f22e8307e1e13b8f7ad29f79305ce24b3255
* | Revert "Disable Crankshaft at runtime for performace testing."Ben Murdoch2011-08-091-1/+0
|/ | | | | | This reverts commit 7178bcff68f2abc8fefe50fa62b7043663034c05. Bug: 5052287
* Disable Crankshaft at runtime for performace testing.Ben Murdoch2011-07-281-0/+1
| | | | | Bug: 5052287 Change-Id: Ic2b192a5f22c7bc91b7bc587904452e440cbe505
* Safely convert punycode IDN to Unicode for display.Shimeng (Simon) Wang2011-07-213-6/+30
| | | | | | | | Use chromium's net::IDNToUnicode to accomplish this, which adopts safe measures for converting. issue: 4384726 Change-Id: If265a849ff0e9d6782705fc1639391bab9e6bcab
* Merge "Possible fix for bug 3335863: 3-second delay before Incognito state ↵Kristian Monsen2011-07-081-0/+4
|\ | | | | | | is cleared"
| * Possible fix for bug 3335863: 3-second delay before Incognito state is clearedKristian Monsen2011-07-011-0/+4
| | | | | | | | | | | | | | Force removing pending PageCache deletes when deleting a WebView. Change-Id: Ibd62f7b841e311a907c01a626834559b3bd9f263
* | When restoring the global reference in the WeakJavaInstance destructor, ↵Steve Block2011-07-081-13/+11
| | | | | | | | | | | | | | | | | | | | always do so from our weak global reference This avoid using a stale local reference in the case that calls to begin() and end() are unbalanced. Bug: 5006434 Change-Id: I3d1bb4ecfe11e9b54fb2a48b6ab9663ea753be54
* | Delete a JNI local ref in WebViewCore::openFileChooser()Steve Block2011-07-081-9/+4
| | | | | | | | Change-Id: I3a488125d86a4f8cc63691ae7035cad0eadaf514
* | Avoid leaking JNI local references in UrlInterceptResponseSteve Block2011-07-061-1/+3
|/ | | | | Bug: 4509854 Change-Id: I70bd6b5f1ce32263b1f048a7bb5e732338e7297d
* Merge changes I899af0a4,I1d8b554a,Iefb91f0bKristian Monsen2011-07-013-11/+11
|\ | | | | | | | | | | | | * changes: Merge Chromium at r11.0.696.0: Compile fix, update include location Merge Chromium at r11.0.696.0: Compile fixes in WebRequestContext.cc Merge Chromium at r11.0.696.0: Just AutoFill => Autofill renaming
| * Merge Chromium at r11.0.696.0: Just AutoFill => Autofill renamingKristian Monsen2011-06-293-11/+11
| | | | | | | | Change-Id: Iefb91f0b784c26b503125017ae3582a28e7d530d
* | Refactoring: Moved 'SkLayer' to 'Layer' class in webkitChris Craik2011-06-301-3/+3
|/ | | | Change-Id: Ie1c24e5e402c539e0359810cfdf872178fa083c1
* 2nd try: Bubbles up the url that has the invalid certificate.Huahui Wu2011-06-282-4/+7
| | | | | | | | Same as this CL https://android-git.corp.google.com/g/#change,117817 except one minor change to make the build happy: Change-Id: Ie863737eee00c42de5d7a289b60aff8c2cfaa8e2
* Revert "Bubbles up the url that has the invalid certificate."Huahui Wu2011-06-282-7/+4
| | | | This reverts commit f072ccf633e8c2c2812289f0e65f18320f2147c8.
* Bubbles up the url that has the invalid certificate.Huahui Wu2011-06-272-4/+7
| | | | | | | | | | b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page This CL bubbles the url, which has the invalid cert, up to framework to display it. Related CLs are: Framework: https://android-git.corp.google.com/g/#change,117828 Browser: https://android-git.corp.google.com/g/#change,117835 Change-Id: If01ea2320aa50450a6d3d409123bed5a9f101d61
* Merge "Fix compiler error when DEBUG is turned on"Teng-Hui Zhu2011-06-221-1/+1
|\
| * Fix compiler error when DEBUG is turned onTeng-Hui Zhu2011-06-211-1/+1
| | | | | | | | Change-Id: I1a9d8eab3e5259eade94fc9e825ec4d162a1e392
* | Fix fast/encoding/dumpAsText//utf-16-no-bom.xmlBen Murdoch2011-06-211-0/+4
|/ | | | | | | | | | | This test now expects us to use the XMLTreeViewer, so make sure that it's enabled. SetDeveloperExtras enables the XMLTreeViewer and Inspector, but we have no inspector on Android, so this is just toggling the XMLTreeViewer on. Change-Id: I365930f34003d6e97aed88af77746c784a3c3bd1
* Merge "Ignore the initial empty document when setting viewport size."Shimeng (Simon) Wang2011-06-171-0/+5
|\
| * Ignore the initial empty document when setting viewport size.Shimeng (Simon) Wang2011-06-171-0/+5
| | | | | | | | | | | | | | | | | | This fixes the issue where "google legal" dialog will show empty content, since the initial empty document will get laid out and used in some circumstances. issue: 4501857 Change-Id: I779d983f3c81724663391872de81ceed025adec1
* | Change mTextSize to be a percentageJohn Reck2011-06-161-9/+3
|/ | | | Change-Id: I22720665be2900121acaa3801adc36f3d7fddeae
* Set appropriate initial viewport bounds.Shimeng (Simon) Wang2011-06-151-1/+8
| | | | | | | | This fixes lots of cases where various legal/license dialog show empty content. issue: 4501857 Change-Id: I113b1b43ec1b2f17fad4bf9fbf6aa17f8b10240c
* Merge "Add javascript 'select' event"Russell Brenner2011-06-131-0/+6
|\