summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
|\
| * Limit the number of buckets in a PictureSetRussell Brenner2011-09-263-34/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | Added MAX_BUCKET_COUNT_X and _Y so that absurdly large pages, such as those in LayoutTests, don't run out of memory due to millions of buckets. Renamed checkDimensions() to setDimensions() and made inval an optional parameter so that it can be used more generally within PictureSet to adjust settings. Bug: 5300146 Change-Id: Ic6c2dc97085ef38d5782aa005b71a6797d165e24
* | Merge "Enable the CPU upload path for Browser."Teng-Hui Zhu2011-09-231-0/+5
|\ \
| * | Enable the CPU upload path for Browser.Teng-Hui Zhu2011-09-231-0/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | The default for WebView should be still be GPU upload. That means Gmail will be default to using GPU upload. bug:5347539 The browser change is in https://android-git.corp.google.com/g/#/c/137606/ Change-Id: Ic7d42331511b24cf8a58f2f5fb64aaffc18cae5f
* | Merge "Fix find-in-page to scroll scrollable layers"Steve Block2011-09-222-7/+42
|\ \
| * | Fix find-in-page to scroll scrollable layersSteve Block2011-09-222-7/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires the addition of the following methods ... - Layer::contentIsScrollable() - Layer::localToParent() - ScrollableLayerAndroid::scrollRectIntoView() Bug: 5262656 Change-Id: I2f1cf3342f73890f98a172f1b4e3f440c02dd9f4
* | | Merge "Clean up style and add some comments in Layer"Steve Block2011-09-221-2/+2
|\ \ \ | |/ /
| * | Clean up style and add some comments in LayerSteve Block2011-09-211-2/+2
| |/ | | | | | | | | | | | | | | | | This is preparation for https://android-git.corp.google.com/g/#/c/134488/4 Refactoring only, no functional change. Bug: 5262656 Change-Id: I44e362cf35fc5080f7d9fba34183188d3a2a6331
* | Post a full WebView inval when we navigate to a new page.Ben Murdoch2011-09-212-5/+5
|/ | | | | | | | | | 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 "Reapply: Fix for bug 5226268 [Browser] http keep-alive packets DO NOT ↵Ben Murdoch2011-09-201-1/+2
|\ | | | | | | MERGE"
| * Reapply: Fix for bug 5226268 [Browser] http keep-alive packets DO NOT MERGEKristian Monsen2011-09-191-1/+2
| | | | | | | | | | | | | | | | | | Disabling SPDY as part of not reusing connections Also needs the following CL in external/chromium: https://android-git.corp.google.com/g/#/c/135472/ Change-Id: If69a5c4ba3965c0465808b13a51f9221fdf4e639
* | Merge "Fix the missing controller for inline video."Teng-Hui Zhu2011-09-191-1/+1
|\ \
| * | Fix the missing controller for inline video.Teng-Hui Zhu2011-09-191-1/+1
| | | | | | | | | | | | | | | Bug:5340451 Change-Id: Ifd706f61f824d1019f998569774b600ae9a9f5b9
* | | Merge changes Ifb6cc64e,I4d819cc5Steve Block2011-09-193-5/+4
|\ \ \ | |/ / |/| | | | | | | | | | | * changes: Simplify logic in ScrollableLayerAndroid::scrollTo() Fixes style and adds some comments to layers code
| * | Fixes style and adds some comments to layers codeSteve Block2011-09-193-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | Also removes FrameCachePermission::AllowNewest. This should have been removed as part of https://android-git.corp.google.com/g/#/c/2712. Bug: 5262656 Change-Id: I4d819cc5087653e4a1180d04ca0b5b20db7e2305
* | | Merge "Check for null selection in modifySelection"Russell Brenner2011-09-191-0/+5
|\ \ \