OSDN Git Service

android-x86/external-webkit.git
12 years agoMerge "Fixing issues needed to get Ganesh working with SurfaceTextures."
Derek Sollenberger [Mon, 15 Aug 2011 19:44:17 +0000 (12:44 -0700)]
Merge "Fixing issues needed to get Ganesh working with SurfaceTextures."

12 years agoFixing issues needed to get Ganesh working with SurfaceTextures.
Derek Sollenberger [Fri, 12 Aug 2011 20:16:59 +0000 (16:16 -0400)]
Fixing issues needed to get Ganesh working with SurfaceTextures.

bug: 5013645
Change-Id: I255a19c68d8a98231b1500d93d21649d15d70820

12 years agoMerge "Remove old code handling SurfTex RGBA in 2D mode"
Teng-Hui Zhu [Fri, 12 Aug 2011 17:46:50 +0000 (10:46 -0700)]
Merge "Remove old code handling SurfTex RGBA in 2D mode"

12 years agoMerge changes I08b329cd,I06a7975d
Kristian Monsen [Fri, 12 Aug 2011 10:11:07 +0000 (03:11 -0700)]
Merge changes I08b329cd,I06a7975d

* changes:
  Part of fix for bug 5152544 Reduce the number of warning, int and size_t
  Part of fix for bug 5152544 Reduce the number of warning

12 years agoMerge "Force canvas scale factor to 1."
Ben Murdoch [Fri, 12 Aug 2011 09:36:29 +0000 (02:36 -0700)]
Merge "Force canvas scale factor to 1."

12 years agoRemove old code handling SurfTex RGBA in 2D mode
Teng-Hui Zhu [Thu, 11 Aug 2011 22:33:38 +0000 (15:33 -0700)]
Remove old code handling SurfTex RGBA in 2D mode

bug:4982054

Change-Id: Ic8c559df84af0cd1ad27c281eadbc6adf74bea68

12 years agoMerge "Remove ANativeWindow call to avoid blocking call"
Chris Craik [Thu, 11 Aug 2011 22:23:37 +0000 (15:23 -0700)]
Merge "Remove ANativeWindow call to avoid blocking call"

12 years agoRemove ANativeWindow call to avoid blocking call
Chris Craik [Thu, 11 Aug 2011 21:06:51 +0000 (14:06 -0700)]
Remove ANativeWindow call to avoid blocking call

bug:5114637

Determine alpha blending through surface texture instead of ANativeWindow call.
Should no longer break the gpl build...

Change-Id: Iacc733c29413f0302304b78f378a003d690199f0

12 years agoMerge "Fix crash issue with drawing retain layers as needed"
Nicolas Roard [Thu, 11 Aug 2011 20:54:45 +0000 (13:54 -0700)]
Merge "Fix crash issue with drawing retain layers as needed"

12 years agoFix crash issue with drawing
Nicolas Roard [Thu, 11 Aug 2011 18:51:35 +0000 (11:51 -0700)]
Fix crash issue with drawing
retain layers as needed

bug:4177062
Change-Id: Ifd8d493c8ed3b13eedece260136be873f6701fed

12 years agoPart of fix for bug 5152544 Reduce the number of warning, int and size_t
Kristian Monsen [Thu, 11 Aug 2011 15:19:08 +0000 (16:19 +0100)]
Part of fix for bug 5152544 Reduce the number of warning, int and size_t

Don't compare and use size_t with int

Change-Id: I08b329cdb192fa031acae5a90cd6ad6d8ec39aea

12 years agoPart of fix for bug 5152544 Reduce the number of warning
Kristian Monsen [Thu, 11 Aug 2011 14:50:36 +0000 (15:50 +0100)]
Part of fix for bug 5152544 Reduce the number of warning

Change-Id: I06a7975d6b08f01731b8bd1761141e3aba942393

12 years agoForce canvas scale factor to 1.
Ben Murdoch [Thu, 11 Aug 2011 15:10:18 +0000 (16:10 +0100)]
Force canvas scale factor to 1.

This Android modification was lost over the course of two WebKit
merges and means that we are allocating the backing images for
canvas significantly larger than they need to be.

For the original change, see Change-Id:
I9652d6b88e01f27d69c804ac6bc56b527b33c219

