OSDN Git Service

android-x86/external-webkit.git
13 years agoMerge "For textareas, do not use UI side layers." into honeycomb
Leon Scroggins [Mon, 31 Jan 2011 16:22:01 +0000 (08:22 -0800)]
Merge "For textareas, do not use UI side layers." into honeycomb

13 years agoFor textareas, do not use UI side layers.
Leon Scroggins [Mon, 31 Jan 2011 15:53:15 +0000 (10:53 -0500)]
For textareas, do not use UI side layers.

Bug:3402831
Bug:3401242

Requires a change in frameworks/base.

Change-Id: I4d7525cbf3a881fbe87f4bc624988fcb79cceab1

13 years agoFix for bug 2864795, pausing plugin network traffic.
Kristian Monsen [Mon, 31 Jan 2011 11:54:24 +0000 (11:54 +0000)]
Fix for bug 2864795, pausing plugin network traffic.

Change-Id: I1f9239af23d6c88883b620ba0cfdc1c66dddf03d

13 years agoFix repaint bug when changing viewport
Nicolas Roard [Mon, 31 Jan 2011 04:07:34 +0000 (20:07 -0800)]
Fix repaint bug when changing viewport

bug:3405986
Change-Id: I5ef5d9bc1041fabe5319e93180f94b521b07e93b

13 years agoFix GL error when initializing the browser
Nicolas Roard [Mon, 31 Jan 2011 03:04:54 +0000 (19:04 -0800)]
Fix GL error when initializing the browser

bug:3355704

may also fix bug:3383599

Change-Id: I77892c2e90c4edf054513de92b0c6bfba3152819

13 years agoFix temporary memory leak
Nicolas Roard [Mon, 31 Jan 2011 01:24:13 +0000 (17:24 -0800)]
Fix temporary memory leak

bug:3376517
Change-Id: If64b9385bc8e4d915597bd3f27b22c3d23f74a73

13 years agoAdd a ClassTracker class to more easily track leaks
Nicolas Roard [Sun, 30 Jan 2011 23:34:46 +0000 (15:34 -0800)]
Add a ClassTracker class to more easily track leaks

bug:3376517
Change-Id: Ieb419bc3140963ccbda3e2f130778ec53b2920aa

13 years agoMerge "Allocate bitmaps on the fly for layers" into honeycomb
Nicolas Roard [Sun, 30 Jan 2011 22:37:33 +0000 (14:37 -0800)]
Merge "Allocate bitmaps on the fly for layers" into honeycomb

13 years agoAllocate bitmaps on the fly for layers
Nicolas Roard [Sun, 30 Jan 2011 02:41:18 +0000 (18:41 -0800)]
Allocate bitmaps on the fly for layers

bug:3376517
Change-Id: I68cab08949302dd938b9c4753f9dfebd6c08e298

13 years agoMass merge from gingerbread - do not merge
The Android Open Source Project [Sun, 30 Jan 2011 20:40:26 +0000 (12:40 -0800)]
Mass merge from gingerbread - do not merge

Change-Id: I6859d8a69ffa177322b967af6f111c9937c74128

13 years agofix build break
Teng-Hui Zhu [Sun, 30 Jan 2011 19:21:31 +0000 (11:21 -0800)]
fix build break

Change-Id: I8aeef50c7b73665ec67ffeeb2194309a58de1e26

13 years agoMerge "Fixed element positioning fix" into honeycomb
Teng-Hui Zhu [Sun, 30 Jan 2011 18:37:31 +0000 (10:37 -0800)]
Merge "Fixed element positioning fix" into honeycomb

13 years agoFixed element positioning fix
Teng-Hui Zhu [Fri, 28 Jan 2011 22:00:43 +0000 (14:00 -0800)]
Fixed element positioning fix

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

13 years agoShare a single bitmap for all the base tiles.
Nicolas Roard [Sun, 30 Jan 2011 01:32:43 +0000 (17:32 -0800)]
Share a single bitmap for all the base tiles.
Reduce the memory usage from 64Mb to 48Mb on google.com

