OSDN Git Service

android-x86/external-webkit.git
13 years agoMerge WebKit at r73109: Initial merge by git.
Shimeng (Simon) Wang [Wed, 8 Dec 2010 01:22:45 +0000 (17:22 -0800)]
Merge WebKit at r73109: Initial merge by git.

Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8

13 years agoam 1e5798a4: am d436a8e4: Allow HTML5 video to seek.
Ben Murdoch [Wed, 22 Dec 2010 21:59:17 +0000 (13:59 -0800)]
am 1e5798a4: am d436a8e4: Allow HTML5 video to seek.

* commit '1e5798a41696c2d04b2a28eabf9e5914fb6856e2':
  Allow HTML5 video to seek.

13 years agoam d436a8e4: Allow HTML5 video to seek.
Ben Murdoch [Wed, 22 Dec 2010 21:56:43 +0000 (13:56 -0800)]
am d436a8e4: Allow HTML5 video to seek.

* commit 'd436a8e4bf9a2c6eab6a09513ce13340c84ef10c':
  Allow HTML5 video to seek.

13 years agoAllow HTML5 video to seek.
Ben Murdoch [Wed, 22 Dec 2010 18:45:20 +0000 (18:45 +0000)]
Allow HTML5 video to seek.

Need to return the duration of the currently playing video to WebCore
to allow the video to seek correctly.

Bug: 3303699
Change-Id: I79f6a7e7217cf987d35b5b1a9313a918630be7a0

13 years agouse copies of matrix, paint instead of references
Cary Clark [Mon, 20 Dec 2010 17:33:36 +0000 (12:33 -0500)]
use copies of matrix, paint instead of references

The matrix and paint may be gone when later referenced
to determine the width of spaces. Replace the references
with copies.

When widening the initial selection to a word, the first
or last glyph could be skipped if the tap was one
glyph away. Detect this include the final glyph.

The bitmap used to detect a space between glyphs could
be too small for the test; make it as large as possible.

The test for finding the closest glyph when the test point
is inside the glyph's bounds should be triggered only
if the best glyph found so far is also a match.

If the initial hit point doesn't touch a word, abort.

Only measure the distance for test points if the test
text and best text have the same column state or if
the test point is outside of the current column.

The initial word selection needs to work differently from
extending the selection. Make the clip small for the
initial detect and widen it for the word expansion.

Build the selection region before expanding the word
since the column selection uses that data.

There is a companion bug fix in frameworks/base triggered
by this code, but neither is dependent on the other.

bug:3293330
Change-Id: If9d1a3bd7ec5d1642b63dbab1845d2f3735ddc81

13 years agoRemoving the host resolver leak
Kristian Monsen [Wed, 22 Dec 2010 12:09:14 +0000 (12:09 +0000)]
Removing the host resolver leak

The crash was fixed when some unsafe local changes were removed recently.

I think this was what removed the crash:
https://android-git.corp.google.com/g/#change,84795

Fix for bug 3243797

Change-Id: If23e55270f035831ef7781681b012dfdca0ac74d

13 years agoMerge "Adding a method to delete a WebCache"
Kristian Monsen [Wed, 22 Dec 2010 11:35:41 +0000 (03:35 -0800)]
Merge "Adding a method to delete a WebCache"

13 years agoAdding a method to delete a WebCache
Kristian Monsen [Tue, 21 Dec 2010 16:31:19 +0000 (16:31 +0000)]
Adding a method to delete a WebCache

This is needed so the cache doesn't survive when closing
all private tabs.

Change-Id: I52ffaf89f8794466f98370c289b9a646de0fdb59

13 years agoTurn iframe flattening back on
Bart Sears [Tue, 21 Dec 2010 21:52:48 +0000 (13:52 -0800)]
Turn iframe flattening back on

Until we can figure out why web gmail is having problems turn
iframe flattening back on.

Bug: 3294278
Change-Id: I7096be2a2178c6b56b5450defb405a265fc2b477

13 years agoOverride ALWAYS_INLINE attribute with inline.
Jing Yu [Wed, 15 Dec 2010 22:28:35 +0000 (14:28 -0800)]
Override ALWAYS_INLINE attribute with inline.

ALWAYS_INLINE attribute was abused in libwebcore.so. By overriding
it with normal inline attribute, the size of libwebcore.so is
reduced by 3.71%, wihtout noticable performance regression on
webcore_test benchmark.