Bug: 5142892
Change-Id: I01549c017cc3b8d683b273948826433c6451de72

12 years agoMerge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS...
Kristian Monsen [Thu, 11 Aug 2011 10:02:20 +0000 (03:02 -0700)]
Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2"

12 years agoMerge "Fix missing tiles"
Nicolas Roard [Wed, 10 Aug 2011 23:18:29 +0000 (16:18 -0700)]
Merge "Fix missing tiles"

12 years agoFix missing tiles
Nicolas Roard [Wed, 10 Aug 2011 23:06:52 +0000 (16:06 -0700)]
Fix missing tiles

bug:5123881

Change-Id: Ia3f5e76bc38f32c756cb4e108fe153dd8e103bf3

12 years agoMerge "Fix property access in the Java bridge"
Steve Block [Wed, 10 Aug 2011 17:04:48 +0000 (10:04 -0700)]
Merge "Fix property access in the Java bridge"

12 years agoMerge "Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and JavaNPObj...
Steve Block [Wed, 10 Aug 2011 16:27:16 +0000 (09:27 -0700)]
Merge "Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and JavaNPObjectGetProperty()"

12 years agoTesting for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2
Kristian Monsen [Wed, 10 Aug 2011 14:09:22 +0000 (15:09 +0100)]
Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2

Trying to build with static libchromium on the build server.

Change-Id: I6ee74f769e51ea7506c7bf1a835f84b351be1774

12 years agoFix property access in the Java bridge
Steve Block [Wed, 10 Aug 2011 12:42:55 +0000 (13:42 +0100)]
Fix property access in the Java bridge

This patch fixes JavaInstanceJobject::getField() to use getJNIField()
correctly.

Bug: 5140493

Change-Id: Ib29fe0a010535f3a8dc2b9084c4e4440169971b2

12 years agoMerge "Revert "Remove ANativeWindow call to avoid blocking call""
Chris Craik [Wed, 10 Aug 2011 00:48:07 +0000 (17:48 -0700)]
Merge "Revert "Remove ANativeWindow call to avoid blocking call""

12 years agoRevert "Remove ANativeWindow call to avoid blocking call"
Chris Craik [Wed, 10 Aug 2011 00:41:14 +0000 (17:41 -0700)]
Revert "Remove ANativeWindow call to avoid blocking call"

This reverts commit aa809ca82529a9d546f50918830d075daea08a91

12 years agoMerge "Remove ANativeWindow call to avoid blocking call"
Chris Craik [Wed, 10 Aug 2011 00:22:20 +0000 (17:22 -0700)]
Merge "Remove ANativeWindow call to avoid blocking call"

12 years agoRemove ANativeWindow call to avoid blocking call
Chris Craik [Tue, 9 Aug 2011 22:40:21 +0000 (15:40 -0700)]
Remove ANativeWindow call to avoid blocking call

bug:5114637

Determine alpha blending through surface texture instead of ANativeWindow call.

Change-Id: I5a56178047b7f7782bbd3b736e98f0d5965c1c2b

12 years agoMerge "Plumb a bool through to Java to supress auth dialog."
Ben Murdoch [Tue, 9 Aug 2011 18:55:32 +0000 (11:55 -0700)]
Merge "Plumb a bool through to Java to supress auth dialog."

12 years agoMerge "Revert "Disable Crankshaft at runtime for performace testing.""
Ben Murdoch [Tue, 9 Aug 2011 18:37:27 +0000 (11:37 -0700)]
Merge "Revert "Disable Crankshaft at runtime for performace testing.""

12 years agoRevert "Disable Crankshaft at runtime for performace testing."
Ben Murdoch [Tue, 9 Aug 2011 17:26:14 +0000 (18:26 +0100)]
Revert "Disable Crankshaft at runtime for performace testing."

This reverts commit 7178bcff68f2abc8fefe50fa62b7043663034c05.

Bug: 5052287

12 years agoMerge "Fix for bug 5104510 Log chromium values of unknown browser errors"
Kristian Monsen [Tue, 9 Aug 2011 14:44:25 +0000 (07:44 -0700)]
Merge "Fix for bug 5104510 Log chromium values of unknown browser errors"

12 years agoFix ANR in webkit
Nicolas Roard [Mon, 8 Aug 2011 22:57:28 +0000 (15:57 -0700)]
Fix ANR in webkit