bug:3376517
Change-Id: Ia5c16c55edb0bbf6164c8cec8588f53543964ccd

13 years agoDraw extras on layers.
Nicolas Roard [Sun, 30 Jan 2011 00:30:56 +0000 (16:30 -0800)]
Draw extras on layers.

Fix a potential crash, and draw the extras.

bug:3372985 bug:3367026
Change-Id: I84be0733217c68b75a679de2212c10b891406d05

13 years agoFix for the draw extras -- we don't repaint enough in some cases.
Nicolas Roard [Sat, 29 Jan 2011 23:01:37 +0000 (15:01 -0800)]
Fix for the draw extras -- we don't repaint enough in some cases.

bug:3387206 bug:3396281
Change-Id: I059ae2ce1f95e9d8e1662abf11337c6b58031e66

13 years agoPrevent the browser's GL rendering loop when plugins are full-screen.
Derek Sollenberger [Sat, 29 Jan 2011 19:26:20 +0000 (14:26 -0500)]
Prevent the browser's GL rendering loop when plugins are full-screen.

bug: 3400065
Change-Id: I7b69ed836f2dd20160e5f89842be5ed856826e8c

13 years agoMerge "Add YUV shader for plugin video playback." into honeycomb
Derek Sollenberger [Sat, 29 Jan 2011 19:54:52 +0000 (11:54 -0800)]
Merge "Add YUV shader for plugin video playback." into honeycomb

13 years agoAdd YUV shader for plugin video playback.
Derek Sollenberger [Sat, 29 Jan 2011 17:45:19 +0000 (12:45 -0500)]
Add YUV shader for plugin video playback.

bug: 3072603
Change-Id: I8a7d9f04be2c40dbe5bc74e16cf4778ee3e712e4

13 years agoam 591ab58d: (-s ours) DO NOT MERGE - Move localstorage into private folder
John Reck [Sat, 29 Jan 2011 17:32:13 +0000 (09:32 -0800)]
am 591ab58d: (-s ours) DO NOT MERGE - Move localstorage into private folder

* commit '591ab58df1b16eb937b3438f3af26c1b97c658fd':
  DO NOT MERGE - Move localstorage into private folder

13 years agoFix flickering when drawing extras, as well as continuous repaint
Nicolas Roard [Sat, 29 Jan 2011 00:56:27 +0000 (16:56 -0800)]
Fix flickering when drawing extras, as well as continuous repaint
when extras are drawn.

bug:3396281 bug:3387206 bug:3345802
Change-Id: I445c3bbd27a4c11b7f1b2cf6702b00835172754b

13 years agoBe sure to only enable compositing for sibling
Nicolas Roard [Fri, 28 Jan 2011 22:56:23 +0000 (14:56 -0800)]
Be sure to only enable compositing for sibling
layers of a fixed element is actually composited...

Fixes the behaviour of the fixed toolbar on news.google.com

bug:3375416
Change-Id: I4f959ccf834dad43821f8eb6238bbd5d3b047d7f

13 years agoMerge "Fix for bug 3398340" into honeycomb
Kristian Monsen [Fri, 28 Jan 2011 18:47:06 +0000 (10:47 -0800)]
Merge "Fix for bug 3398340" into honeycomb

13 years agoMerge "Fix artifacts from clipped viewport." into honeycomb
Chet Haase [Fri, 28 Jan 2011 18:17:41 +0000 (10:17 -0800)]
Merge "Fix artifacts from clipped viewport." into honeycomb

13 years agoPart of fix for bug 3394040
Kristian Monsen [Thu, 27 Jan 2011 19:00:14 +0000 (19:00 +0000)]
Part of fix for bug 3394040

Sending messages through a ScopedRunnableMethodFactory,
and cancel them before deleting the request object.

Change-Id: I5c9f94d78790f7098af3c418b582aacbf3b4b712

