summaryrefslogtreecommitdiffstats
path: root/WebKit
Commit message (Collapse)AuthorAgeFilesLines
* am 652e9a01: Migrate to new keycode constants in keycodes.h.Jeff Brown2010-07-133-11/+39
|\ | | | | | | | | | | | | Merge commit '652e9a017a7c5c772361bf57279fae0c26992329' into gingerbread-plus-aosp * commit '652e9a017a7c5c772361bf57279fae0c26992329': Migrate to new keycode constants in keycodes.h.
| * Migrate to new keycode constants in keycodes.h.Jeff Brown2010-07-133-11/+39
| | | | | | | | Change-Id: I523d6fab2964cec4610424f6fd7bbe86d38b7306
* | merge from open-source masterThe Android Open Source Project2010-07-091-1/+1
|\ \ | |/ |/| | | Change-Id: Ib725f9df8c1d3a5105a126bf9475ec060ac0a98a
| * Fix missing NLBruce Beare2010-06-251-1/+1
| | | | | | | | | | Change-Id: I6757ab42e52b9d878f06da4bdc757c4626e3d0c5 Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
* | am 75238a0c: am 2943c136: Fix the \'wobbling fixed elements\' bug. ↵Nicolas Roard2010-05-111-9/+19
|\ \ | |/ | | | | | | | | | | | | | | Cherry-picked from master. This CL has a corresponding java counterpart (https://android-git.corp.google.com/g/#change,51150). Merge commit '75238a0c6749b428ac76d812d1ab08bedaec5ee3' into kraken * commit '75238a0c6749b428ac76d812d1ab08bedaec5ee3': Fix the 'wobbling fixed elements' bug.
| * Fix the 'wobbling fixed elements' bug.Nicolas Roard2010-05-101-9/+19
| | | | | | | | | | | | | | | | Cherry-picked from master. This CL has a corresponding java counterpart (https://android-git.corp.google.com/g/#change,51150). Bug:2665696 Change-Id: I408a3e2f089a491c340e0f9eb8633870dae84997
* | am 6452300d: am d294ab99: Update plugin\'s dirtyRect to match the dirtyRect ↵Derek Sollenberger2010-05-031-0/+10
|\ \ | |/ | | | | | | | | | | | | | | returned when locking a surface. Merge commit '6452300d47d77d78e874862c5f7908746b04c1f8' into kraken * commit '6452300d47d77d78e874862c5f7908746b04c1f8': Update plugin's dirtyRect to match the dirtyRect returned when locking a surface.
| * Update plugin's dirtyRect to match the dirtyRect returned when locking a ↵Derek Sollenberger2010-05-031-0/+10
| | | | | | | | | | | | | | surface. Change-Id: I2c3e6daa10eb9eb651be52bf9387008f154b176d http://b/2650954
* | am 6ec27fea: am 5076efcd: don\'t hide transparent nodesCary Clark2010-04-221-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '6ec27fea860849da854f5c3bcfd7b4798b08efc0' into kraken * commit '6ec27fea860849da854f5c3bcfd7b4798b08efc0': don't hide transparent nodes
| * don't hide transparent nodesCary Clark2010-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | A node may be transparent if the body of the node is drawn earlier. In this case, the node may not be tested to see if it has been occluded by later drawing, since no drawing inside the scope of the node is actually visible. So, skip the hidden test for transparent nodes. Change-Id: Ib748e9e7b86252f791ee68198d1d794fb4591a88 http://b/2582455
* | am 0f92e845: am 55ab51c0: Merge "nextTextField may walk off the end or try ↵Cary Clark2010-04-225-34/+44
|\ \ | |/ | | | | | | | | | | | | | | invalid frames" into froyo Merge commit '0f92e845ed6499088958acf229f196ad67965f63' into kraken * commit '0f92e845ed6499088958acf229f196ad67965f63': nextTextField may walk off the end or try invalid frames
| * nextTextField may walk off the end or try invalid framesCary Clark2010-04-225-34/+44
| | | | | | | | | | | | | | | | | | | | | | Rewrote nextTextField() to check range and frame, and to more resemble other node walkers. Caller no longer passes uninitialized frame in focused case, and looks at parent frames after the target node. Change-Id: I7ea9dffb75d28bdd9d71d83921058feca6baf928 http://b/2607250
* | am 34a423ba: am 22804c07: Pass scroll mode to Java so that we can handle ↵Grace Kloba2010-04-142-0/+16
|\ \ | |/ | | | | | | | | | | | | | | overflow on html and body correctly. Merge commit '34a423ba5b431f032c09b5a6702b2cd3944bda3b' into kraken * commit '34a423ba5b431f032c09b5a6702b2cd3944bda3b': Pass scroll mode to Java so that we can handle
| * Pass scroll mode to Java so that we can handleGrace Kloba2010-04-132-0/+16
| | | | | | | | | | overflow on html and body correctly. Fix http://b/issue?id=2512549
* | don't hardcode "mSurface" throughout our source codeMathias Agopian2010-04-121-1/+1
|/ | | | | | | this is used in a few places to get access to the android.view.Surface native surface. use a macro instead. Also rename the field to mNativeSurface. Change-Id: Icb894b09b3c9a4878b4bfb4dd24f752fa5f0dcde
* Merge "Do not set touch state to TouchStationary as EventHandler doesn't ↵Grace Kloba2010-04-121-2/+5
|\ | | | | | | handle it. The result is preventDefault will be always false and trigger the unexpected behavior for Flash." into froyo
| * Do not set touch state to TouchStationary as EventHandlerGrace Kloba2010-04-091-2/+5
| | | | | | | | | | | | | | doesn't handle it. The result is preventDefault will be always false and trigger the unexpected behavior for Flash. Fix http://b/issue?id=2585109
* | Merge "Fix for Bug:2579468" into froyoNicolas Roard2010-04-082-5/+17
|\ \ | |/ |/|
| * Fix for Bug:2579468Nicolas Roard2010-04-082-5/+17
| | | | | | | | | | | | Instead of deleting the PluginTimer in unschedule(), we just flag it, and delete it if necessary when it fires. Change-Id: I55bdc38705204e0197917af4eb5bc2784553e68f
* | Fix bug that causes plugins not be notified of the change to theDerek Sollenberger2010-04-081-27/+31
|/ | | | | | | | visible screen dimensions as a result of pinch to zoom. http://b/2578820 Change-Id: I98576e9937ec469a1dfa7162954ac93e120bc149
* Merge "Revert "Mark positioned elements as needing a relayout when checking ↵Nicolas Roard2010-04-062-35/+1
|\ | | | | | | for hit test."" into froyo
| * Revert "Mark positioned elements as needing a relayout when checking for hit ↵Nicolas Roard2010-04-062-35/+1
| | | | | | | | | | | | | | | | | | | | | | test." Not needed anymore. This reverts commit 84b2cee4185865d37e64bb3cc7a9e1bd6051eb7c. Bug:2457215 Change-Id: I945e6ebe520b1490f4bf62809b4f375750f5c597
* | keep frames associated with regular hits and direct hitsCary Clark2010-04-063-5/+9
|/ | | | | | | | | | The hit test on the nav cache returns a node/frame pair. It looks for the closest hit, but gives priority to a direct hit. Track the frame associated with the direct hit separately, so that the correct node/frame pair is returned. Change-Id: Icb1e3de4a0aad3c6dd9b2b81669f9c7bbb260282 http://b/2316138
* Merge "Create a method to check to see if the focus has a following ↵Cary Clark2010-04-051-0/+10
|\ | | | | | | textfield." into froyo
| * Create a method to check to see if the focus has a following textfield.Leon Scroggins2010-03-311-0/+10
| | | | | | | | | | | | | | | | Fixes http://b/issue?id=2559070 Requires a change to frameworks/base. Change-Id: I450cb8ee109e9a1f38a7290032fb3ca948dcc71a
* | On demand plugins are now per-page, not per-object.Patrick Scott2010-04-022-4/+33
| | | | | | | | | | | | | | | | | | Traverse the frame tree and enable all plugins currently on the page. Remember the setting for any future plugins that are created. Reset the setting in makeRepresentation as that seems to be called for all new documents. Bug: 2564543 Change-Id: I558f068992719ee0236ba40f76b918b10cfe0ed9
* | Merge "Make sure the protocol is lower case in the redirect." into froyoPatrick Scott2010-03-311-6/+10
|\ \
| * | Make sure the protocol is lower case in the redirect.Patrick Scott2010-03-311-6/+10
| |/ | | | | | | | | Bug: 2560217 Change-Id: I22a7c854a4e043682eac8b92ca2dece256af76b8
* | If there is no find location then return early in findNext.Ben Murdoch2010-03-311-1/+1
|/ | | | | | Fix b/2558960 Change-Id: I1cc723913ab1e3eccb21eb60ab2fe2a458eb420c
* Add 2 pixel padding and draw 2 pixel border for flash-on-demand.Shimeng (Simon) Wang2010-03-291-3/+10
| | | | | Issue: 2411524 Change-Id: I04c94b8122cd85dda071a85f74a054a613b39e8c
* Remove a warning.Leon Scroggins III2010-03-251-1/+1
| | | | Change-Id: Iffd11a306df9a5140b3406e825185713d17d273e
* don't track layer node twiceCary Clark2010-03-252-1/+12
| | | | | | | | If a cache node is both in a layer and contains a layer, don't add it the second time. Change-Id: I45cc302e234565bfbc87649ca503f515b1f487e8 http://b/2543736
* Merge "Mark positioned elements as needing a relayout when checking for hit ↵Nicolas Roard2010-03-242-1/+35
|\ | | | | | | test. This is necessary when using composited fixed layers, as the layers position may have moved UI-side, while the webkit's related position of those layers may not have been updated yet."
| * Mark positioned elements as needing a relayout when checking for hit test.Nicolas Roard2010-03-242-1/+35
| | | | | | | | | | | | | | | | | | | | This is necessary when using composited fixed layers, as the layers position may have moved UI-side, while the webkit's related position of those layers may not have been updated yet. Fix Bug:2457215 Change-Id: If4f0e9c3d1a4786b29dcc7c2dc3510ba090b6a36
* | Merge "Fixes XHR requests to use the username and password supplied from ↵Steve Block2010-03-241-2/+10
|\ \ | | | | | | | | | JavaScript"
| * | Fixes XHR requests to use the username and password supplied from JavaScriptSteve Block2010-03-241-2/+10
| |/ | | | | | | | | | | | | | | | | Currently, the browser does not use the credentials supplied from JavaScript. If a request returns a 401 Unauthorized, the browser always prompts the user. This violates http://www.w3.org/TR/XMLHttpRequest/#the-send-method Bug: 2533522 Change-Id: Ic232003a3f321167810fc7263d6ecb654eeeb5eb
* | Fix the background of the placeholder.Patrick Scott2010-03-241-5/+8
|/ | | | | | | Draw a light gray 1 pixel border instead of using an asset. Bug: 2411524 Change-Id: Ibc95148e2bf13e0dcc58d747e3733cc6993dddf6
* Merge "Renders fixed layers with the root canvas matrix. Fix some ↵Nicolas Roard2010-03-241-1/+12
|\ | | | | | | positioning issues."
| * Renders fixed layers with the root canvas matrix. Fix some positioning issues.Nicolas Roard2010-03-241-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:2526966 Bug:1818168 The current rendering code exposes some issues with the fact that we have fixed layers in the layers hierarchy -- parents transformations are also applied to the fixed layers, which is not what we want (fixed layers should be applied on the original canvas, with the original transform -- e.g. toolbar present or not -- but no more). One previously discussed solution was to move the fixed layers to their own hierarchy; but doing so would mean to also redo all the z-index management that we already have in the current system. The simplest way is therefore to use the original matrix (the canvas' matrix) when we have a fixed layer. The way we do this is by inserting a new LayerAndroid before the LayerAndroid root, setting the matrix of that new root to be the canvas' matrix. The drawing is then unaffected, but we can ask skia to draw using the root's matrix. The second issue solved in the CL is some positioning troubles; layers may have different dimensions than their render view, and the previous code was considering that the views were always drawn at the origin in the layer. By removing the parents layers transforms, this is not the case anymore, and we therefore need to take the render view offset into account. Finally there is some additional debug code in LayerAndroid. Change-Id: Id353ad3dfd9808252643f0e4f0140dde67480719
* | Do not redirect data to our placeholder.Patrick Scott2010-03-241-1/+4
| | | | | | | | | | Bug: 2539312 Change-Id: I952b854cc65c5481e9fed04d2169b0f01536d5a4
* | Merge "Add on-demand plugin support."Patrick Scott2010-03-233-20/+138
|\ \
| * | Add on-demand plugin support.Patrick Scott2010-03-233-20/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Settings object now has an on-demand flag for plugins (this was to avoid more edits to webkit code). If plugins are on-demand and a plugin is installed that can handle the content, insert a placeholder widget. If the user clicks on the placeholder, the plugin will be enabled. The widget currently does not clip the context correctly. It only clips based on the widget frame. This is due to a bug (already filed) where the scroll offset is producing bad clip rectangles. Requires a framework change. Bug: 2411524 Change-Id: If3931da8da2339a2385ae78b609c49fa069892ab
* | | Merge "Allowing native code access to the application context as long as ↵Derek Sollenberger2010-03-233-1/+33
|\ \ \ | |/ / |/| | | | | there is at least one valid instance of the webviewcore class."
| * | Allowing native code access to the application context as long asDerek Sollenberger2010-03-233-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there is at least one valid instance of the webviewcore class. This change allows plugins access to the application context when the plugin package is loaded, prior to any instances of the plugin being created. Change-Id: I74a58cf76cc3c2d0ef7bca19346f13f58f616830
* | | Merge "Only replaced flash content if youtube app is installed. Fix for bug ↵Kristian Monsen2010-03-231-1/+6
|\ \ \ | |/ / |/| | | | | 2521517."
| * | Only replaced flash content if youtube app is installed. Fix for bug 2521517.Kristian Monsen2010-03-231-1/+6
| |/ | | | | | | Change-Id: Id1b2401728d03410a10bac6674450f5123b4785e
* | Use EmojiFoctory::GetShiftJisConverterName() instead of relying on static ↵Daisuke Miyakawa2010-03-231-2/+3
|/ | | | | | | | | string. This change should be with the change Iccbef288. Bug: 2327318 Change-Id: Ie67d6c1ef60d8e57784e903e3e00a73d3bec0f82
* Add a new API on the resource loader to pause the current load. We use this ↵Ben Murdoch2010-03-222-0/+21
| | | | | | | | | | | when the plugin cannot accept any more data to prevent WebKit buffering the data that the plugin can't take. This can result in a crash if the buffer gets too big (when watching an HD movie clip in flash, for example). Requires a frameworks/base change. Change-Id: Ibb63d38df1014ff70fa4d65275613cbf3a217c1a
* Merge "Implements layoutTestController.setAppCacheMaximumSize"Steve Block2010-03-221-1/+8
|\
| * Implements layoutTestController.setAppCacheMaximumSizeSteve Block2010-03-191-1/+8
| | | | | | | | Change-Id: I2cf3d3135fbd21158525866af458eb89f902fb66