bug:5128336
Change-Id: I591882eb9bd96a04fd34299a8bf76d35a9462d94

12 years agoPrevious commit was missing a chunk of code...
Nicolas Roard [Mon, 8 Aug 2011 21:25:15 +0000 (14:25 -0700)]
Previous commit was missing a chunk of code...

bug:5121768
Change-Id: Ie0065bca023b9a8470970ba15f5837f600fe4afb

12 years agoMerge "Return NativeWindow on subsequent requests for the plugin's surface."
Derek Sollenberger [Mon, 8 Aug 2011 19:45:36 +0000 (12:45 -0700)]
Merge "Return NativeWindow on subsequent requests for the plugin's surface."

12 years agoMerge "Fix memory leak in WebKit's NinePatch code."
Derek Sollenberger [Mon, 8 Aug 2011 19:44:47 +0000 (12:44 -0700)]
Merge "Fix memory leak in WebKit's NinePatch code."

12 years agoMerge "Fix crashes on plus.google.com and reduce the number of necessary layers"
Nicolas Roard [Mon, 8 Aug 2011 19:05:00 +0000 (12:05 -0700)]
Merge "Fix crashes on plus.google.com and reduce the number of necessary layers"

12 years agoMerge "Fix a potential sync problem for TransferQueue"
Teng-Hui Zhu [Mon, 8 Aug 2011 18:20:46 +0000 (11:20 -0700)]
Merge "Fix a potential sync problem for TransferQueue"

12 years agoFix a potential sync problem for TransferQueue
Teng-Hui Zhu [Fri, 5 Aug 2011 00:10:50 +0000 (17:10 -0700)]
Fix a potential sync problem for TransferQueue

bug:5044597

Change-Id: Id8cd326774a174a537f2b104d934539269395151

12 years agoAdd missing calls to JavaInstance::end() in JavaNPObjectInvoke() and JavaNPObjectGetP...
Steve Block [Mon, 8 Aug 2011 16:48:18 +0000 (17:48 +0100)]
Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and JavaNPObjectGetProperty()

Bug: 5006441
Change-Id: I2da7a6f626560416cf5cac0cde3193a9074fab0f

12 years agoFix crashes on plus.google.com and reduce the number of necessary layers
Nicolas Roard [Sat, 6 Aug 2011 01:04:35 +0000 (18:04 -0700)]
Fix crashes on plus.google.com and reduce the number of necessary layers

bug:5121768
Change-Id: I616af5cdc3f8b0a790fd50434c919b2c95b0e486

12 years agoMerge "Force NativeWindow rendering to use EXTERNAL_OES textures"
Chris Craik [Fri, 5 Aug 2011 21:46:56 +0000 (14:46 -0700)]
Merge "Force NativeWindow rendering to use EXTERNAL_OES textures"

12 years agoForce NativeWindow rendering to use EXTERNAL_OES textures
Chris Craik [Fri, 5 Aug 2011 21:05:23 +0000 (14:05 -0700)]
Force NativeWindow rendering to use EXTERNAL_OES textures

bug:5114637
Allows browser plugin to draw texture correctly

Change-Id: Ibd61b11598d0ca5bcff28ed0c92e6f20073f5ad6

12 years agoReturn NativeWindow on subsequent requests for the plugin's surface.
Derek Sollenberger [Fri, 5 Aug 2011 20:47:55 +0000 (16:47 -0400)]
Return NativeWindow on subsequent requests for the plugin's surface.

bug: 5114637
Change-Id: I08213be77036d6e8918bfec3915fcf09210c4f8c

12 years agoFix memory leak in WebKit's NinePatch code.
Derek Sollenberger [Fri, 5 Aug 2011 20:45:50 +0000 (16:45 -0400)]
Fix memory leak in WebKit's NinePatch code.

bug: 5128453
Change-Id: I08704ae3cbc6bae9c189a6e16f2e7aebebd5544c

12 years agoPlumb a bool through to Java to supress auth dialog.
Ben Murdoch [Fri, 5 Aug 2011 14:42:17 +0000 (15:42 +0100)]
Plumb a bool through to Java to supress auth dialog.