Change-Id: Icc1710726f28a93c3be660ba7c22c8c356748460

13 years agoTurn off flattening again now that scrolling is
Patrick Scott [Tue, 21 Dec 2010 16:50:36 +0000 (11:50 -0500)]
Turn off flattening again now that scrolling is
fixed.

Change-Id: I2cdedf37cc7cff7b0cfe96dd65803902ca7e92c6

13 years agoFix iframe scrolling.
Patrick Scott [Tue, 21 Dec 2010 15:36:17 +0000 (10:36 -0500)]
Fix iframe scrolling.

Do the same check everywhere for enabling scrolling in an iframe.  Make sure the
owner renderer is a RenderIFrame to avoid trying to composite an embedded
object.  Also check if the owner layer has visible content since some iframes
are marked hidden.

Dirty the parent normal flow list when turning on overflow scrolling for divs.

Bug: 3280851
Bug: 3290276
Change-Id: I8d0a49324e06426c15abaf552874a32d6e2ee11a

13 years agoMerge "Set 660 permissions on Appcache database"
Steve Block [Tue, 21 Dec 2010 14:50:21 +0000 (06:50 -0800)]
Merge "Set 660 permissions on Appcache database"

13 years agoMerge "Revert "Revert "Merge "Add a method java can send proxy changes to""""
Kristian Monsen [Tue, 21 Dec 2010 14:45:30 +0000 (06:45 -0800)]
Merge "Revert "Revert "Merge "Add a method java can send proxy changes to""""

13 years agoSet 660 permissions on Appcache database
Steve Block [Tue, 21 Dec 2010 14:18:10 +0000 (14:18 +0000)]
Set 660 permissions on Appcache database

Bug: 3244281
Change-Id: I5c90f44c4e8c3cd7d1ae2652e5d9f864a69b5dfe

13 years agoMerge "Set 660 permissions on HTML5 Database API meta database"
Steve Block [Tue, 21 Dec 2010 14:17:49 +0000 (06:17 -0800)]
Merge "Set 660 permissions on HTML5 Database API meta database"

13 years agoSet 660 permissions on HTML5 Database API meta database
Steve Block [Tue, 21 Dec 2010 11:55:38 +0000 (11:55 +0000)]
Set 660 permissions on HTML5 Database API meta database

Bug: 3244281
Change-Id: I7af7c47c92fc180435cff2416922916a1114c88f

13 years agoRevert "Revert "Merge "Add a method java can send proxy changes to"""
Kristian Monsen [Tue, 21 Dec 2010 12:28:10 +0000 (12:28 +0000)]
Revert "Revert "Merge "Add a method java can send proxy changes to"""

This reverts commit 9c4386e62deef6236674a2b2073a1efd514d75ac.

13 years agoMerge "Only download the same poster URL once."
Ben Murdoch [Tue, 21 Dec 2010 10:25:16 +0000 (02:25 -0800)]
Merge "Only download the same poster URL once."

13 years agoMerge "Revert "Merge "Add a method java can send proxy changes to"""
Huahui Wu [Mon, 20 Dec 2010 23:02:48 +0000 (15:02 -0800)]
Merge "Revert "Merge "Add a method java can send proxy changes to"""

13 years agoRevert "Merge "Add a method java can send proxy changes to""
Huahui Wu [Mon, 20 Dec 2010 22:41:06 +0000 (14:41 -0800)]
Revert "Merge "Add a method java can send proxy changes to""

This reverts commit c3a805c84165787f1693b3502ce139d6ea405307, reversing
changes made to 062390c915ca7282c88b435ad4fa7b6f157fb5ef.

13 years agoAdd clipping support
Nicolas Roard [Sat, 18 Dec 2010 01:55:42 +0000 (17:55 -0800)]
Add clipping support

Change-Id: If26bb40c4f75caa0fc9146aecb9f06dd1bcecd44

13 years agoMerge "Prevent media layers from allocating textures."
Derek Sollenberger [Mon, 20 Dec 2010 19:55:52 +0000 (11:55 -0800)]
Merge "Prevent media layers from allocating textures."

13 years agoFix image drawing
Nicolas Roard [Sat, 18 Dec 2010 03:36:55 +0000 (19:36 -0800)]
Fix image drawing

