summaryrefslogtreecommitdiffstats
path: root/WebKit
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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
|\ \
| * | Prevent timer from deleting itself twice.Derek Sollenberger2011-01-252-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | If a plugin attempts to delete itself as a result of a timer firing, it currently crashes the browser. This CL defers the deletion of the timer until after the timer's fire method completes. bug: 3382772 Change-Id: I1b5f995f91c7a06767b2a3f68880d3e197a83124
* | | Merge "Move localstorage into private folder" into honeycombJohn Reck2011-01-251-0/+5
|\ \ \
| * | | Move localstorage into private folderJohn Reck2011-01-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3244281 Move all the localstorage databases into their own private subfolder without global execute permission Change-Id: I0fbd068365f8d2de3242e4e737f00649e321a92c
* | | | Merge "Use platform bridge to control high usage delta MB." into honeycombShimeng (Simon) Wang2011-01-254-1/+12
|\ \ \ \ | |_|_|/ |/| | |
| * | | Use platform bridge to control high usage delta MB.Shimeng (Simon) Wang2011-01-244-1/+12
| |/ / | | | | | | | | | | | | | | | | | | This change gives flexibility to change that value in Java side. issue: 3317722 Change-Id: I71a548871783cc604e0daec63e6bbfb26ecc1e1f
* | | Use an integer to keep track of the blurring node.Leon Scroggins2011-01-252-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:3387251 Rather than storing the actual pointer to the Node, since the pointer may no longer be valid and it is only used for comparison anyway. Change-Id: Icc6aabfa66c4a40b40fb6a8673d7ad34346360b6
* | | Merge "Wait until the focus changes to hide keyboard." into honeycombLeon Scroggins2011-01-243-11/+35
|\ \ \
| * | | Wait until the focus changes to hide keyboard.Leon Scroggins2011-01-243-11/+35
| |/ / | | | | | | | | | | | | | | | Bug:3376680 Change-Id: Ib5636a27183fbd94aff6817e0a5641c40db28649
* | | Merge "Only revealSelection if scale has not changed." into honeycombLeon Scroggins2011-01-241-1/+4
|\ \ \
| * | | Only revealSelection if scale has not changed.Leon Scroggins2011-01-241-1/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:3383787 The intent of calling revealSelection was to show the text field when the IME is shown. If the scale changed, this was a zoom, not an opening of the IME. Change-Id: Idcb17c18eb7f90b79521da1ab1b48931808773d6
* | | Merge "Fix for bug 3380288" into honeycombBart Sears2011-01-242-3/+13
|\ \ \ | |/ / |/| |
| * | Fix for bug 3380288Kristian Monsen2011-01-242-3/+13
| |/ | | | | | | | | | | | | Cannot create a WebRequestContext before we know if we should use private mode or not. Change-Id: I82b0dd67342a381ea1764c4d0457386ff7980be4
* | Optimize display lists by caching drawGL function pointer.Chet Haase2011-01-241-0/+73
|/ | | | | | | | This is a change to help framework optimizations for display lists. A display list can now cache a function pointer to the drawGL call of webcore. Change-Id: I9ba133d5a28f12b1c3626301414786a41c1d58b9
* Implement tiles synchronizationNicolas Roard2011-01-231-2/+2
| | | | | | | | | | When a tiledPage is painted, we want to avoid updating the base layer. GLWebViewState and WebView.cpp are now refcounting the base layer, delaying updating the base layer we use to paint until we are done with a full tile paint. bug:3224744 Change-Id: Ica2b8f1db146a1e059fc0735dc53107fc40da07a
* Line up text with WebTextView.Leon Scroggins2011-01-213-23/+56
| | | | | | | | | | | | | Bug:3321608 Bug:3085564 Scroll the UI layer for a <textarea> when scrolling the WebTextView. When clicking on a <textarea>, send the scroll point so the click happens properly. Requires a change to frameworks/base. Change-Id: I3b32a53db350b6c49fdbf8dd177c34854aae66b4
* Do not dismiss the keyboard if the plugin is the focused node.Derek Sollenberger2011-01-211-1/+1
| | | | | bug: 3332478 Change-Id: I358ed2c828e39adc8d6e80eaaa0071854e03c655
* Merge "match the frame with the node" into honeycombCary Clark2011-01-202-2/+2
|\
| * match the frame with the nodeCary Clark2011-01-202-2/+2
| | | | | | | | | | | | | | | | | | In a couple of places, the wrong frame is used with the node, resulting in a crash if the node is in a layer. bug:3373069 Change-Id: I0ff7a9d0aa07f742e95278c377b43ca77eb73212
* | Merge "Send appropriate events when plugin is dynamically resized." into ↵Derek Sollenberger2011-01-202-31/+39
|\ \ | | | | | | | | | honeycomb
| * | Send appropriate events when plugin is dynamically resized.Derek Sollenberger2011-01-202-31/+39
| |/ | | | | | | | | bug: 3372374 Change-Id: I51bb9fedaf4c941f45c068ad3e044cd771444392
* | Report SSL certificates to WebView.Iain Merrick2011-01-209-6/+76
| | | | | | | | | | | | | | | | | | In the Apache HTTP stack, this is done by LoadListener. This CL plumbs in the same logic for the Chrome HTTP stack. This fixes the WebViewTest#testAccessCertificate CTS test. Bug:3242048 Change-Id: I69a4de46ded59bfdebdd391c4731c7c1a79744fb
* | Merge "Don't allow fullscreen video to play from the onload handler." into ↵Ben Murdoch2011-01-201-0/+9
|\ \ | | | | | | | | | honeycomb
| * | Don't allow fullscreen video to play from the onload handler.Ben Murdoch2011-01-191-0/+9
| | | | | | | | | | | | | | | | | | | | | Prevent fullscreen HTML5 video from playing if the play command originates from the onload handler. Change-Id: I2031d3785d5c27f88350df03d57fcbbbc8898e89
* | | Merge "Do not reveal selection unless the focus controller is active." into ↵Leon Scroggins2011-01-201-3/+2
|\ \ \ | |_|/ |/| | | | | honeycomb
| * | Do not reveal selection unless the focus controller is active.Leon Scroggins2011-01-201-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:3370821 Bug:3073288 Also remove unnecessary callers to setUserInitiatedAction. Change-Id: I682b9498bb48771a92e856e32e16072007c53f72
* | | Trigger OnScreen events when the page loads.Derek Sollenberger2011-01-193-6/+22
|/ / | | | | | | | | bug: 3368632 Change-Id: I13dbf1c809f32887f5d659e6fead60a61110eddd
* | Move selection on screen when size changes.Leon Scroggins2011-01-191-0/+3
| | | | | | | | | | Bug:3367446 Change-Id: Idad0fae69588fd6ce9602319385e165d7e2ff5dd
* | Merge "Passing WebSettings cacheMode to the chrome load_flags" into honeycombKristian Monsen2011-01-197-3/+53
|\ \
| * | Passing WebSettings cacheMode to the chrome load_flagsKristian Monsen2011-01-197-3/+53
| |/ | | | | | | | | | | Fixes a few CTS tests Change-Id: I1b72813b828a6aa24522e9ffb2ff17a3e364f7bf
* | Merge "don't draw buttons while they are created" into honeycombCary Clark2011-01-191-1/+1
|\ \
| * | don't draw buttons while they are createdCary Clark2011-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are three threads all hammering at the same resource. The WebViewCore thread records the buttons on the page. The WebView thread rerecords the button pictures to show selection and focus. The GLWebViewState thread draws the picture containing the button pictures into the tile. Prevent drawing the picture while the buttons are recorded by sharing the button mutext with the GL tile creation. bug:3354678 Change-Id: I245ed47ad5a6d1fe28ea870bd7c557937eed1164
* | | Merge "Fix plugin crash when loading swf files." into honeycombDerek Sollenberger2011-01-191-1/+3
|\ \ \ | |_|/ |/| |
| * | Fix plugin crash when loading swf files.Derek Sollenberger2011-01-191-1/+3
| | | | | | | | | | | | | | | bug: 3368265 Change-Id: Ic0ab8702d40140983be4db105f179b8b5236e6e3
* | | Merge "Maintain the seek position for HTML5 Video" into honeycombBen Murdoch2011-01-191-4/+6
|\ \ \ | |_|/ |/| |
| * | Maintain the seek position for HTML5 VideoBen Murdoch2011-01-191-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the video is paused, remember where we got to so that when the video is started again we can seek to the correct position and continue where we left off. Requires a change in frameworks/base. (I6b92289d4ef36bba1e0429327917533a4101655d) Bug:3303721 Change-Id: I6001f45a362f491e9040c8b52260d0a08fb8504f
* | | Merge "Do not send empty data." into honeycombPatrick Scott2011-01-191-3/+3
|\ \ \ | |/ / |/| |
| * | Do not send empty data.Patrick Scott2011-01-181-3/+3
| | | | | | | | | | | | | | | | | | | | | WebKit asserts that the length of data is 0 and assumes that the length is non-zero. Change-Id: Ic1e62bcfaca5b875256216ed20013f1b4ad7e653
* | | Merge "Fix occasional AutoFill crash" into honeycombBen Murdoch2011-01-191-12/+13
|\ \ \
| * | | Fix occasional AutoFill crashBen Murdoch2011-01-181-12/+13
| |/ / | | | | | | | | | | | | | | | Don't store a raw pointer to a refcounted type. Change-Id: I444578e7cc601ef6402ea135982aedc7ca1f983c
* | | Merge "Layout before creating the base layer." into honeycombPatrick Scott2011-01-182-6/+10
|\ \ \
| * | | Layout before creating the base layer.Patrick Scott2011-01-182-6/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | WebKit asserts during draw that the frame does not need a layout. Do the layout to also get the most updated data. Move the bridge assert after the parent check as some frames are never attached and no history item is created. Change-Id: If646d6ed2b409a3078d2f7a6793b7aed94ffecaf