In the case of a prefetch or favicon load, we want to silently fail
auth loads but allow the use of cached credentials. To acheive this,
pass an extra flag through to Java to decide whether to show the
prompt or not.

Requires:
frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8
packages/apps/Browser change: Id901855830bbe17ede8a18293cff2bbc0aad4ba8

Bug: 5094761
Change-Id: If8c6f22e8307e1e13b8f7ad29f79305ce24b3255

12 years agoMerge "Fixes layers painting crashes"
Nicolas Roard [Fri, 5 Aug 2011 00:02:40 +0000 (17:02 -0700)]
Merge "Fixes layers painting crashes"

12 years agoFixes layers painting crashes
Nicolas Roard [Thu, 4 Aug 2011 23:11:02 +0000 (16:11 -0700)]
Fixes layers painting crashes

bug:5097230 bug:5045149

Change-Id: I20fcae13e7f617658447c02bd51dc83d2914922e

12 years agoBetter driver bug workaround
Teng-Hui Zhu [Thu, 4 Aug 2011 20:26:06 +0000 (13:26 -0700)]
Better driver bug workaround

It seems like the FBO operation is out of sync in some GL driver.
Instead of doing a readPixel, we can also force a read after write by calling
an extra draw.

bug:5118763

Change-Id: Idaf259f84b0dcc0f3bc94bcf1bd1a4adf5250350

12 years agoFix memory increase
Nicolas Roard [Thu, 4 Aug 2011 17:11:47 +0000 (10:11 -0700)]
Fix memory increase

bug:5118763
Change-Id: Ice0f3792cd9e288459713411d755f1717896087e

12 years agoFix for bug 5104510 Log chromium values of unknown browser errors
Kristian Monsen [Thu, 4 Aug 2011 15:12:21 +0000 (16:12 +0100)]
Fix for bug 5104510 Log chromium values of unknown browser errors

There are many errors that are not used at the moment, will look
at the output and add the ones that are used.

Change-Id: I16da444b9e1aa0ca12a17cfd77aa8f220e642914

12 years agoMerge "Finalize the sync part."
Teng-Hui Zhu [Thu, 4 Aug 2011 00:40:49 +0000 (17:40 -0700)]
Merge "Finalize the sync part."

12 years agoFinalize the sync part.
Teng-Hui Zhu [Wed, 3 Aug 2011 22:31:41 +0000 (15:31 -0700)]
Finalize the sync part.

Improve the sync part for the Shared Surface Texture.
Clean up the interface as much as possible.

bug:5044597
Change-Id: I123cc520fb447aeb6e72e90149d1658a657740f7

12 years agoChange the constants used for the inverted preferences
Nicolas Roard [Wed, 3 Aug 2011 23:54:50 +0000 (16:54 -0700)]
Change the constants used for the inverted preferences
to match the ones sent by the Browser

bug:5111259

Change-Id: I3d7c0d94d61e173915ab6ec01f42778182462064

12 years agoReplace plugin's OpenGL API with a NativeWindow API.
Derek Sollenberger [Wed, 3 Aug 2011 15:06:56 +0000 (11:06 -0400)]
Replace plugin's OpenGL API with a NativeWindow API.

bug: 5114637
Change-Id: Idfadf95b9b65bf87ad2edf76fd2c5fc0513a75c3

12 years agoincrease layer tiles limit
Teng-Hui Zhu [Wed, 3 Aug 2011 17:02:57 +0000 (10:02 -0700)]
increase layer tiles limit

bug:5069164

Change-Id: Ifbba6d912e20868d0618441b7f497270e1d9f737

12 years agoMerge "Support registering page swap callback, content inval"
Chris Craik [Wed, 3 Aug 2011 16:46:14 +0000 (09:46 -0700)]
Merge "Support registering page swap callback, content inval"

12 years agoMerge "Shared surface texture"
Teng-Hui Zhu [Wed, 3 Aug 2011 16:17:48 +0000 (09:17 -0700)]
Merge "Shared surface texture"

12 years agoAdd setters for the contrast
Nicolas Roard [Wed, 3 Aug 2011 00:48:15 +0000 (17:48 -0700)]
Add setters for the contrast

bug:5111259

Change-Id: I08701fd7f4d4fe6a506d05f847b4e1a07ed458b3