Change-Id: I6dacf397f510948b4ecc3c180d2f61050dec00a2

13 years agoMerge "Add a method java can send proxy changes to"
Kristian Monsen [Mon, 20 Dec 2010 18:14:45 +0000 (10:14 -0800)]
Merge "Add a method java can send proxy changes to"

13 years agoPrevent media layers from allocating textures.
Derek Sollenberger [Mon, 20 Dec 2010 17:28:57 +0000 (12:28 -0500)]
Prevent media layers from allocating textures.

bug: 2907737
Change-Id: I3b20a91eda8b03572e111e3834d3abcaecaa17de

13 years agoMerge "Set 660 permissions on Geolocation cache DB"
Steve Block [Mon, 20 Dec 2010 17:27:43 +0000 (09:27 -0800)]
Merge "Set 660 permissions on Geolocation cache DB"

13 years agoSet 660 permissions on Geolocation cache DB
Steve Block [Mon, 20 Dec 2010 13:25:03 +0000 (13:25 +0000)]
Set 660 permissions on Geolocation cache DB

Bug: 3256540
Change-Id: I2774f100c9e9c458ebdaf9b6d188c52e79fd2568

13 years agoAdd a method java can send proxy changes to
Kristian Monsen [Fri, 17 Dec 2010 12:05:47 +0000 (12:05 +0000)]
Add a method java can send proxy changes to

Used by, and uses, this in frameworks/base:
https://android-git.corp.google.com/g/#change,85836

Change-Id: I618f0f0cbeefc660152e60cced3940772f764e1c

13 years agoMerge "Add initial support for OpenGL plugins."
Derek Sollenberger [Mon, 20 Dec 2010 13:26:56 +0000 (05:26 -0800)]
Merge "Add initial support for OpenGL plugins."

13 years agoAdd initial support for OpenGL plugins.
Derek Sollenberger [Fri, 17 Dec 2010 18:44:51 +0000 (13:44 -0500)]
Add initial support for OpenGL plugins.

bug: 2907737
Change-Id: I6f4f21146c834554db5ecb67fed8994f1cdc2cfe

13 years agoOnly download the same poster URL once.
Ben Murdoch [Mon, 20 Dec 2010 13:13:53 +0000 (13:13 +0000)]
Only download the same poster URL once.

WebKit r64884 introduced code that calls setPoster multiple times. On
Android this causes the Java side to attempt to download the poster many
times which for a long video results in OOM. So if the poster hasn't
changed, don't try to download it again.

Bug:3277303
Change-Id: Ia401b78cf250af2c1fe0e600dea6d1da0971912a

13 years agoFix build when SVG is disabled.
Ben Murdoch [Mon, 20 Dec 2010 11:51:20 +0000 (11:51 +0000)]
Fix build when SVG is disabled.

Only build the SVG bindings if the environment varaible is set.

Bug: 3295269

Change-Id: I5ec7cb887afac0d394776487cf155fef6b566a6b

13 years agoMerge "Fix crash in AutoFill"
Ben Murdoch [Mon, 20 Dec 2010 11:47:48 +0000 (03:47 -0800)]
Merge "Fix crash in AutoFill"

13 years agoTurn iframe flattening back on
Bart Sears [Mon, 20 Dec 2010 00:32:57 +0000 (16:32 -0800)]
Turn iframe flattening back on

Until we have iframe compositing re-enabled, go back to the
old iframe flattening.

Bug 3294278

Change-Id: I68d2d02d47b8f4ed1870f197703decfa3e94cf01

13 years agoMerge "Turn off iframe compositing until it is more stable."
Patrick Scott [Fri, 17 Dec 2010 22:15:10 +0000 (14:15 -0800)]
Merge "Turn off iframe compositing until it is more stable."

13 years agoTurn off iframe compositing until it is more stable.
Patrick Scott [Fri, 17 Dec 2010 22:12:51 +0000 (17:12 -0500)]
Turn off iframe compositing until it is more stable.

Change-Id: I2d54918b5910285bf7f1cfb408af8a6b038b65f9

13 years agoMerge "Fix two SIGSEGV bugs in request interception."
Jeff Sharkey [Fri, 17 Dec 2010 19:59:48 +0000 (11:59 -0800)]
Merge "Fix two SIGSEGV bugs in request interception."

