summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix a leaked JNI LocaRef in WebViewCore::jsPrompt()Steve Block2011-02-211-2/+3
|/ | | | | Bug: 3470906 Change-Id: I8fb9ddcf4ff3dee35c2225a18a86b4015002da96
* Generate well-formed makrup for accessibility events.Svetoslav Ganov2011-02-142-23/+8
| | | | | | | | | | | | bug:3444147 1. Removed the code that incorrectly strips CSS spans appended by WebKit. This CSS information is now propagated to the client applications such as TalkBack. 2. Renamed getImplicitAnchorOrOffsetNode to getImplicitBoundaryNode. Change-Id: I6618be4d208fafd223ba09fb90c393046121ca88
* Merge "b/3416864 Pass the certificate info from native to JAVA."Huahui Wu2011-02-102-10/+10
|\
| * b/3416864 Pass the certificate info from native to JAVA.Huahui Wu2011-02-102-10/+10
| | | | | | | | Change-Id: I797ab2d6ce6a07561c710d8b3262e548770eb477
* | Merge "Only update history position if scrolling is done by user."Shimeng (Simon) Wang2011-02-101-15/+17
|\ \
| * | Only update history position if scrolling is done by user.Shimeng (Simon) Wang2011-02-101-15/+17
| | | | | | | | | | | | | | | issue: 3433562 Change-Id: I520f50cc6657f0a244860e01d38e3f71607fe665
* | | Merge "Do not accept cookies for file scheme URLs by default"Steve Block2011-02-101-0/+21
|\ \ \
| * | | Do not accept cookies for file scheme URLs by defaultKristian Monsen2011-02-101-0/+21
| | |/ | |/| | | | | | | | | | | | | | | | | | | This change also adds a getter and setter to CookieMananager to allow this policy to be configured. Bug: 2944150 Change-Id: I48668b0d0f2b81581b98933a9399719626da6033
* | | Merge changes I0c422ecd,Ia06decf9Teng-Hui Zhu2011-02-102-11/+9
|\ \ \ | |_|/ |/| | | | | | | | | | | * changes: Improve the fixed element position calculation Revert "A temp WAR for fixed element position update"
| * | Improve the fixed element position calculationTeng-Hui Zhu2011-02-092-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the previous WAR, we get the screen size from UI thread at every draw call. That is awkward. Now with Java side fix, we can get the screen size from setSize call now. However, forcing a full re-layout seems like an expensive operation. What we need to make the webkit to know the update can be done by just updating the fixed position elements only. So I have done these: 1. Take away the WAR by forcing the update at the convertToLayerCoord. 2. Get rid of the UI thread stuff used to tell WebViewCore the screen size. And get rid of the redundant variables, too. 3. update the fixed element at the setSize time. BTW, I also rename the PlatformBridge functions name. bug: 3397602 Change-Id: I0c422ecdb570de89aecb6e568d5067acf18ecfc6
* | | Merge "Consolidate scrolling methods."Patrick Scott2011-02-092-38/+13
|\ \ \
| * | | Consolidate scrolling methods.Patrick Scott2011-02-092-38/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Call through to a single java function to scroll the page. Always use scrollTo so that there isn't a problem with using scrollBy on an old or out-of-sync scroll position. Bug: 3187015 Change-Id: I4a75256687e53ed18c1f73970e9032f476b81859
* | | WevView accessibility no JavaScript - clean up, null poiner error.Svetoslav Ganov2011-02-092-327/+330
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:3421690 1. Added explicit checks for error/null pointer at places where such check were missing. 2. Fixed skipping of som einput cotrols while traversing backwards. 3. Factored out common code. 4. Input controls were not correctly selected after scrolling the view port. 5. Imroved node visibility checking. Change-Id: Idfec7e6a17ac8531f6b073ad6d858932e0921767
* | Guard autofill correctly.Ben Murdoch2011-02-081-0/+2
|/ | | | | | Bug: 3411200 Change-Id: I6e80795413d68ac1b7b9ada4ac44901916d6efbf
* Store form data when it is submitted.Leon Scroggins2011-02-042-44/+44
| | | | | | | | | | | Bug:3280725 Store form data when submitted rather than when a page loads. Requires a change in frameworks/base. Change-Id: Ib2328270a91d8d618a40a1353bf50337bbf608aa
* Use ListBoxPopupMenuClient for listboxes.Leon Scroggins2011-02-031-128/+1
| | | | | | | | Bug:2754767 Enables us to remove some layering violations. Change-Id: Iea184c7946bca9d840c708918f545a9d9b436254
* am 7bb73b67: am 4da96b99: Get layers showing againBen Murdoch2011-02-011-12/+0
|\ | | | | | | | | * commit '7bb73b678e89be38d22b27e428ccd3406392c7cb': Get layers showing again
| * Get layers showing againBen Murdoch2011-02-021-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Improving fix for bug 3317722 - DO NOT MERGEKristian Monsen2011-02-011-4/+6
| | | | | | | | | | | | A simple null check to avoid crash Change-Id: Ie3e4236687cf22205678abf286688dee45e1cdb5
* | am 19a35bdf: am f09d842c: Smoother scrolling by preparing offscreen tiles ↵Dave Burke2011-02-011-0/+12
|\ \ | |/ | | | | | | | | | | (credit: Ben Murdoch) * commit '19a35bdf5917bdaaab97a77f0dedca79db87a67b': Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)
| * Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)Dave Burke2011-02-011-0/+12
| | | | | | | | Change-Id: I80c7757bfb85f0b45726f2fa2f18644d2493fced
* | Remove unnecessary getter for userInitiatedAction.Leon Scroggins2011-02-011-6/+3
| | | | | | | | | | Bug:3073288 Change-Id: I84fd4fe01271cb84454fc94387ae7d61e7ed76f3
* | Pass an extra boolean with scrollTo message.Leon Scroggins2011-02-012-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. Change-Id: Ie5645c0838a5c9e7c0a24be2dc42061a0cb534dc
* | Fix CTS test crashKristian Monsen2011-02-011-4/+6
|/ | | | Change-Id: If7027193d456ec986e9a9d61edc958d97cc1b653
* 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
* | For textareas, do not use UI side layers.Leon Scroggins2011-01-312-17/+10
|/ | | | | | | | | Bug:3402831 Bug:3401242 Requires a change in frameworks/base. Change-Id: I4d7525cbf3a881fbe87f4bc624988fcb79cceab1
* Fixed element positioning fixTeng-Hui Zhu2011-01-302-0/+11
| | | | | | | | | | | | | | | | | | 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
* Merge "Add Plugin API for controling the device power states" into honeycombDerek Sollenberger2011-01-272-0/+21
|\
| * Add Plugin API for controling the device power statesDerek Sollenberger2011-01-272-0/+21
| | | | | | | | | | | | | | | | | | | | 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-272-0/+39
|/ | | | | | | Requires another CL in framework. https://android-git.corp.google.com/g/#change,93329 Change-Id: Ie623b55b6580d9761cc7de6b1b1708fbb2f0c633
* Merge "Final polish of the WebView accessibility support for JavaAcript ↵Svetoslav Ganov2011-01-262-242/+500
|\ | | | | | | disabled case" into honeycomb
| * Final polish of the WebView accessibility support for JavaAcript disabled caseSvetoslav Ganov2011-01-262-242/+500
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-2/+2
|\ \
| * | Fix hit testing inside layers.Patrick Scott2011-01-261-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "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-251-0/+3
|\ \ \ | |_|/ |/| |
| * | Use platform bridge to control high usage delta MB.Shimeng (Simon) Wang2011-01-241-0/+3
| |/ | | | | | | | | | | | | 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-242-10/+30
|\ \
| * | Wait until the focus changes to hide keyboard.Leon Scroggins2011-01-242-10/+30
| |/ | | | | | | | | | | 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
* | 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
* Line up text with WebTextView.Leon Scroggins2011-01-212-16/+34
| | | | | | | | | | | | | 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