summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash in Autofill.Ben Murdoch2011-11-031-7/+9
| | | | | | | | Fix a crash in autofill that can be caused by toggling the setting on and off. Bug: 5452927 Change-Id: I80ba0b823fd16cb4e2df3359be95f3d063a9b091
* Report a load error when network loads blocked. Do not mergeBen Murdoch2011-10-314-19/+26
| | | | | | | | | | | | | | | | | Cherry pick from master. When network loads are blocked, we should fail those loads rather than leaving them dangling. In particular, this fixes an issue where WebCore will wait to do the first layout while CSS loads are pending. If network loads are blocked, we need to tell WebCore they are never going to complete. To implement this, we make use of the Chromium stack's load flags and move the code to a more suitable location. Bug: 5416543 Change-Id: I4bd9987611364b29d3ccaa50437d418a5eb9a5cd
* Keep text handles in sync with native touch targetsJohn Reck2011-10-273-4/+46
| | | | | | | | Bug: 5522153 Also add some slop to the handle targets, cleaned up the JNI and improved debugging. Change-Id: I3b2c3c8b1543d4a1aa599ae2938fa78fe95e01bf
* Merge "DO NOT MERGE Adjust text selection position" into ics-mr1John Reck2011-10-253-3/+12
|\
| * DO NOT MERGE Adjust text selection positionJohn Reck2011-10-253-3/+12
| | | | | | | | | | | | Bug: 5507800 Change-Id: Icfcfdb9ff019fac7e3e40df679723594fab15dc6
* | DO NOT MERGE Fix SW extras for layersJohn Reck2011-10-251-22/+17
|/ | | | | | | Bug: 5507239 Also remove all the old, unused layer setExtras stuff Change-Id: Id1670010536712b7a9f50e74821c9fb7f708e851
* Merge "WebKit part of fix for bug 5307956"Kristian Monsen2011-10-211-21/+18
|\
| * WebKit part of fix for bug 5307956Kristian Monsen2011-10-191-21/+18
| | | | | | | | | | | | | | | | | | | | | | If the cache directory is an empty string, create an in-memory cache instead. Also cleared up the storage directory logic. It should only be called once for each app now, so removed the caching and merged the two functions. Change-Id: Id9f179b5722425d1808f7d784d1071dee7aec6bc
* | am 94cabcbd: Merge "Force a navcache update before requesting keyboard" into ↵John Reck2011-10-191-0/+4
|\ \ | |/ |/| | | | | | | | | ics-mr0 * commit '94cabcbdc194d4a28d31cfb82be98a287b8cf1c9': Force a navcache update before requesting keyboard
| * Force a navcache update before requesting keyboardJohn Reck2011-10-191-0/+4
| | | | | | | | | | | | Bug: 5453541 Change-Id: I209d96d6cd567f7d548549e3e9e5004df045226b
* | Merge "Part of fix for bug 5152544 Reduce the number of warnings"Kristian Monsen2011-10-181-1/+1
|\ \
| * | Part of fix for bug 5152544 Reduce the number of warningsKristian Monsen2011-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The code is old, so must be some a compiler change that makes them show up now. Initializing the rect is good anyway, and it removes the warning. Change-Id: If076df1250e0c9b9980db0387cd7f99ecb00dc0c
* | | resolved conflicts for merge of 7eb15a6b to masterNicolas Roard2011-10-172-9/+11
|\ \ \ | | |/ | |/| | | | Change-Id: Ibb8a05afcdf79923d8ba105b391fa9dcd2e9deb9
| * | Improve performances / fixes some glitchesNicolas Roard2011-10-142-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - no layout / bgd color check if no inval on the base layer - throttle the number of ImageTexture uploaded per draw call - disable fast layer position update for now bug:5297559 bug:5421309 bug:5218173 Change-Id: I9ff9867dd3cfc2e0805e378d75ea75667fef8673
* | | Merge "Don't cache size of cursor rings array"John Reck2011-10-143-13/+8
|\ \ \ | |/ / |/| |
| * | Don't cache size of cursor rings arrayJohn Reck2011-10-143-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4974452 Remove the unnecessary assert Prevent size of cursor rings array from getting out of sync with the cached size by eliminating the cached size Change-Id: I40ceb22f3b636e5af890607b456e76e38c615eac
* | | Fixup JNIJohn Reck2011-10-131-15/+16
| | | | | | | | | | | | | | | | | | Bug: 5459736 Change-Id: I2125e8c0162b218f417e777d5ba62bfd314c7f60
* | | Merge "Fix navcache to work with layers for rings" into ics-mr0John Reck2011-10-131-18/+0
|\ \ \
| * | | Fix navcache to work with layers for ringsJohn Reck2011-10-131-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 5453034 Change-Id: I426aa4ca1b1c253f99c32aaf8cad597c09144af0
* | | | Merge "Fix uses of GetByteArrayElements() in WebCoreFrameBridge" into ics-mr0Steve Block2011-10-131-18/+12
|\ \ \ \ | |/ / / |/| | |
| * | | Fix uses of GetByteArrayElements() in WebCoreFrameBridgeSteve Block2011-10-121-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we call GetByteArrayElements() to get a pointer to the data, then modify it, then fail to call ReleaseByteArrayElements. This means that if GetByteArrayElements() happens to take a copy of the data, we'll never sync the modified data back to the JNI object. This change updates the code to use SetByteArrayRegion() which handles releasing any copies that are made by JNI. Also use ScopedLocalRef where possible. Bug: 5442710 Change-Id: Ic8691eb18cac746ee2a2086017ffb9b5558755bd
* | | | Merge "Fix disappearing content" into ics-mr0Nicolas Roard2011-10-131-0/+9
|\ \ \ \
| * | | | Fix disappearing contentNicolas Roard2011-10-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we fixed the superfluous contentInvalidateAll() that was called every time we were scrolling/zooming, this uncover some issues. This particular one was clearing the entire pictureset when an iframe was loaded -- this is wrong since we added support for composited iframes, but we didn't experience this problem before because of the contentInvalidateAll() masking it... bug:5449492 Change-Id: I57e4ea68daf6de901118725f5b7d70087084f23b
* | | | | Merge "Refactor the image sharing code" into ics-mr0Nicolas Roard2011-10-131-1/+2
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Refactor the image sharing codeNicolas Roard2011-10-121-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add a separate Images Manager, working both in GL and software rendering. bug:5425148 Change-Id: Ib5bc88ad94d49c7f1eb969a716691ac98dc10b77
* | | | Merge "Ensure the frame inversion flag is immediately effective." into ics-mr0Derek Sollenberger2011-10-121-11/+3
|\ \ \ \
| * | | | Ensure the frame inversion flag is immediately effective.Derek Sollenberger2011-10-121-11/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the frame inversion state was passed to the UI thread when the layer tree was synced. This CL removes that restriction and updates it immediately by storing the state in a cross thread refcounted object. bug: 5283034 Change-Id: I58a7ea0f2ed261008b945241bc783cfee4f33466
* | | | Merge "Correctly guard WebFrame methods needed only with the Chromium HTTP ↵Steve Block2011-10-122-12/+4
|\ \ \ \ | | | | | | | | | | | | | | | stack" into ics-mr0
| * | | | Correctly guard WebFrame methods needed only with the Chromium HTTP stackSteve Block2011-10-122-12/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | This fixes the break in builds which use the Android HTTP stack. Change-Id: I0feb885754c34e96216c8e0c28390808f424534e
* | | | Merge "Modify BrowserFrame.requestClientCert() to take the host and port as ↵Steve Block2011-10-122-9/+6
|\ \ \ \ | |/ / / | | / / | |/ / |/| | a String" into ics-mr0
| * | Modify BrowserFrame.requestClientCert() to take the host and port as a StringSteve Block2011-10-122-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we get the host and port from Chromium as a std::string, convert to a jbyte array to pass over JNI, then convert to String. It's simpler to convert directly to jstring and to pass that over JNI. This also fixes the fact that WebFrame::requestClientCert() fails to call ReleaseByteArrayElements(). Requires https://android-git.corp.google.com/g/141238 in frameworks/base. Bug: 5442710 Change-Id: If81fdef338ecdf2debeece0ebb9926bd261ae219
* | | Merge "Fix repaint bug. In some cases when the content size changes, the ↵Nicolas Roard2011-10-111-0/+24
|\ \ \ | | | | | | | | | | | | inval rects we receive from webkit do not fully cover the area that changed. For now, fix this by forcing the invalidation of the entire content (note: we only invalidate the tiles -- we do not force an actual regeneration of the pictureset for the entire content)" into ics-mr0
| * | | Fix repaint bug. In some cases when the content size changes, theNicolas Roard2011-10-111-0/+24
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | inval rects we receive from webkit do not fully cover the area that changed. For now, fix this by forcing the invalidation of the entire content (note: we only invalidate the tiles -- we do not force an actual regeneration of the pictureset for the entire content) bug:5361852 Change-Id: I682766d0101d4c8b8a38357dc7846c0030c1f9dc
* | | Support spellcheck attribute in input fieldsMichael Kolb2011-10-113-0/+12
|/ / | | | | | | | | | | | | | | | | Bug: 5267547 When spellcheck is set to false, disable the IME suggestions and the spelling error highlighting Change-Id: Ib62bc760334159aa086214cc6f1388d1abe89cb4
* | Delay sending Plugin Draw event until the surface is ready.Derek Sollenberger2011-10-104-1/+40
|/ | | | | bug: 5436630 Change-Id: I058a0d750f185c56c0fe70ac0bff7c9781c35dc8
* The new FAST_PICTURESET code path seems to trigger repaintNicolas Roard2011-10-071-1/+1
| | | | | | | | | | bugs in some cases. The current performance improvement of this code path is reasonably small compared to the default PICTURESET. This CL turns off FAST_PICTURESET for now (we will revisit the issue in the future) bug:5406701 Change-Id: I7ab7addf14d46b28ebf6bd4ff7f2b3b4ee044cc4
* Merge "Switch find on page to GL"John Reck2011-10-072-33/+20
|\
| * Switch find on page to GLJohn Reck2011-10-072-33/+20
| | | | | | | | | | | | | | Bug: 5354191 Refactor how extras are drawn in GL Change-Id: Ifb61c73abecd2d074903a7fb44fe4b82aacc64ac
* | Fix WebViewCore uninitialised data.Ben Murdoch2011-10-072-111/+95
|/ | | | | | | | | | | | | | | | | | | Improve WebViewCore initialisation by using the initialiser list rather than assignment in the constructor. Ensure that *all* members get an initial value. Also remove the WebViewCore::reset(bool) function, that was only being called from the constructor and so is now unnecessary. Additionally remove two completely unused members and one (m_now) that was being written once but never read (and only ever behind a debug #ifdef). Bug: 5399726 Change-Id: I29216737c2406eed1cdc426d011bca0728fdf232
* Merge "Streamline the layers update codepath. Directly update the layers ↵Nicolas Roard2011-10-052-12/+22
|\ | | | | | | transform and position. This makes updates faster and less dependent on other webkit work."
| * Streamline the layers update codepath.Nicolas Roard2011-10-042-12/+22
| | | | | | | | | | | | | | | | | | | | | | Directly update the layers transform and position. This makes updates faster and less dependent on other webkit work. counterpart java CL: https://android-git.corp.google.com/g/#/c/139853/ bug:5218173 Change-Id: I03a76ab853e81f0f12177fb785707ffb8dace330
* | Remove m_contentsImage usageJohn Reck2011-10-041-4/+28
| | | | | | | | | | | | Bug: 5410522 Change-Id: Id8457715665dbd51761900011beba57b7f634fff
* | HW accelate button focus ringsJohn Reck2011-10-031-13/+9
|/ | | | | | Bug: 5353510 Change-Id: I1bb306381864357dab4c38fd5c182fda2dd08d8c
* Merge "Fine-tune the number of buckets in PictureSet add some clearing logic ↵Nicolas Roard2011-09-301-1/+33
|\ | | | | | | as well"
| * Fine-tune the number of buckets in PictureSetNicolas Roard2011-09-301-1/+33
| | | | | | | | | | | | | | add some clearing logic as well bug:5145259 bug:5255262 Change-Id: I764e2b67ff15893e853e36185cd610e7293d0129
* | Initialize to BUCKET_SIZE instead of 0Russell Brenner2011-09-301-7/+25
|/ | | | | | | | | | Some execution path appears to be leaving mBucketSizeX and/or Y set to 0, causing a divide-by-zero exception. This should only be feasible when mWidth and mHeight are also 0, but, to keep things safe, we'll initialize to BUCKET_SIZE instead. Bug: 5391435 Change-Id: I4e01f980731619e6a6fb70a6eb315c44dd677c7b
* Merge "Make bucket sizes in increments of 256"Russell Brenner2011-09-282-7/+41
|\
| * Make bucket sizes in increments of 256Russell Brenner2011-09-272-7/+41
| | | | | | | | | | | | | | | | | | As pages grow, limit the number of bucket refills by making them in chunks of 256 (BUCKET_SIZE). This also fixes a divide-by-zero error in the earlier update to limit the bucket brigade. Bug: 5382243 Change-Id: I4ee6eb86c5934175b7cf0f7b69bcfb416d68b967
* | Don't scale text selection handlesJohn Reck2011-09-283-19/+86
|/ | | | | | | | Bug: 5367280 Don't scale the old software handle and, more importantly, don't scale the touch target. Change-Id: I9a731b2117b3f2fe3bd6ca35388da61c47724d91
* Merge "Limit the number of buckets in a PictureSet"Russell Brenner2011-09-273-34/+45
|\