13 years agoFix crash in AutoFill
Ben Murdoch [Fri, 17 Dec 2010 17:42:21 +0000 (17:42 +0000)]
Fix crash in AutoFill

We recently changed WebKit to use one URLRequestContext per WebView.
However AutoFill did not get migrated to the new system and so
we have observed crashes due to a dangling pointer. We have one
AutoFill object per WebView and hence one Profile object per webview.
we access the URLRequestContext through the Profile so inject the
correct context in when the AutoFill object is created.

Needs a change in external/chromium, see
I004ab7ac9c6a72be1b62aa8e44322b97a371c136

Bug: 3291654

Change-Id: Iace23ae8c0240f0134894c12d2f7281161aa6150

13 years agoMerge "Use a lock around ioThread creation."
Patrick Scott [Fri, 17 Dec 2010 15:16:35 +0000 (07:16 -0800)]
Merge "Use a lock around ioThread creation."

13 years agoUse a lock around ioThread creation.
Patrick Scott [Fri, 17 Dec 2010 14:45:44 +0000 (09:45 -0500)]
Use a lock around ioThread creation.

This prevents use of the new thread before it actually starts running.

Change-Id: Idabb9cf81c62296534b696b82a08d3801aa16af8

13 years agoMerge "Don't strip HTTP response headers with empty values"
Steve Block [Fri, 17 Dec 2010 14:37:39 +0000 (06:37 -0800)]
Merge "Don't strip HTTP response headers with empty values"

13 years agoDon't strip HTTP response headers with empty values
Steve Block [Fri, 17 Dec 2010 14:14:31 +0000 (14:14 +0000)]
Don't strip HTTP response headers with empty values

This change affects the Android HTTP stack only. We now match the XHR
spec - http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader-method
- and provide header strings even if they are empty.

Bug: 3294032
Change-Id: Ic42e5e97e0a86ae2d08680ad689a2ab249d6ecc7

13 years agoMerge "Fail when building with JSC and the Chrome HTTP stack"
Steve Block [Fri, 17 Dec 2010 14:05:29 +0000 (06:05 -0800)]
Merge "Fail when building with JSC and the Chrome HTTP stack"

13 years agoFail when building with JSC and the Chrome HTTP stack
Steve Block [Fri, 17 Dec 2010 13:20:29 +0000 (13:20 +0000)]
Fail when building with JSC and the Chrome HTTP stack

This seems better than silently switching to the Android HTTP stack,
which could be confusing.

Change-Id: I9396beeed1e5803fe5ab16ce0d232dc5d0683f0a

13 years agoFix two SIGSEGV bugs in request interception.
Jeff Sharkey [Fri, 17 Dec 2010 04:31:13 +0000 (20:31 -0800)]
Fix two SIGSEGV bugs in request interception.

When intercepting requests, properly ReleaseStringUTFChars for mimeType
and encoding after bringing over from Java.  Also, when finishing an
intercepted request that failed, construct a valid WebResponse.

Change-Id: I2990df2108a8fdf45c103512a8b9a30f4d6992ce

13 years agoFix for layers repainting
Nicolas Roard [Thu, 16 Dec 2010 22:59:13 +0000 (14:59 -0800)]
Fix for layers repainting

Change-Id: I4072a5d560243d1d0053296b5128a9e411d5750a

13 years agoCleanup pass to make files compliant with webkit style
Nicolas Roard [Wed, 8 Dec 2010 19:37:30 +0000 (11:37 -0800)]
Cleanup pass to make files compliant with webkit style

Change-Id: I9234be0c1559d5cc11af73ebd8cc14f98f6a4c2e

13 years agoLayers implementation in GL.
Nicolas Roard [Wed, 8 Dec 2010 19:37:30 +0000 (11:37 -0800)]
Layers implementation in GL.

- add textures management code for layers in TilesManager
- add the layers drawing GL code
- modify BaseLayerAndroid::drawGL() to paint the layers
- modify TexturesGenerator to process layers painting requests
Note: some further refactoring (when getting rid of SkLayer as a base
class) will let us remove some redudant function, e.g.
setAnchorPoint/setAnchorPointZ (bug:3292285)

Change-Id: I3cc88575f331104d45c89e84ba27f3af755aa845