12 years agoShared surface texture
Teng-Hui Zhu [Mon, 1 Aug 2011 18:32:58 +0000 (11:32 -0700)]
Shared surface texture

Instead of assigning each tile a Surface Texture, now just a normal GL texture.
The content from skia bitmap will first drawn into a queue of Surface Textures,
at draw time, blit them into each tile's GL texture.
Added extra lock to protect the queue operation and Surface Texture operation.

bug:5044597

Change-Id: I25f46228b93a3e99526daf52d8bd0d8d8fcc2879

12 years agoSupport registering page swap callback, content inval
Chris Craik [Mon, 1 Aug 2011 20:44:44 +0000 (13:44 -0700)]
Support registering page swap callback, content inval

bug:5062896

Depends on the following frameworks/base change:
https://android-git.corp.google.com/g/#change,124879

a WebView may now register a page swap callback and content invalidate to
benchmark tile rendering performance

Change-Id: I97f6ed05cff12b11266a472163aab1f3b3ddc87e

12 years agoMerge "Fix transparency bug, and add support for contrast"
Nicolas Roard [Tue, 2 Aug 2011 21:33:34 +0000 (14:33 -0700)]
Merge "Fix transparency bug, and add support for contrast"

12 years agoFix transparency bug, and add support for contrast
Nicolas Roard [Tue, 2 Aug 2011 18:48:26 +0000 (11:48 -0700)]
Fix transparency bug, and add support for contrast

bug:5111072 bug:5111259

Change-Id: Icc5d7c9f3fc9390f89b8c76eefe8a9d704116c57

12 years agoMerge "Unify the the tile size for base tiles and layers"
Teng-Hui Zhu [Mon, 1 Aug 2011 17:05:13 +0000 (10:05 -0700)]
Merge "Unify the the tile size for base tiles and layers"

12 years agoUnify the the tile size for base tiles and layers
Teng-Hui Zhu [Fri, 29 Jul 2011 20:52:06 +0000 (13:52 -0700)]
Unify the the tile size for base tiles and layers

In order to use the shared Surface Texture to support both base tiles and
layers, the tile size has to be the same.
Separate this change out to catch any potential perf regression or boost.

bug:5044597
Change-Id: Ib296def7595ea605fa96745f333ec8ef6d199293

12 years agoMerge "fixed race condition in tile profiling"
Chris Craik [Fri, 29 Jul 2011 20:20:09 +0000 (13:20 -0700)]
Merge "fixed race condition in tile profiling"

12 years agoMerge "Add features to support Ganesh in the Android browser"
Derek Sollenberger [Fri, 29 Jul 2011 19:34:24 +0000 (12:34 -0700)]
Merge "Add features to support Ganesh in the Android browser"

12 years agofixed race condition in tile profiling
Chris Craik [Fri, 29 Jul 2011 19:33:09 +0000 (12:33 -0700)]
fixed race condition in tile profiling

bug:5062896

If tile profiling was started, and experienced an inval/tile update it wouldn't
have a place to log it. Added check to make sure it didn't try to store it in
the log vector anyway.

Change-Id: I18f199740a60a86439da141502ea355340bfa8cf

12 years agoMerge "Reduce the number of layers - overflow elements triggered all layers before...
Nicolas Roard [Fri, 29 Jul 2011 18:30:01 +0000 (11:30 -0700)]
Merge "Reduce the number of layers - overflow elements triggered all layers before them to be composited;   this is not needed at all... - fixed elements will trigger layers after them to be composited, but   we don't need to composite all of them -- the one fully contained   into previous composited layers don't need to..."

12 years agoReduce the number of layers
Nicolas Roard [Wed, 20 Jul 2011 19:58:10 +0000 (12:58 -0700)]
Reduce the number of layers
- overflow elements triggered all layers before them to be composited;
  this is not needed at all...
- fixed elements will trigger layers after them to be composited, but
  we don't need to composite all of them -- the one fully contained
  into previous composited layers don't need to...

bug:5069090

Change-Id: I65f789f490b837a16096b4cb186c45ade1605b41

12 years agoMerge changes I48e19e8a,I1ee0fbf6,I1c81bc8c
Kristian Monsen [Fri, 29 Jul 2011 10:37:42 +0000 (03:37 -0700)]
Merge changes I48e19e8a,I1ee0fbf6,I1c81bc8c