13 years agoFix for bug 3398340
Kristian Monsen [Fri, 28 Jan 2011 16:28:21 +0000 (16:28 +0000)]
Fix for bug 3398340

Removed a variable that was never set, but still used

Change-Id: I180f631472a02ed512f6071a0760913c8ddf6e84

13 years agoMerge "Enable layers for fixed elements only for mobile websites" into honeycomb
Dave Burke [Fri, 28 Jan 2011 10:56:02 +0000 (02:56 -0800)]
Merge "Enable layers for fixed elements only for mobile websites" into honeycomb

13 years agoFix artifacts from clipped viewport.
Chet Haase [Fri, 28 Jan 2011 08:16:32 +0000 (00:16 -0800)]
Fix artifacts from clipped viewport.

We now noop the calls to drawGL if the current viewport is empty.

Change-Id: Id2a7b8ef38e150255cc55e24efbc93b6077a6dd8

13 years agoMerge "Add some debugging functions and some cleanup speeding things in Layers."...
Nicolas Roard [Fri, 28 Jan 2011 05:01:51 +0000 (21:01 -0800)]
Merge "Add some debugging functions and some cleanup speeding things in Layers." into honeycomb

13 years agoAdd some debugging functions and some cleanup speeding things in Layers.
Nicolas Roard [Fri, 28 Jan 2011 04:32:08 +0000 (20:32 -0800)]
Add some debugging functions and some cleanup speeding things in Layers.

bug:3375416

Change-Id: I92f75d1ae0aca9d8178673d2152e11d2401fd59e

13 years agoEnable layers for fixed elements only for mobile websites
Nicolas Roard [Fri, 28 Jan 2011 04:39:49 +0000 (20:39 -0800)]
Enable layers for fixed elements only for mobile websites

Change-Id: Ia3b626a1e8608d089ad67010e3e385b428456f95

13 years agoMerge "Add Plugin API for controling the device power states" into honeycomb
Derek Sollenberger [Thu, 27 Jan 2011 23:27:05 +0000 (15:27 -0800)]
Merge "Add Plugin API for controling the device power states" into honeycomb

13 years agoAdd Plugin API for controling the device power states
Derek Sollenberger [Thu, 27 Jan 2011 22:28:03 +0000 (17:28 -0500)]
Add Plugin API for controling the device power states

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

13 years agoMerge "b/3347670 Support installing online certs to the system keystore." into honeycomb
Huahui Wu [Thu, 27 Jan 2011 21:26:36 +0000 (13:26 -0800)]
Merge "b/3347670 Support installing online certs to the system keystore." into honeycomb

13 years agoMerge "Fix trying to prepare more tiles than are available to the page (which results...
Dave Burke [Thu, 27 Jan 2011 21:25:03 +0000 (13:25 -0800)]
Merge "Fix trying to prepare more tiles than are available to the page (which results in tiles getting taken that are being waited on becoming ready after a zoom). Fixes the issue where sometimes after a zoom the screen has blank parts until scrolled. There might be a better way to fix the underlying problem but this works and at least illuminates the problem. bug:3394298" into honeycomb

13 years agoMerge "Have different x-fade rates for zoom in vs zoom out. Tweak up transitions...
Dave Burke [Thu, 27 Jan 2011 21:23:59 +0000 (13:23 -0800)]
Merge "Have different x-fade rates for zoom in vs zoom out. Tweak up transitions to make zooming feel faster. bug:3394378" into honeycomb