13 years agoMerge "Pass redirects through canHandleRequest."
Patrick Scott [Thu, 16 Dec 2010 19:46:22 +0000 (11:46 -0800)]
Merge "Pass redirects through canHandleRequest."

13 years agoimprove text selection in scrollable divs
Cary Clark [Thu, 16 Dec 2010 18:21:01 +0000 (13:21 -0500)]
improve text selection in scrollable divs

Detect which layer is hit by looking for scrollable layers.
In this case it isn't necessary to see what is drawn or where,
because the layer has already been prescreened by the parent clip.

Adjust the x/y hit by the layer's position. This corrects the
position when the layer scrolls.

Fix CachedLayer's debug output to be in sync with LayerAndroid.h

SelectText edge cases are corrected when there is not text to hit.

To find the closest character, first look at the edge of the
text line. If the hit is inside the line of text, measure from the
center of the character. This helps when textlines overlap.

bug:3275625
bug:3191699

Change-Id: I924cc0432f6dace32e0a7444fe69ef15dca2e77f

13 years agoPass redirects through canHandleRequest.
Patrick Scott [Thu, 16 Dec 2010 14:02:05 +0000 (09:02 -0500)]
Pass redirects through canHandleRequest.

Force the user gesture global to true in order for canHandleRequest to ask the
application.

Bug: 3278072
Change-Id: I1f821ba42c6c630465658b7044ee89c7255eb9a1

13 years agoBetter thread safety protection on m_usable
Teng-Hui Zhu [Wed, 15 Dec 2010 17:30:05 +0000 (09:30 -0800)]
Better thread safety protection on m_usable

m_usable is written in the thread of texture painting, it should
be better protected.

bug: 3215000
Change-Id: I5b1a5eaa4e469b6e5c840cd7299a1d955780729a

13 years agoImplement a GLUtils::toSkMatrix() function
Nicolas Roard [Wed, 15 Dec 2010 21:31:34 +0000 (13:31 -0800)]
Implement a GLUtils::toSkMatrix() function

This also fix the rotation in software rendering.

Change-Id: Iffe1ed3666c9501861ec6793294bf5cde89026d7

13 years agoMerge "Fix text selection"
Nicolas Roard [Wed, 15 Dec 2010 21:49:13 +0000 (13:49 -0800)]
Merge "Fix text selection"

13 years agoFix text selection
Nicolas Roard [Wed, 15 Dec 2010 21:04:45 +0000 (13:04 -0800)]
Fix text selection

Change-Id: I8338df1e2f18a0ab0e3ab951b06476e50f0ddb24

13 years agoextract anchor href and image src separately
Cary Clark [Wed, 15 Dec 2010 16:27:24 +0000 (11:27 -0500)]
extract anchor href and image src separately

Long pressing a link may return an anchor, an image, or an
image in an anchor. Sometimes we want one, sometimes the other.

Make both available so the context menu can choose.

Companion changes are in packages/apps/Browser, frameworks/base

bug:3282745
bug:3263340
Change-Id: I422db224ad67147f0cbacc4078df305b1cf8564d

13 years agoRefactoring of animation
Nicolas Roard [Wed, 15 Dec 2010 01:00:56 +0000 (17:00 -0800)]
Refactoring of animation

We use Webkit animation classes instead of using our own.
Implements keyframes animation for transform.
Simplify LayerAndroid to remove the individual
scaling/translate/rotation attributes and use a TransformationMatrix
instead.
Also cleaned up the style.

Change-Id: I9a4d5c064c30bba568c37ced946405ed60019d33

13 years agoMerge "b/2864818 Prompt SSL cert error dialog to user and proceed or cancel the reque...
Huahui Wu [Wed, 15 Dec 2010 17:41:59 +0000 (09:41 -0800)]
Merge "b/2864818 Prompt SSL cert error dialog to user and proceed or cancel the request. Java side CL: https://android-git.corp.google.com/g/#change,84530"

13 years agob/2864818 Prompt SSL cert error dialog to user and proceed or cancel the request...
Huahui Wu [Wed, 8 Dec 2010 23:22:43 +0000 (15:22 -0800)]
b/2864818 Prompt SSL cert error dialog to user and proceed or cancel the request. Java side CL: https://android-git.corp.google.com/g/#change,84530

Change-Id: I2a16be691ba3846f3ecb1fd533905d7b6ac374fc