* changes:
  Part of fix for 5065047: build libchromium as a shared lib
  Preparation for fixing bug 5065047: build libchromium as a shared lib
  Preparation for fixing bug 5065047: build libchromium as a shared lib

12 years agoMerge "added pageswap callback from drawGL to WebView"
Chris Craik [Fri, 29 Jul 2011 00:23:56 +0000 (17:23 -0700)]
Merge "added pageswap callback from drawGL to WebView"

12 years agoadded pageswap callback from drawGL to WebView
Chris Craik [Thu, 28 Jul 2011 18:32:08 +0000 (11:32 -0700)]
added pageswap callback from drawGL to WebView

bug:5008210

When setting a new base layer, WebView can signal that it wants to have it's
pageSwapCallback triggered. This is only done upon request, currently whenever
the WebTextView is being displayed so that it can be repositioned upon pageswap.

Depends on the following frameworks/base change:
https://android-git.corp.google.com/g/#change,124607

Change-Id: Id99c2d5a15cdb4317802a92cedae16a9e0aebc8d

12 years agoAdd features to support Ganesh in the Android browser
Derek Sollenberger [Fri, 1 Jul 2011 13:30:26 +0000 (09:30 -0400)]
Add features to support Ganesh in the Android browser

1) Added a runtime switch between Raster and Ganesh
2) Added support for using SurfaceTextures with Ganesh

bug: 5013645
Change-Id: I2efebf1bc9befb0c7f6f66109d80818f9d0775b3

12 years agoDisable Crankshaft at runtime for performace testing.
Ben Murdoch [Thu, 28 Jul 2011 19:21:09 +0000 (20:21 +0100)]
Disable Crankshaft at runtime for performace testing.

Bug: 5052287
Change-Id: Ic2b192a5f22c7bc91b7bc587904452e440cbe505

12 years agoPart of fix for 5065047: build libchromium as a shared lib
Kristian Monsen [Mon, 25 Jul 2011 09:34:05 +0000 (10:34 +0100)]
Part of fix for 5065047: build libchromium as a shared lib

Webkit patch needed, simply declaring that chromium_net is a
shared library

Change-Id: I48e19e8aca929258ddde70f1772073fa9e0097a1

12 years agoPreparation for fixing bug 5065047: build libchromium as a shared lib
Kristian Monsen [Thu, 28 Jul 2011 10:33:37 +0000 (11:33 +0100)]
Preparation for fixing bug 5065047: build libchromium as a shared lib

Use FormField from chromium, it is already populated it FormManagerAndroid,
so there is no need for the Android implementation anymore.

Change-Id: I1ee0fbf6895bd64b2fd1d9a6fbd2f0a93e578831

12 years agoFix for Devanagari diacritical marks
Russell Brenner [Mon, 25 Jul 2011 23:25:38 +0000 (16:25 -0700)]
Fix for Devanagari diacritical marks

It appears that offsetX and advance were at odds with each other.
Eliminating offsetX causes the diacritical marks to be positioned
correctly.

Bug: 4309954
Change-Id: I51fbdd4523ba7de1a2d981b971fdd4f1d42b979c

12 years agoMerge "Draw WebTextView inset in the textfield/area's border"
Chris Craik [Wed, 27 Jul 2011 01:10:16 +0000 (18:10 -0700)]
Merge "Draw WebTextView inset in the textfield/area's border"

12 years agoFix typo in mobile site detection for automatic viewport.
Ben Murdoch [Tue, 26 Jul 2011 11:43:01 +0000 (12:43 +0100)]
Fix typo in mobile site detection for automatic viewport.

Bug: 5073443
Change-Id: I433aae6c4cea5677ac4c04d34d50b903a48ebbe6

12 years agoRefactor the overflow scroll fix.
Shimeng (Simon) Wang [Mon, 25 Jul 2011 23:01:54 +0000 (16:01 -0700)]
Refactor the overflow scroll fix.

Hope this is more understandable.

issue: 4203823
Change-Id: Ib1d95f6b250baf4b94f706e090a9f087aa9b7ed8

12 years agoDraw WebTextView inset in the textfield/area's border
Chris Craik [Mon, 25 Jul 2011 21:55:39 +0000 (14:55 -0700)]
Draw WebTextView inset in the textfield/area's border

