OSDN Git Service
Grace Kloba [Tue, 6 Apr 2010 20:45:16 +0000 (13:45 -0700)]
am
5e9b4f88: Merge "When handling Fixed position, always relative to the top document." into froyo
Merge commit '
5e9b4f88ec0abb578823e8225ad9614c1ba58c6b' into froyo-plus-aosp
* commit '
5e9b4f88ec0abb578823e8225ad9614c1ba58c6b':
When handling Fixed position, always relative to
Grace Kloba [Tue, 6 Apr 2010 20:43:16 +0000 (13:43 -0700)]
Merge "When handling Fixed position, always relative to the top document." into froyo
Cary Clark [Tue, 6 Apr 2010 20:19:47 +0000 (13:19 -0700)]
am
e5b1750d: Merge "keep frames associated with regular hits and direct hits" into froyo
Merge commit '
e5b1750d38ff2208c180fe357355bf7e23e1d97d' into froyo-plus-aosp
* commit '
e5b1750d38ff2208c180fe357355bf7e23e1d97d':
keep frames associated with regular hits and direct hits
Cary Clark [Tue, 6 Apr 2010 20:17:25 +0000 (13:17 -0700)]
Merge "keep frames associated with regular hits and direct hits" into froyo
Cary Clark [Tue, 6 Apr 2010 20:07:01 +0000 (16:07 -0400)]
keep frames associated with regular hits and direct hits
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
Grace Kloba [Tue, 6 Apr 2010 04:59:09 +0000 (21:59 -0700)]
When handling Fixed position, always relative to
the top document.
Fix http://b/issue?id=
2281574
Andrei Popescu [Tue, 6 Apr 2010 17:59:40 +0000 (10:59 -0700)]
am
3dc27326: Cherry-pick https://bugs.webkit.org/show_bug.cgi?id=37150
Merge commit '
3dc27326d844c3fb48cdd88fd22b1c85e0abd0c0' into froyo-plus-aosp
* commit '
3dc27326d844c3fb48cdd88fd22b1c85e0abd0c0':
Cherry-pick https://bugs.webkit.org/show_bug.cgi?id=37150
Andrei Popescu [Tue, 6 Apr 2010 15:34:40 +0000 (16:34 +0100)]
Cherry-pick https://bugs.webkit.org/show_bug.cgi?id=37150
Check the frame's context at PageCache save and restore time to avoid crashing when it's null.
Fix bug:
2564844
Change-Id: Ifef3fcf271b1366d4f63c42da1a9ac08bb8b78ed
Cary Clark [Mon, 5 Apr 2010 18:35:32 +0000 (11:35 -0700)]
am
c0cc84d6: Merge "Create a method to check to see if the focus has a following textfield." into froyo
Merge commit '
c0cc84d6a4d0db0b39a9036bdbeb67f6c7e9e56e' into froyo-plus-aosp
* commit '
c0cc84d6a4d0db0b39a9036bdbeb67f6c7e9e56e':
Create a method to check to see if the focus has a following textfield.
Cary Clark [Mon, 5 Apr 2010 18:29:47 +0000 (11:29 -0700)]
Merge "Create a method to check to see if the focus has a following textfield." into froyo
Grace Kloba [Fri, 2 Apr 2010 23:14:15 +0000 (16:14 -0700)]
am
b721be96: Merge "When we stopUpdating(), we should cancel the outstanding timer." into froyo
Merge commit '
b721be96061253a7a8e35313bb5ee794d03d9af8' into froyo-plus-aosp
* commit '
b721be96061253a7a8e35313bb5ee794d03d9af8':
When we stopUpdating(), we should cancel the outstanding
Grace Kloba [Fri, 2 Apr 2010 23:09:33 +0000 (16:09 -0700)]
Merge "When we stopUpdating(), we should cancel the outstanding timer." into froyo
Grace Kloba [Fri, 2 Apr 2010 22:26:11 +0000 (15:26 -0700)]
When we stopUpdating(), we should cancel the outstanding
timer.
When timer fired, we should check m_lastError before
calling errorOccurred().
Fix http://b/issue?id=
2560897
Grace Kloba [Fri, 2 Apr 2010 20:13:44 +0000 (13:13 -0700)]
am
726a2501: Fix pluginstream delay timer as it is expecting seconds instead of milliseconds.
Merge commit '
726a250195dce8f58044e80342e99ec8c0fa98df' into froyo-plus-aosp
* commit '
726a250195dce8f58044e80342e99ec8c0fa98df':
Fix pluginstream delay timer as it is expecting seconds
The Android Open Source Project [Fri, 2 Apr 2010 18:08:51 +0000 (11:08 -0700)]
merge from open-source master
Change-Id: I87473a9657b8906b4933a7e22bf1125a65e44502
Grace Kloba [Fri, 2 Apr 2010 18:05:18 +0000 (11:05 -0700)]
Fix pluginstream delay timer as it is expecting seconds
instead of milliseconds.
While the timer is active, don't deliverData.
Fix http://b/issue?id=
2567300
Jean-Baptiste Queru [Fri, 2 Apr 2010 17:01:47 +0000 (10:01 -0700)]
Merge "Remove some oboslete code."
Patrick Scott [Fri, 2 Apr 2010 13:43:08 +0000 (09:43 -0400)]
On demand plugins are now per-page, not per-object.
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
Grace Kloba [Thu, 1 Apr 2010 16:49:56 +0000 (09:49 -0700)]
Merge "If "widget" is already existed in the HashMap when createScriptInstanceForWidget(widget) is called, we need to release the reference of the matching npObject to avoid leak." into froyo
Ben Murdoch [Thu, 1 Apr 2010 14:01:26 +0000 (15:01 +0100)]
Get the correct class name from the JVM when constructing arrays in the JNI bindings.
Also a change in packages/apps/Browser to update the unit tests for JNI bindings.
Fix for b/
2540502
Change-Id: Ia86a1ac672bd6653427ac0a969b4d40c86141415
Grace Kloba [Thu, 1 Apr 2010 07:18:59 +0000 (00:18 -0700)]
If "widget" is already existed in the HashMap when
createScriptInstanceForWidget(widget) is called,
we need to release the reference of the matching
npObject to avoid leak.
HTMLPlugInElement::getInstance() only calls
createScriptInstanceForWidget(widget) once. But
HTMLEmbedElement is using its closest ancestor who
has objectTag to get the widget. So the same widget
can exist in the HashMap if both <object> and its
child <embed>'s getInstance() are called.
Fix http://b/issue?id=
2553266
Grace Kloba [Wed, 31 Mar 2010 19:07:39 +0000 (12:07 -0700)]
Make sure html plugin element supports focus so that
plugin can call focus() on it.
By default, only nodes can be tabbed through supports
focus. We make plugin element like frame element where
it always supports focus. In Android, plugin has a
focused mode, so it requires this change.
Fix http://b/issue?id=
2539608
Leon Scroggins [Wed, 31 Mar 2010 19:29:25 +0000 (15:29 -0400)]
Create a method to check to see if the focus has a following textfield.
Fixes http://b/issue?id=
2559070
Requires a change to frameworks/base.
Change-Id: I450cb8ee109e9a1f38a7290032fb3ca948dcc71a
Patrick Scott [Wed, 31 Mar 2010 17:58:16 +0000 (10:58 -0700)]
Merge "Make sure the protocol is lower case in the redirect." into froyo
Patrick Scott [Wed, 31 Mar 2010 17:34:16 +0000 (13:34 -0400)]
Make sure the protocol is lower case in the redirect.
Bug:
2560217
Change-Id: I22a7c854a4e043682eac8b92ca2dece256af76b8
Ben Murdoch [Wed, 31 Mar 2010 14:28:16 +0000 (07:28 -0700)]
Merge "If there is no find location then return early in findNext." into froyo
Nicolas Roard [Wed, 31 Mar 2010 14:00:25 +0000 (07:00 -0700)]
Merge "Only allows composited layers if not in iframes" into froyo
Ben Murdoch [Wed, 31 Mar 2010 13:20:01 +0000 (14:20 +0100)]
If there is no find location then return early in findNext.
Fix b/
2558960
Change-Id: I1cc723913ab1e3eccb21eb60ab2fe2a458eb420c
Ben Murdoch [Wed, 31 Mar 2010 11:26:36 +0000 (04:26 -0700)]
Merge "Implement the V8 JNI bindings more completely." into froyo
Ben Murdoch [Mon, 29 Mar 2010 15:54:12 +0000 (16:54 +0100)]
Implement the V8 JNI bindings more completely.
Change-Id: I3b3d2bff84ee4a1039424cf1881e5d3d428127f9
Julien Chaffraix [Wed, 31 Mar 2010 01:52:35 +0000 (18:52 -0700)]
Remove old code that was fixed in WebKit r35902
This code was based on WebKit r30711 which has now been integrated into Android (this fix
was introduced in october 2008).
Change-Id: I1faf6e611dfe226771ca8f28ee6a9e0cd80535ae
Grace Kloba [Tue, 30 Mar 2010 17:50:04 +0000 (10:50 -0700)]
Merge "cherry-pick
74f79778892548221468d075f949acb3d4064368 to froyo" into froyo
Grace Kloba [Fri, 26 Mar 2010 06:15:06 +0000 (23:15 -0700)]
cherry-pick
74f79778892548221468d075f949acb3d4064368 to froyo
In Android, as we always remap the plugin from page
space to view space, we do want to update when the rect
in the page space changed. This should fix the bug where
the plugin is inside a fixed position. So even its
page coordinate changed when scrolling, its window
coordinate didn't change. We missed the update.
Fix http://b/issue?id=
2542934
Nicolas Roard [Tue, 30 Mar 2010 17:36:36 +0000 (18:36 +0100)]
Only allows composited layers if not in iframes
Bug:
2498776 and fix Bug:
2544493
Change-Id: I0041db690cbe7d80e8e092626a95e882a5afbe03
Andrei Popescu [Tue, 30 Mar 2010 17:28:39 +0000 (18:28 +0100)]
Fix build by removing PLATFORM macro from npapi.
Change-Id: I57d350a8933a1a4825cebb7c81d4ae944375f258
Cary Clark [Tue, 30 Mar 2010 17:25:50 +0000 (10:25 -0700)]
Merge "enable gifs for large memory devices" into froyo
Cary Clark [Tue, 30 Mar 2010 17:25:34 +0000 (10:25 -0700)]
Merge "correct rgba order for skia" into froyo
Cary Clark [Tue, 30 Mar 2010 17:18:39 +0000 (13:18 -0400)]
enable gifs for large memory devices
Change-Id: I801446e8255c113d5492935f2f91dc84b0d18164
http://b/
1745918
Mike Reed [Fri, 26 Mar 2010 14:53:44 +0000 (10:53 -0400)]
correct rgba order for skia
Change-Id: I368def139ab2b3c5c08807919152ca7379ab9b4f
http://b/
1745918
Andrei Popescu [Tue, 30 Mar 2010 16:54:23 +0000 (09:54 -0700)]
Merge "Ask the plugin how long to wait before calling NPN_WriteReady() again." into froyo
Andrei Popescu [Tue, 30 Mar 2010 15:10:16 +0000 (16:10 +0100)]
Ask the plugin how long to wait before calling NPN_WriteReady() again.
Change-Id: I46b25a5869e91e0075913caca5e57380f72f6107
Nicolas Roard [Tue, 30 Mar 2010 12:50:13 +0000 (05:50 -0700)]
Merge "Remove ANDROID_FIXED_ELEMENTS" into froyo
Nicolas Roard [Mon, 29 Mar 2010 23:56:29 +0000 (00:56 +0100)]
Remove ANDROID_FIXED_ELEMENTS
Bug:
2534420
Change-Id: Ieb93c8888a1d05dece3c817a8847e4f2c22a865a
Shimeng (Simon) Wang [Mon, 29 Mar 2010 21:56:55 +0000 (14:56 -0700)]
Add 2 pixel padding and draw 2 pixel border for flash-on-demand.
Issue:
2411524
Change-Id: I04c94b8122cd85dda071a85f74a054a613b39e8c
Andrei Popescu [Mon, 29 Mar 2010 16:43:47 +0000 (17:43 +0100)]
Make sure WebKit's page cache does not cache pages with unload handlers.
Fix b:
2552004
Change-Id: Iac6737fbb9a1eca734ea7474f99ccf66ee916bd7
Steve Block [Fri, 26 Mar 2010 11:15:43 +0000 (11:15 +0000)]
Cherry pick from master.
Cherry-picks WebKit change 56105 to eliminate use of bzero in WebKit common code
Note that manual changes were required to JNIUtilityPrivate.cpp as this file has
changed upstreamed, but the merge will be trivial.
See http://trac.webkit.org/changeset/56105
Bug:
2535696
Change-Id: I464a4aa78b1625961724b6001caba1c315ed9f91
Andrei Popescu [Mon, 29 Mar 2010 11:08:36 +0000 (12:08 +0100)]
Cherry pick patch in https://bugs.webkit.org/show_bug.cgi?id=36665
which adds V8 bindings for page cache.
Fix b:
2533219
Change-Id: I57f067adbbef76b4f8ec6c50b9e85fb2b7fc619a
Leon Scroggins III [Thu, 25 Mar 2010 17:01:13 +0000 (13:01 -0400)]
Remove a warning.
Change-Id: Iffd11a306df9a5140b3406e825185713d17d273e
Cary Clark [Thu, 25 Mar 2010 14:18:35 +0000 (10:18 -0400)]
don't track layer node twice
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
Dan Egnor [Wed, 24 Mar 2010 22:32:36 +0000 (15:32 -0700)]
Apparently this needs to happen again (at least, it did for my build).
Change-Id: I89dbec1be74da68afb2a03b75ad5bf87426d8889
Nicolas Roard [Wed, 24 Mar 2010 20:41:14 +0000 (13:41 -0700)]
Merge "Mark positioned elements as needing a relayout when checking for hit 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."
Nicolas Roard [Wed, 24 Mar 2010 18:27:42 +0000 (18:27 +0000)]
Mark positioned elements as needing a relayout when checking for hit 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.
Fix Bug:
2457215
Change-Id: If4f0e9c3d1a4786b29dcc7c2dc3510ba090b6a36
Kristian Monsen [Wed, 24 Mar 2010 19:35:36 +0000 (12:35 -0700)]
Merge "compile fix for V8 with debug builds"
Kristian Monsen [Wed, 24 Mar 2010 19:26:22 +0000 (19:26 +0000)]
compile fix for V8 with debug builds
Change-Id: Icffc7b0d5f9a9b2da66dca37c0c8d084c11491b7
Steve Block [Wed, 24 Mar 2010 18:28:50 +0000 (11:28 -0700)]
Merge "Fixes XHR requests to use the username and password supplied from JavaScript"
Patrick Scott [Wed, 24 Mar 2010 18:18:50 +0000 (14:18 -0400)]
Fix the background of the placeholder.
Draw a light gray 1 pixel border instead of using an asset.
Bug:
2411524
Change-Id: Ibc95148e2bf13e0dcc58d747e3733cc6993dddf6
Steve Block [Wed, 24 Mar 2010 16:27:17 +0000 (16:27 +0000)]
Fixes XHR requests to use the username and password supplied from JavaScript
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
Mike Reed [Wed, 24 Mar 2010 17:45:41 +0000 (10:45 -0700)]
Merge "drawRect is defined (in header) to always stroke with 1.0"
Mike Reed [Wed, 24 Mar 2010 17:33:09 +0000 (13:33 -0400)]
drawRect is defined (in header) to always stroke with 1.0
Change-Id: I95bef5b769c9b2637424ae4f22ccd19ed6e4ff9a
Nicolas Roard [Wed, 24 Mar 2010 17:22:54 +0000 (10:22 -0700)]
Merge "Renders fixed layers with the root canvas matrix. Fix some positioning issues."
Nicolas Roard [Fri, 19 Mar 2010 17:10:50 +0000 (17:10 +0000)]
Renders fixed layers with the root canvas matrix. Fix some positioning issues.
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
Grace Kloba [Wed, 24 Mar 2010 16:10:46 +0000 (09:10 -0700)]
Merge "Add a special case to handle "wap" style html."
Patrick Scott [Wed, 24 Mar 2010 13:50:27 +0000 (09:50 -0400)]
Do not redirect data to our placeholder.
Bug:
2539312
Change-Id: I952b854cc65c5481e9fed04d2169b0f01536d5a4
Grace Kloba [Tue, 23 Mar 2010 23:14:34 +0000 (16:14 -0700)]
Add a special case to handle "wap" style html.
If we get here, it is html mimetype, not wap mimetype.
Treat the "wap" style like "mobile" style by using
device-width as viewport width.
Fix http://b/issue?id=
2538320
Patrick Scott [Tue, 23 Mar 2010 20:36:20 +0000 (13:36 -0700)]
Merge "Add on-demand plugin support."
Patrick Scott [Tue, 23 Mar 2010 20:30:18 +0000 (13:30 -0700)]
Merge "Revert "Revive my change to not add anchor navigations to the history in some cases.""
Patrick Scott [Tue, 23 Mar 2010 20:27:00 +0000 (16:27 -0400)]
Revert "Revive my change to not add anchor navigations to the history in some cases."
This reverts commit
a6e5d463b2fbb6ad4e154719d6846231a32764a7.
Patrick Scott [Mon, 22 Mar 2010 14:09:16 +0000 (10:09 -0400)]
Add on-demand plugin support.
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
Derek Sollenberger [Tue, 23 Mar 2010 19:25:14 +0000 (12:25 -0700)]
Merge "Allowing native code access to the application context as long as there is at least one valid instance of the webviewcore class."
Derek Sollenberger [Tue, 23 Mar 2010 18:07:05 +0000 (14:07 -0400)]
Allowing native code access to the application context as long as
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
Kristian Monsen [Tue, 23 Mar 2010 16:37:55 +0000 (09:37 -0700)]
Merge "Only replaced flash content if youtube app is installed. Fix for bug
2521517."
Kristian Monsen [Tue, 23 Mar 2010 10:17:19 +0000 (10:17 +0000)]
Only replaced flash content if youtube app is installed. Fix for bug
2521517.
Change-Id: Id1b2401728d03410a10bac6674450f5123b4785e
Daisuke Miyakawa [Tue, 23 Mar 2010 02:07:30 +0000 (11:07 +0900)]
Use EmojiFoctory::GetShiftJisConverterName() instead of relying on static string.
This change should be with the change Iccbef288.
Bug:
2327318
Change-Id: Ie67d6c1ef60d8e57784e903e3e00a73d3bec0f82
Nicolas Roard [Mon, 22 Mar 2010 22:18:04 +0000 (15:18 -0700)]
Merge "Only enable composited fixed elements for mobile sites."
Nicolas Roard [Fri, 19 Mar 2010 11:51:19 +0000 (11:51 +0000)]
Only enable composited fixed elements for mobile sites.
We can consider a website as being a 'mobile' site if:
- the viewport width is either undefined (-1) or equal to device-width (0)
- no scaling is allowed
Change-Id: Id88257278312077a170eb10d9f666c46bad135b6
Ben Murdoch [Fri, 12 Mar 2010 20:46:03 +0000 (20:46 +0000)]
Add a new API on the resource loader to pause the current load. We use this 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
Steve Block [Mon, 22 Mar 2010 10:44:14 +0000 (03:44 -0700)]
Merge "Implements layoutTestController.setAppCacheMaximumSize"
Mike Reed [Fri, 19 Mar 2010 17:26:35 +0000 (13:26 -0400)]
use picture recording flag to speed up clipPath (and avoid asserts in very large edgelists)
override (and no-op) clipPath() in IsEmptyCanvas, same reasons as above.
Change-Id: I70b1565a11c1e314fdde507c1b2118b9aba651e6
Nicolas Roard [Fri, 19 Mar 2010 17:10:50 +0000 (17:10 +0000)]
Add back a missing ifdef
Change-Id: Ib0f0cf689e95b7333045df53ca645d34a0db21a4
Steve Block [Fri, 19 Mar 2010 15:31:42 +0000 (15:31 +0000)]
Implements layoutTestController.setAppCacheMaximumSize
Change-Id: I2cf3d3135fbd21158525866af458eb89f902fb66
Brian Carlstrom [Fri, 19 Mar 2010 00:46:38 +0000 (17:46 -0700)]
Merge "Fix comment from "WebView.LOAD_*" to "WebSettings.LOAD_*""
Brian Carlstrom [Fri, 19 Mar 2010 00:06:20 +0000 (17:06 -0700)]
Fix comment from "WebView.LOAD_*" to "WebSettings.LOAD_*"
While improving the javadoc for
android.webkit.BrowserFrame.startLoadingResource, I noticed that the
Java class metioned in the C++ comments was wrong.
Change-Id: Ibf6234735fc6b92b444f6cf3b4c6bb5c33675525
Shimeng (Simon) Wang [Thu, 18 Mar 2010 18:17:50 +0000 (11:17 -0700)]
Merge "Fill in appropriate referer URL plugin initiated resource loading."
Shimeng (Simon) Wang [Thu, 18 Mar 2010 17:13:46 +0000 (10:13 -0700)]
Fill in appropriate referer URL plugin initiated resource loading.
Didn't think of better way to code in the common code.
Bug:
2512527
Change-Id: Ie656ce1c399f238187045be41ece1fc2feefab90
Leon Scroggins [Thu, 18 Mar 2010 17:20:41 +0000 (10:20 -0700)]
Merge "Pass selection data along with message to open the keyboard."
Nicolas Roard [Thu, 18 Mar 2010 16:57:34 +0000 (09:57 -0700)]
Merge "Implement margin for fixed elements. Last missing piece to fix Bug:
2252505"
Leon Scroggins [Thu, 18 Mar 2010 16:43:35 +0000 (12:43 -0400)]
Pass selection data along with message to open the keyboard.
Fixes http://b/issue?id=
2431351
Requires a change to frameworks/base
Change-Id: I7f703746bdd00aaae2607a6a41ac4916f43d37b1
Nicolas Roard [Thu, 18 Mar 2010 16:35:27 +0000 (16:35 +0000)]
Implement margin for fixed elements.
Last missing piece to fix Bug:
2252505
Billmonk.com uses a centered fixed element with negative margins,
and we were not accounting for those...
Accounting for the margins move the fixed layer at the same place
than webkit think it is, and therefore clicks do work.
Change-Id: I6a736d06273df7d2bbc597c17ce042aa8b75b4e2
Steve Block [Thu, 18 Mar 2010 15:55:23 +0000 (08:55 -0700)]
Merge "Adds Android-specific results for an appcache layout test"
Nicolas Roard [Thu, 18 Mar 2010 15:35:01 +0000 (08:35 -0700)]
Merge "Fix click issues when using fixed elements. This CL also fix the positioning of a fixed layer when no position is defined, and also only use the screen to position only the fixed elements, not other types of positioned elements."
Steve Block [Thu, 18 Mar 2010 15:12:02 +0000 (15:12 +0000)]
Adds Android-specific results for an appcache layout test
Currently this test fails only because of textual differences in the console
message produced on Android.
Change-Id: I6f2e75b1bad9f3e8d7636d5f2b59b2d4b22fd779
Nicolas Roard [Wed, 17 Mar 2010 21:15:55 +0000 (21:15 +0000)]
Fix click issues when using fixed elements. This CL also fix the positioning
of a fixed layer when no position is defined, and also only use the screen
to position only the fixed elements, not other types of positioned elements.
Bug:
2521087
The click issues were due to not returning the fixed element when looking
for a parent stackingContext in RenderLayer::stackingContext().
This resulted in incorrect coordinates for the layers children of a
fixed layer, that we then had to recompute in
RenderLayer::convertToLayerCoords(), but this in turns was invaliding
hit test detection...
Fixed elements are now positioned relative to the screen instead of the
virtual viewport (ANDROID_FIXED_ELEMENTS); but this was applying
indiscriminantly to all positioned elements, absolute elements included.
The CL modify RenderBox::containingBlockWidthForPositioned() and
RenderBox::containingBlockHeightForPositioned() to only do this for
fixed elements.
Finally, fixed layers were wrongly positioned if the positions were not
fully set (e.g. only setting top:0 but no left or right). The change to
LayerAndroid::updateFixedLayersPositions() fixes this.
Change-Id: I07a179dd631a2bc1a313e33ffcf69ef388ecb7ca
Cary Clark [Thu, 18 Mar 2010 15:01:14 +0000 (11:01 -0400)]
window may not be initialized when plugin is first called
Change-Id: I37ba49b9cbd5170613f0d8e694aa79b49585a8ee
http://b/
2524032
Cary Clark [Wed, 17 Mar 2010 19:55:24 +0000 (15:55 -0400)]
get bounds of focused node
companion fix in framework/base
Change-Id: I7d9191ea9c95dafac7f7e91a70d02c7d055c6967
http://b/
2521087
Steve Block [Wed, 17 Mar 2010 19:22:09 +0000 (12:22 -0700)]
Merge "Fixes the Mac build"
Steve Block [Wed, 17 Mar 2010 18:23:16 +0000 (18:23 +0000)]
Fixes the Mac build
- JavaInstanceJSC.cpp - Adds ANDROID guards around some temporary logging
- Geolocation.cpp - Adds ANDROID guards around changes waiting to be upstreamed
- WebChromeClient.h / EmptyClients.h - Pulls the Mac part of a WebKit change for which only the Android part was cherry-picked in https://android-git.corp.google.com/g/#change,41747
Change-Id: Ide97cb6b05e78528fe4b9430466837dedaadc4cf
Patrick Scott [Wed, 17 Mar 2010 18:39:25 +0000 (11:39 -0700)]
Merge "Compare the client rather than the handle as the handle may not be set yet."
Patrick Scott [Wed, 17 Mar 2010 18:33:58 +0000 (14:33 -0400)]
Compare the client rather than the handle as the handle may not be set yet.
Bug:
2256744
Change-Id: I45baf86d56192c8752cb34f33795d2fa015ebe26
Steve Block [Wed, 17 Mar 2010 18:09:57 +0000 (11:09 -0700)]
Merge "Disable workers"
Steve Block [Wed, 17 Mar 2010 14:37:19 +0000 (14:37 +0000)]
Disable workers
This is because V8 on Android does not have the required locking.
Also disables channel messaging, which is used only with workers.
Bug:
2522239
Change-Id: I6cb91b4048c7e1a0351e422561625397a2e98986