13 years agoAdding proxy support to the Webkit layer
Kristian Monsen [Wed, 15 Dec 2010 16:35:18 +0000 (16:35 +0000)]
Adding proxy support to the Webkit layer

Right now it is only used as a direct proxy so no functional change.

Change-Id: I69be139f6567ca0b34f051a1429b78395fe1a3fe

13 years agoMerge "Fix WebView form submission CTS failure."
Ben Murdoch [Wed, 15 Dec 2010 16:34:38 +0000 (08:34 -0800)]
Merge "Fix WebView form submission CTS failure."

13 years agoMerge "Do the same compositing check during layout."
Patrick Scott [Wed, 15 Dec 2010 13:22:26 +0000 (05:22 -0800)]
Merge "Do the same compositing check during layout."

13 years agoRe-enable iframe scrolling.
Patrick Scott [Wed, 15 Dec 2010 13:21:15 +0000 (08:21 -0500)]
Re-enable iframe scrolling.

This reverts commit c7911ffd666a7e73131dfd68919b769086a093e0.

13 years agoFix WebView form submission CTS failure.
Ben Murdoch [Tue, 14 Dec 2010 16:35:23 +0000 (16:35 +0000)]
Fix WebView form submission CTS failure.

When we try to resolve the MIME type from the URL path,
we need to be sure to pass just the path so strip off any fragment
or query strings. Otherwise this wreaks havoc when we try and
extract the file extension to deduce the MIME type.

Bug:3241908

Change-Id: I592ae7ba0acc7478789599aeb6973675ed415a37

13 years agoMerge "improve text selection"
Cary Clark [Wed, 15 Dec 2010 12:57:30 +0000 (04:57 -0800)]
Merge "improve text selection"

13 years agoRevert "Enable iframe scrolling."
Guang Zhu [Tue, 14 Dec 2010 21:51:33 +0000 (13:51 -0800)]
Revert "Enable iframe scrolling."

This reverts commit 27dd9e051d0960e985cb677bfc1ce20531ac0456.

13 years agoimprove text selection
Cary Clark [Tue, 14 Dec 2010 13:04:18 +0000 (08:04 -0500)]
improve text selection

LayerAndroid.*
Adjust the hit-test (x,y) by the layer position.
Keep track of the adjusted (x,y) and store the best
to be returned when the best layer is found.

CachedRoot.cpp
Remove code that adjusted (x,y) by layer bounds.

SelectText.*
Detect columns of text and prefer new characters in the same
column as the existing selection.

Don't extend the selection until the tap point moves past
the word anchors.

There's more work to do on selecting text in layers.

bug:3275625
bug:3271730
bug:3191699
Change-Id: Ib3c2b35e5eebe30c6032f484cf76d388e94293e0

13 years agoDo the same compositing check during layout.
Patrick Scott [Tue, 14 Dec 2010 20:32:36 +0000 (15:32 -0500)]
Do the same compositing check during layout.

Change-Id: Ia38edb0a66f538d2020bdb9623e2fd2d7f3af97e
Fix: 3280851

13 years agoMerge "Set 660 permissions on Geolocation permissions DB"
Steve Block [Tue, 14 Dec 2010 18:51:07 +0000 (10:51 -0800)]
Merge "Set 660 permissions on Geolocation permissions DB"

13 years agoSet 660 permissions on Geolocation permissions DB
Steve Block [Mon, 6 Dec 2010 15:08:40 +0000 (15:08 +0000)]
Set 660 permissions on Geolocation permissions DB

Bug: 3256540
Change-Id: Ica5bcf66b7c95fde68836a3607ad30affbb3b1ce

13 years agoAdd a getSize() method to BackedDoubleBufferedTexture
Nicolas Roard [Tue, 14 Dec 2010 01:33:07 +0000 (17:33 -0800)]
Add a getSize() method to BackedDoubleBufferedTexture

Change-Id: Ia8942e253794f39ba0f612ec6350479aa23fd776

13 years agoMerge "Refactor the orthographic matrix computation and add a drawLayerQuad() method"
Nicolas Roard [Tue, 14 Dec 2010 01:13:57 +0000 (17:13 -0800)]
Merge "Refactor the orthographic matrix computation and add a drawLayerQuad() method"