bug:5008210

Also reduced some duplication of code for returning java rects.

Change-Id: I614e0cdaea7a30dc0b647b8290a8d66464c0b87c

12 years agoDisable customized overflow scroll for positioned renderblock.
Shimeng (Simon) Wang [Mon, 25 Jul 2011 21:45:08 +0000 (14:45 -0700)]
Disable customized overflow scroll for positioned renderblock.

This fixes maps.google.com dropdown list scrolling issue.

Tested on developer.android.com, slate.com, lemonde.fr; the existing
overflow scrolling are working as before this change.

issue: 4203823
Change-Id: I11cebbfd8bb3dd060bbee1b29ec96627fcbf1a72

12 years agoPreparation for fixing bug 5065047: build libchromium as a shared lib
Kristian Monsen [Mon, 25 Jul 2011 09:31:42 +0000 (10:31 +0100)]
Preparation for fixing bug 5065047: build libchromium as a shared lib

The chrome stack used to just declare the needed jni functions from
webkit and use them as they were static linked. This is not possible
when built as a shared library.

Change-Id: I1c81bc8c8e840dfda49e3941dc5a74d129030f43

12 years agoMerge "New tile logging JNI interface"
Chris Craik [Thu, 21 Jul 2011 22:59:20 +0000 (15:59 -0700)]
Merge "New tile logging JNI interface"

12 years agoNew tile logging JNI interface
Chris Craik [Wed, 20 Jul 2011 23:12:29 +0000 (16:12 -0700)]
New tile logging JNI interface

bug:5062896

Added more functionality to tile logging and querying (explicit location and
size), invalidation region logging, as well as string-based JNI query method
which should stabilize the JNI interface in the future.

Change-Id: I937d4227abf0d0f18124c484438fd13a62439fb6

12 years agoMerge "Limit RTL text wrapping when having floating element."
Shimeng (Simon) Wang [Thu, 21 Jul 2011 20:42:49 +0000 (13:42 -0700)]
Merge "Limit RTL text wrapping when having floating element."

12 years agoLimit RTL text wrapping when having floating element.
Shimeng (Simon) Wang [Thu, 21 Jul 2011 18:56:50 +0000 (11:56 -0700)]
Limit RTL text wrapping when having floating element.

issue: 5047703
Change-Id: Ie7d9bb54649afb4d025d4ec02bcc42b52b4049d1

12 years agoMerge "Safely convert punycode IDN to Unicode for display."
Shimeng (Simon) Wang [Thu, 21 Jul 2011 16:53:14 +0000 (09:53 -0700)]
Merge "Safely convert punycode IDN to Unicode for display."

12 years agoSafely convert punycode IDN to Unicode for display.
Shimeng (Simon) Wang [Wed, 20 Jul 2011 23:36:45 +0000 (16:36 -0700)]
Safely convert punycode IDN to Unicode for display.

Use chromium's net::IDNToUnicode to accomplish this, which adopts
safe measures for converting.

issue: 4384726
Change-Id: If265a849ff0e9d6782705fc1639391bab9e6bcab

13 years agoMerge "Add some debugging functions to LayerAndroid"
Nicolas Roard [Wed, 20 Jul 2011 23:11:43 +0000 (16:11 -0700)]
Merge "Add some debugging functions to LayerAndroid"

13 years agoAdd some debugging functions to LayerAndroid
Nicolas Roard [Wed, 20 Jul 2011 19:55:58 +0000 (12:55 -0700)]
Add some debugging functions to LayerAndroid

Change-Id: I03922d9788d340ab208677b272470312c92a80ee

13 years agoMerge "Update JavaMethodJobject with upstreamed version of fix"
Steve Block [Wed, 20 Jul 2011 18:27:06 +0000 (11:27 -0700)]
Merge "Update JavaMethodJobject with upstreamed version of fix"

13 years agoUpdate JavaMethodJobject with upstreamed version of fix
Steve Block [Wed, 20 Jul 2011 14:46:25 +0000 (15:46 +0100)]
Update JavaMethodJobject with upstreamed version of fix

See https://bugs.webkit.org/show_bug.cgi?id=62389

