summaryrefslogtreecommitdiffstats
path: root/WebKit
Commit message (Collapse)AuthorAgeFilesLines
* Only invalidate the webview when the plugin has new content.Derek Sollenberger2011-02-043-2/+19
| | | | | bug: 3424551 Change-Id: I07beef845bb41980144222c3c5d076db8120037c
* Merge "stop GL drawing thread before killing WebCore" into honeycombCary Clark2011-02-031-1/+16
|\
| * stop GL drawing thread before killing WebCoreCary Clark2011-02-031-1/+16
| | | | | | | | | | | | | | | | | | | | | | The TexturesGenerator thread references pictures owned by the WebCore thread, so must be stopped before the WebCore thread is deleted. Requires a companion change in frameworks/base bug:3406185 Change-Id: I20e64631bbf4a1b88fb015f3de36ce292234537d
* | DO NOT MERGE. Pass an extra boolean with scrollTo message.Leon Scroggins2011-02-022-5/+14
|/ | | | | | | | | | | | | | Bug:3411564 When the size changes, add a boolean to the scroll message to only honor the scroll in the case that the IME is actually showing. Requires a change to frameworks/base. Already submitted to master. Change-Id: I35612dcecfddaa0623dc8f414229703c6a97191b
* Fix for bug 3414354 crash in navcacheKristian Monsen2011-02-021-7/+11
| | | | | | | | | | This should work according to our new ARM expert. Updated bug report with details. I didn't think another indent layer was good, so did returns instead. Change-Id: I2baafe748f3249943ecc93ddf166b8ff559d7a6c
* Fix for bug 3413829, crash when loading pageKristian Monsen2011-02-021-1/+1
| | | | | | | When a read failed we deleted it and scheduled a new read. The new read would also fail (since the request was deleted), and crash. Change-Id: Idcb3265e705d616657c2679389951d632c54cca5
* Get layers showing againBen Murdoch2011-02-022-12/+7
| | | | | | | | | | | | | | | | | Lazily get the maximum texture size from GL when we first need it. This avoids calling GL functions before GL has been set up and ensures it is done on the correct (ie. UI) thread. Also move the tiles expansion setting from WC thread to UI thread as TilesManager is not thread safe when creating the singleton instance. This makes change 4596782e unnecessary so we remove it. Bug: 3412928 Change-Id: I740974d8cc0ef4f66956cd6a07b058bfa7ca767f
* Merge "Improving fix for bug 3317722 - DO NOT MERGE" into honeycombKristian Monsen2011-02-011-4/+6
|\
| * Improving fix for bug 3317722 - DO NOT MERGEKristian Monsen2011-02-011-4/+6
| | | | | | | | | | | | A simple null check to avoid crash Change-Id: Ie3e4236687cf22205678abf286688dee45e1cdb5
* | Ensure plugins receive an onScreen event even when the page reloadsDerek Sollenberger2011-02-011-1/+13
|/ | | | | bug: 3411351 Change-Id: I9127ec949ceb7c4e91e1e48daede8e9411208fa7
* Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)Dave Burke2011-02-011-0/+12
| | | | Change-Id: I80c7757bfb85f0b45726f2fa2f18644d2493fced
* Prevent plugin node from being deleted in the nav cache.Derek Sollenberger2011-01-311-1/+2
| | | | | bug: 3331323, 3393264 Change-Id: I1077a9d82d5e9c96a24e738cfede1dfaff70cc1c
* Merge "Reduce history item saving frequency when scrolling." into honeycombShimeng (Simon) Wang2011-01-311-1/+9
|\
| * Reduce history item saving frequency when scrolling.Shimeng (Simon) Wang2011-01-311-1/+9
| | | | | | | | | | | | | | This is to improve performance when scrolling large websites. issue: 3317722 Change-Id: Iffb5b3867af60be716fe9a2e395b8984d72b5284
* | Merge "Only set background tile color if it's valid. bug:3408110" into honeycombDave Burke2011-01-311-1/+2
|\ \ | |/ |/|
| * Only set background tile color if it's valid.Dave Burke2011-01-311-1/+2
| | | | | | | | | | | | bug:3408110 Change-Id: Ia5dc44623961786399e38bbf6e2afdb8a7206dce
* | Merge "Fix for bug 3405738, crash in nav cache" into honeycombKristian Monsen2011-01-311-5/+7
|\ \
| * | Fix for bug 3405738, crash in nav cacheKristian Monsen2011-01-311-5/+7
| |/ | | | | | | Change-Id: I43c87a3b8a772857fd2775b54a68d8df6c6441ef
* | Merge "For textareas, do not use UI side layers." into honeycombLeon Scroggins2011-01-313-35/+15
|\ \
| * | For textareas, do not use UI side layers.Leon Scroggins2011-01-313-35/+15
| |/ | | | | | | | | | | | | | | | | Bug:3402831 Bug:3401242 Requires a change in frameworks/base. Change-Id: I4d7525cbf3a881fbe87f4bc624988fcb79cceab1
* | Fix for bug 2864795, pausing plugin network traffic.Kristian Monsen2011-01-313-1/+35
|/ | | | Change-Id: I1f9239af23d6c88883b620ba0cfdc1c66dddf03d
* Merge "Fixed element positioning fix" into honeycombTeng-Hui Zhu2011-01-304-0/+28
|\
| * Fixed element positioning fixTeng-Hui Zhu2011-01-304-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is for fixed bottom/ right, in the zooming case. The width and height in webkit should be calculated as the visibleRect we use for drawing. And that is document coordinate for visible size. Basically it is send the Rect info from webView to webViewCore. Then at RenderBox, it will go through the PlatformBridge to pick the info up. Notice that the touch is not 100% working yet, the layout call in webkit can have a early return such that fixed element layer didn't get update. And a touch/click is not really causing the whole layout update yet. That will be addressed in seperate change though. bug:3404129 Change-Id: I225d41815143a05d540ed32bfc76f823603ca89c
* | Draw extras on layers.Nicolas Roard2011-01-291-0/+5
| | | | | | | | | | | | | | Fix a potential crash, and draw the extras. bug:3372985 bug:3367026 Change-Id: I84be0733217c68b75a679de2212c10b891406d05
* | Prevent the browser's GL rendering loop when plugins are full-screen.Derek Sollenberger2011-01-291-1/+12
|/ | | | | bug: 3400065 Change-Id: I7b69ed836f2dd20160e5f89842be5ed856826e8c
* Merge "Fix for bug 3398340" into honeycombKristian Monsen2011-01-284-10/+3
|\
| * Fix for bug 3398340Kristian Monsen2011-01-284-10/+3
| | | | | | | | | | | | Removed a variable that was never set, but still used Change-Id: I180f631472a02ed512f6071a0760913c8ddf6e84
* | Merge "Fix artifacts from clipped viewport." into honeycombChet Haase2011-01-281-2/+16
|\ \
| * | Fix artifacts from clipped viewport.Chet Haase2011-01-281-2/+16
| |/ | | | | | | | | | | We now noop the calls to drawGL if the current viewport is empty. Change-Id: Id2a7b8ef38e150255cc55e24efbc93b6077a6dd8
* | Part of fix for bug 3394040Kristian Monsen2011-01-282-1/+8
|/ | | | | | | Sending messages through a ScopedRunnableMethodFactory, and cancel them before deleting the request object. Change-Id: I5c9f94d78790f7098af3c418b582aacbf3b4b712
* Merge "Add Plugin API for controling the device power states" into honeycombDerek Sollenberger2011-01-277-0/+78
|\
| * Add Plugin API for controling the device power statesDerek Sollenberger2011-01-277-0/+78
| | | | | | | | | | | | | | | | | | | | This is an initial API that will allow the plugin to request to keep the screen on. companion change is in frameworks/base bug: 3331493 Change-Id: Id807dc3a3e5aaf12fc63558edeceee0d35561768
* | b/3347670 Support installing online certs to the system keystore.Huahui Wu2011-01-274-0/+72
| | | | | | | | | | | | | | Requires another CL in framework. https://android-git.corp.google.com/g/#change,93329 Change-Id: Ie623b55b6580d9761cc7de6b1b1708fbb2f0c633
* | Make sure we only post task to live requestsKristian Monsen2011-01-271-3/+21
| | | | | | | | | | | | | | | | Part one of fix for 3394040 Should be safe Change-Id: I1f3a24be99248796bca1924b4ba6da3f0bd170d5
* | Working on Bug 2864795Kristian Monsen2011-01-274-2/+11
| | | | | | | | | | | | | | | | Plumbing pauseLoad a bit deeper, not adding functionality yet Should be safe Change-Id: I34856d0518090ca22485120f87e22a22f37c48df
* | First part of fix for bug 2864795, not reading in a while loppKristian Monsen2011-01-271-22/+14
|/ | | | | | | | This change posts new messages to continue reading instead of doing all the reading from one request in a loop. This matches Chrome, and will enable a pause in between reads. Change-Id: I14fae02671786fe243738dfc1d7ac29441788e3e
* Merge "Fix bug 3299946 - Holo-fy focus and selection color scheme." into ↵Adam Powell2011-01-261-3/+3
|\ | | | | | | honeycomb
| * Fix bug 3299946 - Holo-fy focus and selection color scheme.Adam Powell2011-01-261-3/+3
| | | | | | | | | | | | | | | | * Honeycomb-themed selection ring * Match text selection color scheme to framework assets Change-Id: I8a4817c7998d7009f1b00d6ad548d54545de0c78
* | Merge "Initial pass at a video API for plugins." into honeycombDerek Sollenberger2011-01-264-0/+146
|\ \
| * | Initial pass at a video API for plugins.Derek Sollenberger2011-01-264-0/+146
| | | | | | | | | | | | | | | bug: 3072603 Change-Id: Ie22d289a93682dfd68cf81f5220d658d45a69d81
* | | Merge "Final polish of the WebView accessibility support for JavaAcript ↵Svetoslav Ganov2011-01-263-258/+512
|\ \ \ | | | | | | | | | | | | disabled case" into honeycomb
| * | | Final polish of the WebView accessibility support for JavaAcript disabled caseSvetoslav Ganov2011-01-263-258/+512
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:3316135 1. Now moving before the first item (word for example) and then going back reads that last item. This was not working before. 2. Restricted the selection to not cross anchor boundaries to workaround asymmetric behavior of the WebKit selection on the sentence granularity. 3. Added logic to avoid selection of invisible content. 4. Now the cursor is moved with the selection such that links can be activated while their text is read. 5. Now input controls are also traversed and the user can interact with them. For examle, silin in an input text. Change-Id: I5a796aef75679cbddf756680030e6bd06213afd9
* | | | Merge "Fix hit testing inside layers." into honeycombPatrick Scott2011-01-265-12/+12
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix hit testing inside layers.Patrick Scott2011-01-265-12/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new webkit merge added a couple methods to ClipRects that were not copying the hit test rect. This make the clip rect empty during hit testing which was clipping out all nodes in scrollable layers. When tracking a layer, use the foreground layer if present as it will contain the right nodes. When looking for a scrollable layer, traverse the children in reverse drawing order to find the top-most visible layer. This allows orkut.com to scroll. Remove a couple of casts and headers. Use relaxAdoptionRequirement() to avoid a RefCounted assert. Swap the texture owner hash set during deletion as release can modify the iterator concurrently. Update the scrollbars (even though we don't have any) when scrolling a layer to keep the scroll position of the scrollbar in sync with the layer. Rewrite a little bit of PluginPackageAndroid. m_module may be non-null during load. If it is null, load the library and store it in m_module. Follow the regular path assuming m_module is not null. Bug: 3373179 Change-Id: If07ec9735b30c1e98e363667378a8d253a841a45
* | | Merge "Call back loadstarted when the URL is loaded again in URL bar." into ↵Shimeng (Simon) Wang2011-01-261-1/+0
|\ \ \ | |_|/ |/| | | | | honeycomb
| * | Call back loadstarted when the URL is loaded again in URL bar.Shimeng (Simon) Wang2011-01-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Today when user hit enter in the url bar, the same URl will reloaded again without progress bar, since no callback is sent back. This change removed that restriction. issue: 3388311 Change-Id: I86bed1d5c3e72bc4a0fdb18c1b67508b7110df6e
* | | Merge "Plugin API to allow for y-axis inversion during rendering." into ↵Derek Sollenberger2011-01-262-0/+27
|\ \ \ | |_|/ |/| | | | | honeycomb
| * | Plugin API to allow for y-axis inversion during rendering.Derek Sollenberger2011-01-262-0/+27
| | | | | | | | | | | | | | | bug: 3393314 Change-Id: I913a6c073fe9ba56c14cdbcaa523b6e5a5af5219
* | | Fix invalid draw events when the plugin is injected into a loaded pageDerek Sollenberger2011-01-252-7/+9
|/ / | | | | | | | | | | | | | | Use WebViewCore's scale value instead of maintaining our own to prevent getting out of sync and reporting the wrong zoom to the plugin. bug: 3388258 Change-Id: I45f2b14c48442ab0211a9bafeb42b2216b706346
* | Merge "Prevent timer from deleting itself twice." into honeycombDerek Sollenberger2011-01-252-5/+14
|\ \