13 years agoMerge "Refactoring TexturesGenerator filtering"
Nicolas Roard [Tue, 14 Dec 2010 01:13:51 +0000 (17:13 -0800)]
Merge "Refactoring TexturesGenerator filtering"

13 years agoRefactoring TexturesGenerator filtering
Nicolas Roard [Tue, 14 Dec 2010 00:30:13 +0000 (16:30 -0800)]
Refactoring TexturesGenerator filtering

Change-Id: I58866a481f526105edc4336e517b7e082e0db6dc

13 years agoRefactor the orthographic matrix computation and add a drawLayerQuad() method
Nicolas Roard [Mon, 13 Dec 2010 21:27:59 +0000 (13:27 -0800)]
Refactor the orthographic matrix computation and add a drawLayerQuad() method

Change-Id: I45a3581300abdedcd427a9eda8a519f11a3d1bb1

13 years agoRefactor to use a TextureOwner interface
Nicolas Roard [Mon, 13 Dec 2010 21:04:28 +0000 (13:04 -0800)]
Refactor to use a TextureOwner interface

Change-Id: I40357e76ba1b9e7b164688b3089db73cf81aa02e

13 years agoPrevent the usage of the texture(tile) if considered un-usable
Teng-Hui Zhu [Fri, 10 Dec 2010 22:26:26 +0000 (14:26 -0800)]
Prevent the usage of the texture(tile) if considered un-usable

As an example of gmail, even though clearView is called, the previous
content still show up.
This fix just use a usable flag to make sure the content
in the previously used texture is not showing up.

bug : 3215000

Change-Id: I5429a4d03547d4cd4ad10bd2153c247a4d40db7d

13 years agoMerge "Enable SVG in script bindings"
Ben Murdoch [Mon, 13 Dec 2010 19:02:14 +0000 (11:02 -0800)]
Merge "Enable SVG in script bindings"

13 years agoEnable SVG in script bindings
Ben Murdoch [Mon, 13 Dec 2010 18:55:28 +0000 (18:55 +0000)]
Enable SVG in script bindings

Make SVG accessible through script

Bug=2967344

Change-Id: Ia342040f51480d9308b89faf520ab4fa54d8ac2d

13 years agoMerge "Enable iframe scrolling."
Patrick Scott [Mon, 13 Dec 2010 18:28:01 +0000 (10:28 -0800)]
Merge "Enable iframe scrolling."

13 years agoMerge "Fix onDestroy()"
Nicolas Roard [Mon, 13 Dec 2010 18:19:28 +0000 (10:19 -0800)]
Merge "Fix onDestroy()"

13 years agoFix onDestroy()
Nicolas Roard [Mon, 13 Dec 2010 18:06:43 +0000 (10:06 -0800)]
Fix onDestroy()

Change-Id: Ie58ff8d0da2159639b2c05ea14a5bea811824d3e

13 years agoEnable iframe scrolling.
Patrick Scott [Mon, 13 Dec 2010 16:20:07 +0000 (11:20 -0500)]
Enable iframe scrolling.

Turn off iframe expansion and record iframes in a composited layer.
Fix navigation by tracking iframe layers if needed.  Remove the logic to add
focused nodes to the last tracked layer as it is not needed and might add nodes
to the wrong layer.

Bug: 3219076321166632010773194321
Change-Id: Ifc0b83102438255db7e4b62ad260f50ebbdb0e50

13 years agoOnly the WebRequestContext handle deletion of private cookies
Kristian Monsen [Mon, 13 Dec 2010 17:03:14 +0000 (17:03 +0000)]
Only the WebRequestContext handle deletion of private cookies

This is now only done on the webcore thread, and not on external
request.

Bug 3243891

Change-Id: Ia46422f2f92c2d7c4907862a8059af64f6e50f06

13 years agoMerge "SkRect takes left, top, right, bottom."
Patrick Scott [Mon, 13 Dec 2010 17:30:18 +0000 (09:30 -0800)]
Merge "SkRect takes left, top, right, bottom."

13 years agoMerge "Fix crash with meta data settings"
Patrick Scott [Mon, 13 Dec 2010 17:29:40 +0000 (09:29 -0800)]
Merge "Fix crash with meta data settings"

13 years agoMerge "Fixes cookiejar and webicon permissions"
John Reck [Mon, 13 Dec 2010 17:10:08 +0000 (09:10 -0800)]
Merge "Fixes cookiejar and webicon permissions"