Bug: 4585284
Change-Id: Ib99f9ff5d3b552fb7a40b00324f3e96ffc7e3e23

13 years agoCherry-pick WebKit change 91260 to fix JNI string null-termination
Steve Block [Tue, 19 Jul 2011 15:57:32 +0000 (16:57 +0100)]
Cherry-pick WebKit change 91260 to fix JNI string null-termination

See http://trac.webkit.org/changeset/91260

Bug: 4727789
Change-Id: I2f01bde12463a3c19659340cdb85b69eaecbd0f7

13 years agoImplement an invert screen mode
John Reck [Fri, 15 Jul 2011 17:51:44 +0000 (10:51 -0700)]
Implement an invert screen mode

 Set through the new property interface

Change-Id: I62e3986a5a0d5a41faf0eeee6cd1c0f7186e1cf5

13 years agoMerge "Implements tiled layers. We remove all the existing code in LayerAndroid relat...
Nicolas Roard [Fri, 15 Jul 2011 16:36:55 +0000 (09:36 -0700)]
Merge "Implements tiled layers. We remove all the existing code in LayerAndroid related to the old texture management and introduce two new classes: - PaintedSurface, used as a placeholder ui-side for the regularly   changing LayerAndroid - TiledTexture, implementing the tiling of PaintedSurface using a set   of BaseTile"

13 years agoImplements tiled layers. We remove all the existing code in LayerAndroid
Nicolas Roard [Tue, 21 Jun 2011 23:21:55 +0000 (16:21 -0700)]
Implements tiled layers. We remove all the existing code in LayerAndroid
related to the old texture management and introduce two new classes:
- PaintedSurface, used as a placeholder ui-side for the regularly
  changing LayerAndroid
- TiledTexture, implementing the tiling of PaintedSurface using a set
  of BaseTile

bug:4580444 bug:3392331
Change-Id: I0daa079d2acce49f3baa8c312ea0b0dd457ccd5c

13 years agoAdd android specific virtual function to GraphicsLayerClient.
Shimeng (Simon) Wang [Thu, 14 Jul 2011 22:13:53 +0000 (15:13 -0700)]
Add android specific virtual function to GraphicsLayerClient.

This lets the GraphicsLayerClient instance decides whether it has
owning RenderLayer, instead of using static_cast.

This makes overflow'ed iframe scrollable again.

This change also reverts Tenghui's CL:
https://android-git.corp.google.com/g/#change,115508

Tested on scrollable iframe and inline video.

issue: 4902019
Change-Id: I252f5432b0750c5cac0a4404663e1730ef006cfc

13 years agoTile profiling backend
Chris Craik [Wed, 13 Jul 2011 19:58:41 +0000 (12:58 -0700)]
Tile profiling backend

Added tile profiling member (TilesProfiler) to TilesManager to track rendering status of tiles.

Change-Id: Ied828c6ad2a15588965e6641edecb162bd76bc62

13 years agoMerge WebKit at branches/chromium/742 r89068: Update ThirdPartyProject.prop
Ben Murdoch [Wed, 13 Jul 2011 09:19:44 +0000 (10:19 +0100)]
Merge WebKit at branches/chromium/742 r89068: Update ThirdPartyProject.prop

Change-Id: Iaed175c2018323e12e78dcdf6fc2cf424ed4ec54

13 years agoMerge WebKit at branches/chromium/742 r89068: Initial merge by Git.
Ben Murdoch [Wed, 13 Jul 2011 09:14:36 +0000 (10:14 +0100)]
Merge WebKit at branches/chromium/742 r89068: Initial merge by Git.

Take us to top of Chrome 12 release branch (12.0.742.130)

Change-Id: I4408a97e343a118cf4a1bb9d71367bcc2c16ae48

13 years agoMerge "Remove the simulator target from all makefiles. Bug: 5010576"
Jeff Brown [Tue, 12 Jul 2011 19:14:48 +0000 (12:14 -0700)]
Merge "Remove the simulator target from all makefiles. Bug: 5010576"

13 years agoMerge "Merge Chromium at r12.0.742.93: Update Autofill files in WebKit."
Ben Murdoch [Tue, 12 Jul 2011 15:50:53 +0000 (08:50 -0700)]
Merge "Merge Chromium at r12.0.742.93: Update Autofill files in WebKit."