13 years agoFix trying to prepare more tiles than are available to the page (which results in...
Dave Burke [Thu, 27 Jan 2011 18:33:10 +0000 (18:33 +0000)]
Fix trying to prepare more tiles than are available to the page (which results in tiles getting taken that are being waited on becoming ready after a zoom). Fixes the issue where sometimes after a zoom the screen has blank parts until scrolled. There might be a better way to fix the underlying problem but this works and at least illuminates the problem.
bug:3394298

Change-Id: I28158ecd7b6ec82c5bcf3d64436d363f510beb65

13 years agob/3347670 Support installing online certs to the system keystore.
Huahui Wu [Thu, 27 Jan 2011 05:55:20 +0000 (21:55 -0800)]
b/3347670 Support installing online certs to the system keystore.

Requires another CL in framework.
    https://android-git.corp.google.com/g/#change,93329

Change-Id: Ie623b55b6580d9761cc7de6b1b1708fbb2f0c633

13 years agoHave different x-fade rates for zoom in vs zoom out.
Dave Burke [Wed, 26 Jan 2011 19:21:28 +0000 (19:21 +0000)]
Have different x-fade rates for zoom in vs zoom out.
Tweak up transitions to make zooming feel faster.
bug:3394378

Change-Id: I39a7e5785c3ab44d0245267a3137e7f87489efcd

13 years agoMake sure we only post task to live requests
Kristian Monsen [Thu, 27 Jan 2011 13:00:50 +0000 (13:00 +0000)]
Make sure we only post task to live requests

Part one of fix for 3394040

Should be safe

Change-Id: I1f3a24be99248796bca1924b4ba6da3f0bd170d5

13 years agoWorking on Bug 2864795
Kristian Monsen [Thu, 27 Jan 2011 12:43:32 +0000 (12:43 +0000)]
Working on Bug 2864795

Plumbing pauseLoad a bit deeper, not adding functionality yet

Should be safe

Change-Id: I34856d0518090ca22485120f87e22a22f37c48df

13 years agoFirst part of fix for bug 2864795, not reading in a while lopp
Kristian Monsen [Wed, 26 Jan 2011 16:31:22 +0000 (16:31 +0000)]
First part of fix for bug 2864795, not reading in a while lopp

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

13 years agoam ffbb7741: (-s ours) DO NOT MERGE - Set 660 permissions on Appcache database
Steve Block [Thu, 27 Jan 2011 05:12:31 +0000 (21:12 -0800)]
am ffbb7741: (-s ours) DO NOT MERGE - Set 660 permissions on Appcache database

* commit 'ffbb7741a62dd5c598ac92875ddac101bbc665c9':
  DO NOT MERGE - Set 660 permissions on Appcache database

13 years agoam 200de028: (-s ours) DO NOT MERGE - Fixes webicon permissions
John Reck [Thu, 27 Jan 2011 05:12:28 +0000 (21:12 -0800)]
am 200de028: (-s ours) DO NOT MERGE - Fixes webicon permissions

* commit '200de028bfb928c1a488fa48bcbe72400d9e1202':
  DO NOT MERGE - Fixes webicon permissions

13 years agoam 05072627: (-s ours) DO NOT MERGE - Set 660 permissions on Geolocation cache DB
John Reck [Thu, 27 Jan 2011 05:12:25 +0000 (21:12 -0800)]
am 05072627: (-s ours) DO NOT MERGE - Set 660 permissions on Geolocation cache DB

* commit '05072627b62c5e316b9970492f76ce353e8c30fa':
  DO NOT MERGE - Set 660 permissions on Geolocation cache DB

13 years agoam a9186f56: (-s ours) DO NOT MERGE - Set 660 permissions on Geolocation permissions DB
John Reck [Thu, 27 Jan 2011 05:12:22 +0000 (21:12 -0800)]
am a9186f56: (-s ours) DO NOT MERGE - Set 660 permissions on Geolocation permissions DB

* commit 'a9186f56580d978bfcb197fc1ac726a3a092ff01':
  DO NOT MERGE - Set 660 permissions on Geolocation permissions DB

13 years agoMerge "Fix bug 3299946 - Holo-fy focus and selection color scheme." into honeycomb
Adam Powell [Thu, 27 Jan 2011 03:00:23 +0000 (19:00 -0800)]
Merge "Fix bug 3299946 - Holo-fy focus and selection color scheme." into honeycomb

13 years agoFix bug 3299946 - Holo-fy focus and selection color scheme.
Adam Powell [Thu, 27 Jan 2011 01:05:28 +0000 (17:05 -0800)]
Fix bug 3299946 - Holo-fy focus and selection color scheme.

* Honeycomb-themed selection ring

* Match text selection color scheme to framework assets

Change-Id: I8a4817c7998d7009f1b00d6ad548d54545de0c78

13 years agoMerge "Initial pass at a video API for plugins." into honeycomb
Derek Sollenberger [Wed, 26 Jan 2011 23:39:46 +0000 (15:39 -0800)]
Merge "Initial pass at a video API for plugins." into honeycomb

13 years agoInitial pass at a video API for plugins.
Derek Sollenberger [Tue, 25 Jan 2011 23:02:00 +0000 (18:02 -0500)]
Initial pass at a video API for plugins.

bug: 3072603
Change-Id: Ie22d289a93682dfd68cf81f5220d658d45a69d81

13 years agoMerge "Fix the flickering bug. We return any previous textures used by the layer...
Nicolas Roard [Wed, 26 Jan 2011 23:00:58 +0000 (15:00 -0800)]
Merge "Fix the flickering bug. We return any previous textures used by the layer until we get the new one ready." into honeycomb

13 years agoFix the flickering bug. We return any previous textures used by the
Nicolas Roard [Wed, 26 Jan 2011 22:46:30 +0000 (14:46 -0800)]
Fix the flickering bug. We return any previous textures used by the
layer until we get the new one ready.

bug:3391157 bug:3393571
Change-Id: I81dce23f79be788c3c0bfb0ccfd54d08156dfe3f

13 years agoMerge "Final polish of the WebView accessibility support for JavaAcript disabled...
Svetoslav Ganov [Wed, 26 Jan 2011 22:39:43 +0000 (14:39 -0800)]
Merge "Final polish of the WebView accessibility support for JavaAcript disabled case" into honeycomb

13 years agoMerge "Fix hit testing inside layers." into honeycomb
Patrick Scott [Wed, 26 Jan 2011 21:50:11 +0000 (13:50 -0800)]
Merge "Fix hit testing inside layers." into honeycomb

13 years agoFix hit testing inside layers.
Patrick Scott [Wed, 26 Jan 2011 19:32:43 +0000 (14:32 -0500)]
Fix hit testing inside layers.

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

13 years agoFinal polish of the WebView accessibility support for JavaAcript disabled case
Svetoslav Ganov [Fri, 14 Jan 2011 19:34:30 +0000 (11:34 -0800)]
Final polish of the WebView accessibility support for JavaAcript disabled case

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

13 years agoMerge "Call back loadstarted when the URL is loaded again in URL bar." into honeycomb
Shimeng (Simon) Wang [Wed, 26 Jan 2011 17:12:06 +0000 (09:12 -0800)]
Merge "Call back loadstarted when the URL is loaded again in URL bar." into honeycomb

13 years agoMerge "Plugin API to allow for y-axis inversion during rendering." into honeycomb
Derek Sollenberger [Wed, 26 Jan 2011 16:14:27 +0000 (08:14 -0800)]
Merge "Plugin API to allow for y-axis inversion during rendering." into honeycomb

13 years agoPlugin API to allow for y-axis inversion during rendering.
Derek Sollenberger [Wed, 26 Jan 2011 14:58:09 +0000 (09:58 -0500)]
Plugin API to allow for y-axis inversion during rendering.

bug: 3393314
Change-Id: I913a6c073fe9ba56c14cdbcaa523b6e5a5af5219

13 years agoMerge "Implement a workaround for the texture corruption" into honeycomb
Nicolas Roard [Wed, 26 Jan 2011 03:01:55 +0000 (19:01 -0800)]
Merge "Implement a workaround for the texture corruption" into honeycomb

13 years agoImplement a workaround for the texture corruption
Nicolas Roard [Tue, 25 Jan 2011 23:51:14 +0000 (15:51 -0800)]
Implement a workaround for the texture corruption

bug:3332441
Change-Id: Ifd5dfa8a5d7718ad754a8a7984b871bb84147f37

13 years agoAuto fixed element positioning fix
Teng-Hui Zhu [Tue, 25 Jan 2011 19:17:58 +0000 (11:17 -0800)]
Auto fixed element positioning fix

Webkit is using the transformation to compute the fixed element position.
In order to simulate that, we need the Render Layer's position info.

bug:3368857
Change-Id: If15c43f76bd528b2e67ac5035c8ba4a0c803e812

13 years agoCall back loadstarted when the URL is loaded again in URL bar.
Shimeng (Simon) Wang [Tue, 25 Jan 2011 22:52:51 +0000 (14:52 -0800)]
Call back loadstarted when the URL is loaded again in URL bar.

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

13 years agoMerge "Sync the parent layer's children." into honeycomb
Patrick Scott [Tue, 25 Jan 2011 19:39:43 +0000 (11:39 -0800)]
Merge "Sync the parent layer's children." into honeycomb

13 years agoSync the parent layer's children.
Patrick Scott [Tue, 25 Jan 2011 19:28:50 +0000 (14:28 -0500)]
Sync the parent layer's children.

Since we are being removed from our parent, our children do not matter.  Sync
the parent's children to show the right content.

Bug: 3353525
Change-Id: Id8ab4d0373d950362caa14d8fc558f753d5a7365

13 years agoDO NOT MERGE - Move localstorage into private folder
John Reck [Tue, 11 Jan 2011 01:34:57 +0000 (17:34 -0800)]
DO NOT MERGE - Move localstorage into private folder

 Bug: 32583863244281
 Move all the localstorage databases into their own private
 subfolder without global execute permission

Change-Id: I53575fee65a3f835782f61f715d7e7303926116b

13 years agoFix invalid draw events when the plugin is injected into a loaded page
Derek Sollenberger [Tue, 25 Jan 2011 19:00:37 +0000 (14:00 -0500)]
Fix invalid draw events when the plugin is injected into a loaded page

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

13 years agoMerge "Prevent timer from deleting itself twice." into honeycomb
Derek Sollenberger [Tue, 25 Jan 2011 19:02:02 +0000 (11:02 -0800)]
Merge "Prevent timer from deleting itself twice." into honeycomb

13 years agoMerge "Fix crash in LayerAndroid::addAnimation" into honeycomb
Ben Murdoch [Tue, 25 Jan 2011 18:55:01 +0000 (10:55 -0800)]
Merge "Fix crash in LayerAndroid::addAnimation" into honeycomb

13 years agoMerge "Merge WebKit at Chromium 9.0.597.83: Update WebKit revision number." into...
Ben Murdoch [Tue, 25 Jan 2011 18:35:36 +0000 (10:35 -0800)]
Merge "Merge WebKit at Chromium 9.0.597.83: Update WebKit revision number." into honeycomb

13 years agoMerge "Merge WebKit at Chromium 9.0.597.83: Trivial merge by git." into honeycomb
Ben Murdoch [Tue, 25 Jan 2011 18:35:29 +0000 (10:35 -0800)]
Merge "Merge WebKit at Chromium 9.0.597.83: Trivial merge by git." into honeycomb

13 years agoPrevent timer from deleting itself twice.
Derek Sollenberger [Tue, 25 Jan 2011 18:02:16 +0000 (13:02 -0500)]
Prevent timer from deleting itself twice.

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

13 years agoMerge "Move localstorage into private folder" into honeycomb
John Reck [Tue, 25 Jan 2011 18:29:06 +0000 (10:29 -0800)]
Merge "Move localstorage into private folder" into honeycomb

13 years agoMerge "Use platform bridge to control high usage delta MB." into honeycomb
Shimeng (Simon) Wang [Tue, 25 Jan 2011 18:27:36 +0000 (10:27 -0800)]
Merge "Use platform bridge to control high usage delta MB." into honeycomb

13 years agoUse an integer to keep track of the blurring node.
Leon Scroggins [Tue, 25 Jan 2011 14:23:26 +0000 (09:23 -0500)]
Use an integer to keep track of the blurring node.

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

13 years agoFix crash in LayerAndroid::addAnimation
Ben Murdoch [Tue, 25 Jan 2011 12:23:52 +0000 (12:23 +0000)]
Fix crash in LayerAndroid::addAnimation

Transfer PassRefPtr to RefPtr. Credit to Jason Simmons for the fix.

Bug:3385803
Change-Id: Id148923e95d5628a625c87fe093b85dd381e781e

13 years agoMerge WebKit at Chromium 9.0.597.83: Update WebKit revision number.
Ben Murdoch [Tue, 25 Jan 2011 11:44:03 +0000 (11:44 +0000)]
Merge WebKit at Chromium 9.0.597.83: Update WebKit revision number.

Change-Id: Ie6cc93dc813c7014ab13015a904b7d9a1706e193

13 years agoMerge WebKit at Chromium 9.0.597.83: Trivial merge by git.
Ben Murdoch [Tue, 25 Jan 2011 11:33:58 +0000 (11:33 +0000)]
Merge WebKit at Chromium 9.0.597.83: Trivial merge by git.

Change-Id: I027931929980a55d4d5e883f659c116c77dbb2a9

13 years agoFix "jumpy" mode and textfield input
Nicolas Roard [Tue, 25 Jan 2011 08:32:11 +0000 (00:32 -0800)]
Fix "jumpy" mode and textfield input

bug:3382562
bug:3384930
Change-Id: I55b97cacc9c50ae5a0b5dfc39658bb63c8aa9e87

13 years agoMerge "Improve layers repaint mechanism" into honeycomb
Nicolas Roard [Tue, 25 Jan 2011 03:09:25 +0000 (19:09 -0800)]
Merge "Improve layers repaint mechanism" into honeycomb

13 years agoImprove layers repaint mechanism
Nicolas Roard [Mon, 24 Jan 2011 22:25:33 +0000 (14:25 -0800)]
Improve layers repaint mechanism

bug:3375416

Change-Id: I9e86736c9f7910765bea739cdd0e04331b98f155

13 years agoMerge "Wait until the focus changes to hide keyboard." into honeycomb
Leon Scroggins [Mon, 24 Jan 2011 23:02:40 +0000 (15:02 -0800)]
Merge "Wait until the focus changes to hide keyboard." into honeycomb

13 years agoMerge "Only revealSelection if scale has not changed." into honeycomb
Leon Scroggins [Mon, 24 Jan 2011 22:36:03 +0000 (14:36 -0800)]
Merge "Only revealSelection if scale has not changed." into honeycomb

13 years agoWait until the focus changes to hide keyboard.
Leon Scroggins [Mon, 24 Jan 2011 20:21:12 +0000 (15:21 -0500)]
Wait until the focus changes to hide keyboard.

Bug:3376680

Change-Id: Ib5636a27183fbd94aff6817e0a5641c40db28649

13 years agoMerge "Fix for bug 3380288" into honeycomb
Bart Sears [Mon, 24 Jan 2011 21:58:08 +0000 (13:58 -0800)]
Merge "Fix for bug 3380288" into honeycomb

13 years agoOnly revealSelection if scale has not changed.
Leon Scroggins [Mon, 24 Jan 2011 21:50:32 +0000 (16:50 -0500)]
Only revealSelection if scale has not changed.

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

13 years agoMerge "Work around for pure virtual layers crash." into honeycomb
Nicolas Roard [Mon, 24 Jan 2011 21:27:17 +0000 (13:27 -0800)]
Merge "Work around for pure virtual layers crash." into honeycomb

13 years agoUse platform bridge to control high usage delta MB.
Shimeng (Simon) Wang [Fri, 21 Jan 2011 23:09:09 +0000 (15:09 -0800)]
Use platform bridge to control high usage delta MB.

This change gives flexibility to change that value in Java side.

issue: 3317722
Change-Id: I71a548871783cc604e0daec63e6bbfb26ecc1e1f

13 years agoMove localstorage into private folder
John Reck [Tue, 11 Jan 2011 01:34:57 +0000 (17:34 -0800)]
Move localstorage into private folder

 Bug: 3244281
 Move all the localstorage databases into their own private
 subfolder without global execute permission

Change-Id: I0fbd068365f8d2de3242e4e737f00649e321a92c

13 years agoOptimize display lists by caching drawGL function pointer.
Chet Haase [Mon, 24 Jan 2011 00:15:31 +0000 (16:15 -0800)]
Optimize display lists by caching drawGL function pointer.

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

13 years agoFix for bug 3380288
Kristian Monsen [Mon, 24 Jan 2011 11:11:57 +0000 (11:11 +0000)]
Fix for bug 3380288

Cannot create a WebRequestContext before we know if
we should use private mode or not.

Change-Id: I82b0dd67342a381ea1764c4d0457386ff7980be4

13 years agoWork around for pure virtual layers crash.
Ben Murdoch [Mon, 24 Jan 2011 11:50:25 +0000 (11:50 +0000)]
Work around for pure virtual layers crash.

TextureOwner can be left still owning a texture when we come to
delete that TextureOwner. Then later the texture it still owns tries to
access it's owner and we crash.

Work around by explicity releasing any owned textures when we delete
the texture owner.

Bug:3367855

Change-Id: I38877b7088d27f51d98cfd182d937fe5cb3b9f8d

13 years agoRemove logs
Nicolas Roard [Mon, 24 Jan 2011 01:13:22 +0000 (17:13 -0800)]
Remove logs

bug:3379585
Change-Id: Ica133d128f940a71afdd44130735eab11e4daf4e

13 years agoImplement tiles synchronization
Nicolas Roard [Sun, 23 Jan 2011 23:01:19 +0000 (15:01 -0800)]
Implement tiles synchronization
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

13 years agoLine up text with WebTextView.
Leon Scroggins [Fri, 21 Jan 2011 16:57:40 +0000 (11:57 -0500)]
Line up text with WebTextView.

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

13 years agoDo not dismiss the keyboard if the plugin is the focused node.
Derek Sollenberger [Fri, 21 Jan 2011 19:25:40 +0000 (14:25 -0500)]
Do not dismiss the keyboard if the plugin is the focused node.

bug: 3332478
Change-Id: I358ed2c828e39adc8d6e80eaaa0071854e03c655

13 years agoVideo doesn't use a layer as we hand it off to the fullscreen player.
Ben Murdoch [Fri, 21 Jan 2011 15:38:50 +0000 (15:38 +0000)]
Video doesn't use a layer as we hand it off to the fullscreen player.

Fix null pointer deref.

Bug:3364538
Change-Id: Iafeecd81ec422de6e17ec8a0c36c29e4fcf7fc74

13 years agorelocate the glFinish to prevent it from needlessly executing.
Derek Sollenberger [Thu, 20 Jan 2011 23:48:41 +0000 (18:48 -0500)]
relocate the glFinish to prevent it from needlessly executing.

bug: 3374501
Change-Id: Idb6836cb8e3919066d77cbcca8b09a6f261dae31

13 years agoMerge "Fix deadlock in textures generator" into honeycomb
Nicolas Roard [Thu, 20 Jan 2011 21:19:34 +0000 (13:19 -0800)]
Merge "Fix deadlock in textures generator" into honeycomb

13 years agoFix deadlock in textures generator
Nicolas Roard [Thu, 20 Jan 2011 21:02:46 +0000 (13:02 -0800)]
Fix deadlock in textures generator

bug:3373656
Change-Id: If6428b88a135fe1184e92bf345ddbae349622c94