13 years agoClean the private cookies when we create the first or remove the last context
Kristian Monsen [Mon, 13 Dec 2010 15:59:46 +0000 (15:59 +0000)]
Clean the private cookies when we create the first or remove the last context

Bug 3243891

Change-Id: Ia67ae91bd5ca13c896e45bf4dcc79debd77051db

13 years agoMake private browsing cache in-memory
Kristian Monsen [Fri, 10 Dec 2010 17:29:31 +0000 (17:29 +0000)]
Make private browsing cache in-memory

This is better as private browsing data should not be written to
disk if it can be avoided.

Bug 3274225

Change-Id: I5c1832bbe26e58bc7e430ecdaa7cbd0a6ba1c384

13 years agoFix crash with meta data settings
Patrick Scott [Mon, 13 Dec 2010 14:37:23 +0000 (09:37 -0500)]
Fix crash with meta data settings

Bug: 3275740
Change-Id: I6a65bdd52a3d044ee9a18c690930ca884a1baec1

13 years agoMerge "Add JNI hooks for JniUtil class."
Iain Merrick [Mon, 13 Dec 2010 14:22:43 +0000 (06:22 -0800)]
Merge "Add JNI hooks for JniUtil class."

13 years agoSkRect takes left, top, right, bottom.
Patrick Scott [Mon, 13 Dec 2010 14:18:19 +0000 (09:18 -0500)]
SkRect takes left, top, right, bottom.

Change-Id: I4ddc8e4ef619b8407b0cea1f76450e42f1cadce2

13 years agoFix hit testing inside layers.
Patrick Scott [Thu, 9 Dec 2010 23:12:20 +0000 (18:12 -0500)]
Fix hit testing inside layers.

* Prevent asking for a sync in GraphicsLayerAndroid if some property has not
  changed.
* Remove scrolling logic from LayerAndroid and create a subclass for scrollable
  layers.
* Report the scrolling limits to the layer in order to scroll iframes (not
  turned on) and to avoid computing them each time the layer is scrolled.
* Change the foreground rect calculations to better match the non-overflow case.
* During hit testing, intersect the hitTestClip with the foreground and
  background to prevent false positives in the layer.
* Prepare for iframe scrolling by adding code to trigger compositing for
  iframes.  This currently works great except for navigation so it disabled for
  now.

Bug: 3258631
Change-Id: I0da2d8dbe25376c6aa4f485c9350048c82c6f563

13 years agoFixes cookiejar and webicon permissions
John Reck [Tue, 7 Dec 2010 22:51:01 +0000 (14:51 -0800)]
Fixes cookiejar and webicon permissions

 Bug: 3244281

Change-Id: Ib7359e5524aeaf4f82f52603e83dde3e99c507c2

13 years agoAdd JNI hooks for JniUtil class.
Iain Merrick [Fri, 10 Dec 2010 15:50:24 +0000 (15:50 +0000)]
Add JNI hooks for JniUtil class.

This is needed because I moved the useChromiumHttpStack()
function into JniUtil (it was previously in CookieManager).

Corresponding Java change in I56b0ddca

BUG=3270236

Change-Id: I78a92cb2a6cee4a93957f2638d96ea5b82a8620c

13 years agoMerge "Update Audio MediaPlayer to cope with a live stream"
Ben Murdoch [Thu, 9 Dec 2010 19:54:29 +0000 (11:54 -0800)]
Merge "Update Audio MediaPlayer to cope with a live stream"

13 years agoMerge "look for the parent anchor"
Cary Clark [Thu, 9 Dec 2010 19:29:51 +0000 (11:29 -0800)]
Merge "look for the parent anchor"

13 years agolook for the parent anchor
Cary Clark [Thu, 9 Dec 2010 19:00:42 +0000 (14:00 -0500)]
look for the parent anchor

The node hit may be the text inside an anchor, so chase
the parent containership to the first element before testing.

bug:3263340
Change-Id: I2e2e4b1342024deef5539d7eb4dbd376a8b329f4

13 years agoMerge "Refactor recent changes to SharedTexture and TilesManager."
Derek Sollenberger [Thu, 9 Dec 2010 18:30:55 +0000 (10:30 -0800)]
Merge "Refactor recent changes to SharedTexture and TilesManager."