OSDN Git Service

android-x86/external-webkit.git
13 years agoImplement the audio tag in webkit -- the corresponding java CL is https://android...
Nicolas Roard [Tue, 2 Feb 2010 13:11:32 +0000 (13:11 +0000)]
Implement the audio tag in webkit -- the corresponding java CL is https://android-git.corp.google.com/g/#change,41406

Cherry pick to Gingerbread, DO NOT MERGE!

Bug:3101402
Change-Id: Idbfb0efcc777f9354fcf88df32105ca9e50a24cd

13 years agoDO NOT MERGE Implement the document.createTouch, createTouchList APIs
Ben Murdoch [Sun, 17 Oct 2010 15:33:00 +0000 (16:33 +0100)]
DO NOT MERGE Implement the document.createTouch, createTouchList APIs

Cherry pick to Gingerbread to enable HTML5 video playback on some
sites that look for certain APIs to determine player compatability.

Do not merge.

Bug: 3101402

Change-Id: Id54f4cbac23208249922c3ef44086c8d9828d32c

13 years agoDO NOT MERGE
Shimeng (Simon) Wang [Thu, 16 Sep 2010 22:03:07 +0000 (15:03 -0700)]
DO NOT MERGE

For cherry-picking to GB.

Implement supportsType in MediaPlayerPrivateAndroid.

Use Java API to obtain this info.

issue: 3101402
Change-Id: I2baaf8ad861bec9b9b6f92fe753cbd879b33497c

13 years agoMerge "Provide padding + border values for textfields." into gingerbread
Cary Clark [Wed, 13 Oct 2010 13:57:15 +0000 (06:57 -0700)]
Merge "Provide padding + border values for textfields." into gingerbread

13 years agoProvide padding + border values for textfields.
Leon Scroggins [Tue, 12 Oct 2010 18:01:13 +0000 (14:01 -0400)]
Provide padding + border values for textfields.

Bug:3085564

They are used by WebView.java to align the WebTextView's
text positioning with the page below.  This allows the
selection and insertion arrow handlers to line up better
with the actual selection on the page.

Requires a change in frameworks/base:
https://android-git.corp.google.com/g/#change,73565

Change-Id: Ia100286016a780abd5f30e32975f8ad566a6ed74

13 years agochange webkit text select to orange
Cary Clark [Mon, 11 Oct 2010 19:36:51 +0000 (15:36 -0400)]
change webkit text select to orange

This changes the selection to a transparent orange.
This won't match the UI exactly, because this draws
transparently over the text instead of opaquely
behind the text.

This also changes the design of the text selection
handles to match the bitmaps in the UI.

http://b/3083069

Change-Id: I02656c42a3020f9b1e5dbc431c47bf2b51d22de8

13 years agoRevert to skia's decoder for gifs with 1 frame.
Patrick Scott [Thu, 7 Oct 2010 19:11:03 +0000 (15:11 -0400)]
Revert to skia's decoder for gifs with 1 frame.

If a site has a bunch of gifs, they will all be kept in memory.  If the gif only
has one frame, revert to using skia's decoder so that we can share the memory
and use RLE encoding.

Bug: 3060919
Change-Id: I3091b184ce4a8c27a264473526ce4ea83a20e74f

13 years agoDo not merge: fix array overwrite crasher
Cary Clark [Thu, 30 Sep 2010 19:14:40 +0000 (15:14 -0400)]
Do not merge: fix array overwrite crasher

If two nodes have the same coordinates, one is deleted.
If either has focus, the focus needs to be transfered
to the other, and the focus index recomputed, so the
index won't point to the wrong node.

If the two nodes are at the end of the list, the
index may point off the end of the array, subsequently
crashing on access.

This is a possible security issue.

Change-Id: I1ca934074637fbf68e40318fbc354e28c6b474ba
http://b/3043268

13 years agoDo not merge -- restrict text selection to the main layer
Cary Clark [Wed, 15 Sep 2010 15:29:20 +0000 (11:29 -0400)]
Do not merge -- restrict text selection to the main layer

Gmail causes layers to appear as a message is scrolled. This confuses
the text selection logic. To workaround this in Gingerbread,
text selection is only allowed to be drawn in the main layer.

Change-Id: Idd814bcb5dfeef2fc12d6b0d586a63f711351d96
http://b/2998882

13 years agoCherry-pick security fix in WebKit change 63048. Do not merge
Steve Block [Mon, 13 Sep 2010 09:38:59 +0000 (10:38 +0100)]
Cherry-pick security fix in WebKit change 63048. Do not merge

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

Note that this required a manual merge as we do not have
http://trac.webkit.org/changeset/59988

Bug: 2986936
Change-Id: I82617a011f68aeea953000d5487f40b32dcc7c72

13 years agoCherry-pick security fix in WebKit change 66052
Steve Block [Thu, 9 Sep 2010 10:55:43 +0000 (11:55 +0100)]
Cherry-pick security fix in WebKit change 66052

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

Bug: 2986936
Change-Id: I42d1b546b328e28d8dd817c5904fa1d0ee0b759c

13 years agoCherry-pick security fix in WebKit change 65826
Steve Block [Thu, 9 Sep 2010 10:56:25 +0000 (11:56 +0100)]
Cherry-pick security fix in WebKit change 65826

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

Bug: 2986936
Change-Id: Ie69df8dfa6314d46e5dbf51663ebb207995b8d3b

13 years agoCherry-pick security fix in WebKit change 65748
Steve Block [Thu, 9 Sep 2010 10:55:57 +0000 (11:55 +0100)]
Cherry-pick security fix in WebKit change 65748

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

Bug: 2986936
Change-Id: Idd9927f39d49b8eadd589f1513cf5210cd9dfee0

13 years agoCherry-pick security fix in WebKit change 65329
Steve Block [Thu, 9 Sep 2010 10:52:21 +0000 (11:52 +0100)]
Cherry-pick security fix in WebKit change 65329

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

Bug: 2986936
Change-Id: I664cc00bba4cdd68cc5e23d2566279de614f5f64

13 years agoCherry-pick security fix in WebKit change 65280
Steve Block [Thu, 9 Sep 2010 10:17:57 +0000 (11:17 +0100)]
Cherry-pick security fix in WebKit change 65280

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

Bug: 2986936
Change-Id: Ia70edaa46747536a9e7adc05493ef70a9baec610

13 years agoCherry-pick security fix in WebKit change 65090
Steve Block [Thu, 9 Sep 2010 10:18:29 +0000 (11:18 +0100)]
Cherry-pick security fix in WebKit change 65090

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

Note that this required a manual merge due to our not having
http://trac.webkit.org/changeset/60251

Bug: 2986936
Change-Id: I035ec5d92c4e31cc8f7667dfc46e22d2a02cda97

13 years agoCherry-pick security fix in WebKit change 64293
Steve Block [Thu, 9 Sep 2010 10:17:44 +0000 (11:17 +0100)]
Cherry-pick security fix in WebKit change 64293

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

Bug: 2986936
Change-Id: I2b4e9d218909872260e031032356b02038b73ced

13 years agoCherry-pick security fix in WebKit change 64077
Steve Block [Thu, 9 Sep 2010 10:17:13 +0000 (11:17 +0100)]
Cherry-pick security fix in WebKit change 64077

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

Bug: 2986936
Change-Id: Ic3e825e880f2094f274758af93a0949b0b9278f0

13 years agoCherry-pick security fix in WebKit change 63773
Steve Block [Thu, 9 Sep 2010 10:16:44 +0000 (11:16 +0100)]
Cherry-pick security fix in WebKit change 63773

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

Bug: 2986936
Change-Id: I5536ceeee25b07476a92e4531862c7c9d7beb6c8

13 years agoCherry-pick security fix in WebKit change 63772
Steve Block [Thu, 9 Sep 2010 10:20:02 +0000 (11:20 +0100)]
Cherry-pick security fix in WebKit change 63772

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

Note that this is only a partial cherry-pick. I don't think that the
fix to RenderBlock::canMergeContiguousAnonymousBlocks() is required as
we don't have this method in our version of WebKit. The method was
added in http://trac.webkit.org/changeset/60201). Attempting to make
the fix without this change, or cherry-picking this change too, would
be too high risk.

Bug: 2986936
Change-Id: I8d9f1924611e693e340dcb2f05a43d5673ef23b1

13 years agoCherry-pick security fix in WebKit change 62873
Steve Block [Thu, 9 Sep 2010 11:00:30 +0000 (12:00 +0100)]
Cherry-pick security fix in WebKit change 62873

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

Bug: 2986936
Change-Id: I8353bade3fb14aedeaa517e6bc8331cd05ee3fd8

13 years agoCherry-pick security fix in WebKit change 62271
Steve Block [Thu, 9 Sep 2010 10:53:31 +0000 (11:53 +0100)]
Cherry-pick security fix in WebKit change 62271

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

Bug: 2986936
Change-Id: I368b10ff368aef5317c01b18524f1e0521df056e

13 years agoCherry-pick security fix in WebKit change 62134
Steve Block [Thu, 9 Sep 2010 10:53:17 +0000 (11:53 +0100)]
Cherry-pick security fix in WebKit change 62134

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

Bug: 2986936
Change-Id: Ie5c1698e58b9183519aae5dfa8cf5fb8f158feb1

13 years agoCherry-pick security fix in WebKit change 61709
Steve Block [Thu, 9 Sep 2010 11:00:49 +0000 (12:00 +0100)]
Cherry-pick security fix in WebKit change 61709

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

Bug: 2986936
Change-Id: Ib2be95d12bb89c57b6f30d57cd6422bbbf364fc6

13 years agoDO NOT MERGE make the text selection easier to hit
Cary Clark [Thu, 26 Aug 2010 21:47:21 +0000 (17:47 -0400)]
DO NOT MERGE make the text selection easier to hit

Change-Id: I47b7aa04ebc2a8f0bf2c6b4399ef65e5f4c58d4e
http://b/2626451

13 years agoMerge "check for null pictures when selecting text" into gingerbread
Cary Clark [Tue, 24 Aug 2010 13:44:55 +0000 (06:44 -0700)]
Merge "check for null pictures when selecting text" into gingerbread

13 years agocheck for null pictures when selecting text
Cary Clark [Mon, 23 Aug 2010 21:06:50 +0000 (17:06 -0400)]
check for null pictures when selecting text

The LayerAndroid supplied to SelectText may have no picture
associated with it. If that's the case, ignore it.

This change was original uploaded as
https://android-git.corp.google.com/g/#change,62627
in master, but then I realized it should go into
gingerbread as well, and get merged into master automagically.

http://b/2930142

Change-Id: If6332d81f1f9baba804131caae124dd18e0b0799

13 years agomerge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward
Jean-Baptiste Queru [Tue, 24 Aug 2010 02:08:20 +0000 (19:08 -0700)]
merge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward

Change-Id: I5e13be05f736290ca88772aaca51273d3996c6c2

13 years agoDO NOT MERGE Refactor find and select dialogs
Cary Clark [Thu, 19 Aug 2010 22:31:48 +0000 (18:31 -0400)]
DO NOT MERGE Refactor find and select dialogs

(Change imported by hand from master, based on
https://android-git.corp.google.com/g/#change,53489 )

SelectText now permits incremental extension of the selection
using either touch or trackball data. SelectText adds word selection
and select all interfaces.

SelectText has been rewritten to do a better job of finding space
characters and selecting text outside of the visible window.

Companion changes in frameworks/base and packages/apps/Browser

Change-Id: I28a815375345d842f79464edbf0cb3a2019b7fe8
http://b/2626451

13 years agoCherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxMode...
Steve Block [Thu, 5 Aug 2010 11:12:56 +0000 (12:12 +0100)]
Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

Bug: 2895569
Change-Id: Iea09dc4fdc35e68ccad36deed2132f02e3778e34

13 years agoCherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed
Steve Block [Thu, 5 Aug 2010 11:10:12 +0000 (12:10 +0100)]
Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

Bug: 2895569
Change-Id: I76f48ca7d6ddee996127254c5f1f00e355318527

13 years agoam a4279478: Cherry-pick WebKit change 61921 to fix exploitable memory corruption...
Steve Block [Sat, 7 Aug 2010 01:55:12 +0000 (18:55 -0700)]
am a4279478: Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

Merge commit 'a42794783dfec7f142845611dc0f20bfe2657c49' into gingerbread

* commit 'a42794783dfec7f142845611dc0f20bfe2657c49':
  Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

13 years agoam 2b6ea029: Cherry-pick WebKit change 60984 to fix an exploitable crash when focus...
Steve Block [Sat, 7 Aug 2010 01:55:10 +0000 (18:55 -0700)]
am 2b6ea029: Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

Merge commit '2b6ea0299b0340ff815b7beab6e7491ff5e4d6c0' into gingerbread

* commit '2b6ea0299b0340ff815b7beab6e7491ff5e4d6c0':
  Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

13 years agoCherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxMode...
Steve Block [Thu, 5 Aug 2010 11:12:56 +0000 (12:12 +0100)]
Cherry-pick WebKit change 61921 to fix exploitable memory corruption in RenderBoxModelObject

Bug: 2895569
Change-Id: Iea09dc4fdc35e68ccad36deed2132f02e3778e34

13 years agoCherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed
Steve Block [Thu, 5 Aug 2010 11:10:12 +0000 (12:10 +0100)]
Cherry-pick WebKit change 60984 to fix an exploitable crash when focus is changed

Bug: 2895569
Change-Id: I76f48ca7d6ddee996127254c5f1f00e355318527

13 years agoTracking merge of dalvik-dev to gingerbread
Brian Carlstrom [Thu, 5 Aug 2010 06:24:52 +0000 (23:24 -0700)]
Tracking merge of dalvik-dev to gingerbread

git cherry-pick --no-commit a2350cae81d07b024de06d0508f8cbd317dad3b7

Change-Id: I52ae486a58ed5bdc79390525179092a5a930c0e7

13 years agoadd meta-files about 3rd party projects
The Android Open Source Project [Fri, 16 Jul 2010 18:41:36 +0000 (11:41 -0700)]
add meta-files about 3rd party projects

Change-Id: I1cc3b4d6e2165285a27b5d848c39d3965553382a

13 years agoMerge "The ICU data is no longer compiled directly into the shared library." into...
Joe Onorato [Thu, 15 Jul 2010 18:08:20 +0000 (11:08 -0700)]
Merge "The ICU data is no longer compiled directly into the shared library." into gingerbread

13 years agoThe ICU data is no longer compiled directly into the shared library.
Joe Onorato [Wed, 14 Jul 2010 02:05:43 +0000 (19:05 -0700)]
The ICU data is no longer compiled directly into the shared library.

Change-Id: Iff0a8c1152c9be1ea49f1856f3edc4383a1a5640

13 years agoMigrate to new keycode constants in keycodes.h.
Jeff Brown [Tue, 13 Jul 2010 23:17:11 +0000 (16:17 -0700)]
Migrate to new keycode constants in keycodes.h.

Change-Id: I523d6fab2964cec4610424f6fd7bbe86d38b7306

13 years agoam 9d4701f9: Push a local reference frame to avoid table overflow.
Patrick Scott [Thu, 1 Jul 2010 11:59:04 +0000 (04:59 -0700)]
am 9d4701f9: Push a local reference frame to avoid table overflow.

Merge commit '9d4701f9dc3d6fec15813f6ff9da0ae2611aa4be' into gingerbread

* commit '9d4701f9dc3d6fec15813f6ff9da0ae2611aa4be':
  Push a local reference frame to avoid table overflow.

13 years agoPush a local reference frame to avoid table overflow.
Patrick Scott [Tue, 29 Jun 2010 19:55:10 +0000 (15:55 -0400)]
Push a local reference frame to avoid table overflow.

Similar to jsc's implementation, this is needed to restrict the
amount of local references in a given jni frame.  Once the frame is
popped from the stack, all local references are cleaned.

Bug: 2807132
Change-Id: I5f4153509c513bec142472927a1787869a57f530

14 years agoam ec92ec7c: merge from open-source master
The Android Open Source Project [Tue, 18 May 2010 17:54:40 +0000 (10:54 -0700)]
am ec92ec7c: merge from open-source master

Merge commit 'ec92ec7cd8fe4ad6c8137865ec2d6b43c1a56ee5' into kraken

* commit 'ec92ec7cd8fe4ad6c8137865ec2d6b43c1a56ee5':
  Check for the absence of a frame.

14 years agomerge from open-source master
The Android Open Source Project [Tue, 18 May 2010 17:52:22 +0000 (10:52 -0700)]
merge from open-source master

Change-Id: I906635459af677aceff46ff10de93d45670481cd

14 years agoMerge "Check for the absence of a frame. This crashes in the situation where the...
Jean-Baptiste Queru [Tue, 18 May 2010 15:16:33 +0000 (08:16 -0700)]
Merge "Check for the absence of a frame. This crashes in the situation where the XHR responseXML method is being called on a document with meta tags. b/issue?id=2346028"

14 years agoam 18e97e57: merge from open-source master
The Android Open Source Project [Mon, 17 May 2010 20:53:30 +0000 (13:53 -0700)]
am 18e97e57: merge from open-source master

Merge commit '18e97e57694ae8596ac316af30cb5512fe8ef1bf' into kraken

* commit '18e97e57694ae8596ac316af30cb5512fe8ef1bf':
  Fix focus ring on links with non-latin text

14 years agomerge from open-source master
The Android Open Source Project [Mon, 17 May 2010 17:23:33 +0000 (10:23 -0700)]
merge from open-source master

Change-Id: I0b566897309348d094f93ed7ae5d9af7b0e8a377

14 years agoMerge "Fix focus ring on links with non-latin text"
Jean-Baptiste Queru [Mon, 17 May 2010 15:58:16 +0000 (08:58 -0700)]
Merge "Fix focus ring on links with non-latin text"

14 years agoCheck for the absence of a frame.
Leon Clarke [Thu, 14 Jan 2010 16:39:36 +0000 (16:39 +0000)]
Check for the absence of a frame.
This crashes in the situation where the XHR responseXML method is being
called on a document with meta tags.
http://b/issue?id=2346028

14 years agoam 75238a0c: am 2943c136: Fix the \'wobbling fixed elements\' bug. Cherry-picked...
Nicolas Roard [Tue, 11 May 2010 17:24:06 +0000 (10:24 -0700)]
am 75238a0c: am 2943c136: Fix the \'wobbling fixed elements\' bug. Cherry-picked from  This CL has a corresponding java counterpart (https://android-git.corp.google.com/g/#change,51150).

Merge commit '75238a0c6749b428ac76d812d1ab08bedaec5ee3' into kraken

* commit '75238a0c6749b428ac76d812d1ab08bedaec5ee3':
  Fix the 'wobbling fixed elements' bug.

14 years agoam 2943c136: Fix the \'wobbling fixed elements\' bug. Cherry-picked from master....
Nicolas Roard [Tue, 11 May 2010 17:19:03 +0000 (10:19 -0700)]
am 2943c136: Fix the \'wobbling fixed elements\' bug. Cherry-picked from  This CL has a corresponding java counterpart (https://android-git.corp.google.com/g/#change,51150).

Merge commit '2943c136f14cf8d0631249dd8764a0b6ab45fb98' into froyo-plus-aosp

* commit '2943c136f14cf8d0631249dd8764a0b6ab45fb98':
  Fix the 'wobbling fixed elements' bug.

14 years agoFix the 'wobbling fixed elements' bug.
Nicolas Roard [Mon, 10 May 2010 22:13:30 +0000 (15:13 -0700)]
Fix the 'wobbling fixed elements' bug.
Cherry-picked from master.
This CL has a corresponding java counterpart (https://android-git.corp.google.com/g/#change,51150).

Bug:2665696
Change-Id: I408a3e2f089a491c340e0f9eb8633870dae84997

14 years agoam ec366141: am 7f034a17: Fix a ref counting bug in touch event handling. The RefPtr...
Ben Murdoch [Thu, 6 May 2010 19:44:09 +0000 (12:44 -0700)]
am ec366141: am 7f034a17: Fix a ref counting bug in touch event handling. The RefPtr returned from m_originatingTouchPointTargets.take() was only in scope for the duration of the else block but we saved the raw pointer it wrapped. When the else block ended, the RefPtr

Merge commit 'ec3661418dd6a5edfca19848a0fa12a28959bd06' into kraken

* commit 'ec3661418dd6a5edfca19848a0fa12a28959bd06':
  Fix a ref counting bug in touch event handling. The RefPtr returned from m_originatingTouchPointTargets.take() was only in scope

14 years agoam 7f034a17: Fix a ref counting bug in touch event handling. The RefPtr returned...
Ben Murdoch [Thu, 6 May 2010 19:35:44 +0000 (12:35 -0700)]
am 7f034a17: Fix a ref counting bug in touch event handling. The RefPtr returned from m_originatingTouchPointTargets.take() was only in scope for the duration of the else block but we saved the raw pointer it wrapped. When the else block ended, the RefPtr destroyed it

Merge commit '7f034a1734d634dd1fdb3b64817d5828b5e46922' into froyo-plus-aosp

* commit '7f034a1734d634dd1fdb3b64817d5828b5e46922':
  Fix a ref counting bug in touch event handling. The RefPtr returned from m_originatingTouchPointTargets.take() was only in scope

14 years agoFix a ref counting bug in touch event handling. The RefPtr returned from m_originatin...
Ben Murdoch [Thu, 6 May 2010 14:49:14 +0000 (15:49 +0100)]
Fix a ref counting bug in touch event handling. The RefPtr returned from m_originatingTouchPointTargets.take() was only in scope
for the duration of the else block but we saved the raw pointer it wrapped. When the else block ended, the RefPtr destroyed itself, also
deleting it's enclosed pointer if it held the final ref. But we had a saved copy of this raw pointer and then went on to use
it later.

Fix bug 2543728.

Change-Id: I90e17693e15bff0969f103b5947d004837189c44

14 years agoam cc7f2722: am da713c02: Fix a crash caused by navigating away from a page with...
Ben Murdoch [Wed, 5 May 2010 17:08:02 +0000 (10:08 -0700)]
am cc7f2722: am da713c02: Fix a crash caused by navigating away from a page with your finger still down (when the old and new pages have touch event handlers installed) and then releasing your finger on the new page after WebCore has performed a garbage collection.

Merge commit 'cc7f27228a13f253de0651478d67245e240a9dc6' into kraken

* commit 'cc7f27228a13f253de0651478d67245e240a9dc6':
  Fix a crash caused by navigating away from a page with your finger still down (when the old and new pages have

14 years agoam da713c02: Fix a crash caused by navigating away from a page with your finger still...
Ben Murdoch [Wed, 5 May 2010 16:37:59 +0000 (09:37 -0700)]
am da713c02: Fix a crash caused by navigating away from a page with your finger still down (when the old and new pages have touch event handlers installed) and then releasing your finger on the new page after WebCore has performed a garbage collection.

Merge commit 'da713c0266664dc15b021e99cca31cadc5bd2bdc' into froyo-plus-aosp

* commit 'da713c0266664dc15b021e99cca31cadc5bd2bdc':
  Fix a crash caused by navigating away from a page with your finger still down (when the old and new pages have

14 years agoFix a crash caused by navigating away from a page with your finger still down (when...
Ben Murdoch [Wed, 5 May 2010 14:42:24 +0000 (15:42 +0100)]
Fix a crash caused by navigating away from a page with your finger still down (when the old and new pages have
touch event handlers installed) and then releasing your finger on the new page after WebCore has performed a
garbage collection.

Cherry pick of webkit.org revision 58760.

Bug=2543728

Change-Id: I4c9a896ff81881211746451f49158b7e99eb9166

14 years agoam 6452300d: am d294ab99: Update plugin\'s dirtyRect to match the dirtyRect returned...
Derek Sollenberger [Mon, 3 May 2010 21:55:26 +0000 (14:55 -0700)]
am 6452300d: am d294ab99: Update plugin\'s dirtyRect to match the dirtyRect returned when locking a surface.

Merge commit '6452300d47d77d78e874862c5f7908746b04c1f8' into kraken

* commit '6452300d47d77d78e874862c5f7908746b04c1f8':
  Update plugin's dirtyRect to match the dirtyRect returned when locking a surface.

14 years agoam d294ab99: Update plugin\'s dirtyRect to match the dirtyRect returned when locking...
Derek Sollenberger [Mon, 3 May 2010 20:48:39 +0000 (13:48 -0700)]
am d294ab99: Update plugin\'s dirtyRect to match the dirtyRect returned when locking a surface.

Merge commit 'd294ab9957512fd5554d794194d26328840125b4' into froyo-plus-aosp

* commit 'd294ab9957512fd5554d794194d26328840125b4':
  Update plugin's dirtyRect to match the dirtyRect returned when locking a surface.

14 years agoUpdate plugin's dirtyRect to match the dirtyRect returned when locking a surface.
Derek Sollenberger [Mon, 3 May 2010 19:26:15 +0000 (15:26 -0400)]
Update plugin's dirtyRect to match the dirtyRect returned when locking a surface.

Change-Id: I2c3e6daa10eb9eb651be52bf9387008f154b176d
http://b/2650954

14 years agoam 6ec27fea: am 5076efcd: don\'t hide transparent nodes
Cary Clark [Thu, 22 Apr 2010 20:25:51 +0000 (13:25 -0700)]
am 6ec27fea: am 5076efcd: don\'t hide transparent nodes

Merge commit '6ec27fea860849da854f5c3bcfd7b4798b08efc0' into kraken

* commit '6ec27fea860849da854f5c3bcfd7b4798b08efc0':
  don't hide transparent nodes

14 years agoam 0f92e845: am 55ab51c0: Merge "nextTextField may walk off the end or try invalid...
Cary Clark [Thu, 22 Apr 2010 20:24:19 +0000 (13:24 -0700)]
am 0f92e845: am 55ab51c0: Merge "nextTextField may walk off the end or try invalid frames" into froyo

Merge commit '0f92e845ed6499088958acf229f196ad67965f63' into kraken

* commit '0f92e845ed6499088958acf229f196ad67965f63':
  nextTextField may walk off the end or try invalid frames

14 years agoam 5076efcd: don\'t hide transparent nodes
Cary Clark [Thu, 22 Apr 2010 19:56:22 +0000 (12:56 -0700)]
am 5076efcd: don\'t hide transparent nodes

Merge commit '5076efcd053da090680d27026645b6a7d26ca79b' into froyo-plus-aosp

* commit '5076efcd053da090680d27026645b6a7d26ca79b':
  don't hide transparent nodes

14 years agodon't hide transparent nodes
Cary Clark [Thu, 22 Apr 2010 19:48:12 +0000 (15:48 -0400)]
don't hide transparent nodes

A node may be transparent if the body of the node is drawn earlier.
In this case, the node may not be tested to see if it has been
occluded by later drawing, since no drawing inside the scope of
the node is actually visible. So, skip the hidden test for
transparent nodes.

Change-Id: Ib748e9e7b86252f791ee68198d1d794fb4591a88
http://b/2582455

14 years agoam 55ab51c0: Merge "nextTextField may walk off the end or try invalid frames" into...
Cary Clark [Thu, 22 Apr 2010 13:55:13 +0000 (06:55 -0700)]
am 55ab51c0: Merge "nextTextField may walk off the end or try invalid frames" into froyo

Merge commit '55ab51c027055eb6f5ab777712cf4aa058ab7891' into froyo-plus-aosp

* commit '55ab51c027055eb6f5ab777712cf4aa058ab7891':
  nextTextField may walk off the end or try invalid frames

14 years agoMerge "nextTextField may walk off the end or try invalid frames" into froyo
Cary Clark [Thu, 22 Apr 2010 13:51:03 +0000 (06:51 -0700)]
Merge "nextTextField may walk off the end or try invalid frames" into froyo

14 years agonextTextField may walk off the end or try invalid frames
Cary Clark [Wed, 21 Apr 2010 18:18:24 +0000 (14:18 -0400)]
nextTextField may walk off the end or try invalid frames

Rewrote nextTextField() to check range and frame, and
to more resemble other node walkers.

Caller no longer passes uninitialized frame in focused
case, and looks at parent frames after the target node.

Change-Id: I7ea9dffb75d28bdd9d71d83921058feca6baf928
http://b/2607250

14 years agoam da70a732: am 42496a8f: Add cleanspec rules after re-enabling V8 snapshots.
Andrei Popescu [Wed, 21 Apr 2010 16:34:58 +0000 (09:34 -0700)]
am da70a732: am 42496a8f: Add cleanspec rules after re-enabling V8 snapshots.

Merge commit 'da70a73229ffd53fe61eee809ca96f2cb3853f58' into kraken

* commit 'da70a73229ffd53fe61eee809ca96f2cb3853f58':
  Add cleanspec rules after re-enabling V8 snapshots.

14 years agoam 42496a8f: Add cleanspec rules after re-enabling V8 snapshots.
Andrei Popescu [Wed, 21 Apr 2010 16:30:54 +0000 (09:30 -0700)]
am 42496a8f: Add cleanspec rules after re-enabling V8 snapshots.

Merge commit '42496a8f108674defe617aac3b7b646ee058d3aa' into froyo-plus-aosp

* commit '42496a8f108674defe617aac3b7b646ee058d3aa':
  Add cleanspec rules after re-enabling V8 snapshots.

14 years agoAdd cleanspec rules after re-enabling V8 snapshots.
Andrei Popescu [Wed, 21 Apr 2010 15:20:48 +0000 (16:20 +0100)]
Add cleanspec rules after re-enabling V8 snapshots.

Fix bug:  2612919

Change-Id: Id65eae5ed3ad34bf10fafdd35cfae2ea873483ce

14 years agoFix focus ring on links with non-latin text
Anders Edenbrandt [Wed, 10 Feb 2010 09:41:22 +0000 (10:41 +0100)]
Fix focus ring on links with non-latin text

When a clickable link in a HTML document is focused, a rectangle with
rounded corners is drawn around that link. If the link contains Arabic
characters (or characters from other non-latin alphabets) the focus
ring will be drawn too high up on the page.

Change-Id: Ia589236c4e315af76c6e8f746cc99af63e7e53d7

14 years agoam 233b1e5a: am 54070f49: Merge "Make sure to layout the view with the final dimensio...
Patrick Scott [Wed, 14 Apr 2010 23:33:40 +0000 (16:33 -0700)]
am 233b1e5a: am 54070f49: Merge "Make sure to layout the view with the final dimensions." into froyo

Merge commit '233b1e5ab6e18ef2db20b5179e891d1a73293225' into kraken

* commit '233b1e5ab6e18ef2db20b5179e891d1a73293225':
  Make sure to layout the view with the final dimensions.

14 years agoam 34a423ba: am 22804c07: Pass scroll mode to Java so that we can handle overflow...
Grace Kloba [Wed, 14 Apr 2010 23:33:37 +0000 (16:33 -0700)]
am 34a423ba: am 22804c07: Pass scroll mode to Java so that we can handle overflow on html and body correctly.

Merge commit '34a423ba5b431f032c09b5a6702b2cd3944bda3b' into kraken

* commit '34a423ba5b431f032c09b5a6702b2cd3944bda3b':
  Pass scroll mode to Java so that we can handle

14 years agoam 54070f49: Merge "Make sure to layout the view with the final dimensions." into...
Patrick Scott [Wed, 14 Apr 2010 23:27:13 +0000 (16:27 -0700)]
am 54070f49: Merge "Make sure to layout the view with the final dimensions." into froyo

Merge commit '54070f490711d3ec763c006c9b84adf55d32f0a2' into froyo-plus-aosp

* commit '54070f490711d3ec763c006c9b84adf55d32f0a2':
  Make sure to layout the view with the final dimensions.

14 years agoam 22804c07: Pass scroll mode to Java so that we can handle overflow on html and...
Grace Kloba [Wed, 14 Apr 2010 23:27:09 +0000 (16:27 -0700)]
am 22804c07: Pass scroll mode to Java so that we can handle overflow on html and body correctly.

Merge commit '22804c073ffc06fd1fc520d1afbad71e353e488d' into froyo-plus-aosp

* commit '22804c073ffc06fd1fc520d1afbad71e353e488d':
  Pass scroll mode to Java so that we can handle

14 years agoMerge "Make sure to layout the view with the final dimensions." into froyo
Patrick Scott [Wed, 14 Apr 2010 20:28:28 +0000 (13:28 -0700)]
Merge "Make sure to layout the view with the final dimensions." into froyo

14 years agoMake sure to layout the view with the final dimensions.
Patrick Scott [Wed, 14 Apr 2010 19:07:36 +0000 (15:07 -0400)]
Make sure to layout the view with the final dimensions.

Bug: 2532684
Change-Id: I6500fc08760f8dbc99d1d279e6beca7bdb3345c9

14 years agoPass scroll mode to Java so that we can handle
Grace Kloba [Wed, 14 Apr 2010 05:45:39 +0000 (22:45 -0700)]
Pass scroll mode to Java so that we can handle
overflow on html and body correctly.

Fix http://b/issue?id=2512549

14 years agodon't hardcode "mSurface" throughout our source code
Mathias Agopian [Mon, 12 Apr 2010 23:24:57 +0000 (16:24 -0700)]
don't hardcode "mSurface" throughout our source code

this is used in a few places to get access to the android.view.Surface
native surface. use a macro instead. Also rename the field to mNativeSurface.

Change-Id: Icb894b09b3c9a4878b4bfb4dd24f752fa5f0dcde

14 years agoam ac90fdd7: Merge "Cherry pick http://codereview.chromium.org/1560007" into froyo
Andrei Popescu [Mon, 12 Apr 2010 19:07:47 +0000 (12:07 -0700)]
am ac90fdd7: Merge "Cherry pick codereview.chromium.org/1560007" into froyo

Merge commit 'ac90fdd70d8a2f6051fdc959dac8edf5819f38bd' into froyo-plus-aosp

* commit 'ac90fdd70d8a2f6051fdc959dac8edf5819f38bd':
  Cherry pick http://codereview.chromium.org/1560007

14 years agoam d71ec47f: Merge "Cherry pick http://codereview.chromium.org/1549001" into froyo
Andrei Popescu [Mon, 12 Apr 2010 19:06:14 +0000 (12:06 -0700)]
am d71ec47f: Merge "Cherry pick codereview.chromium.org/1549001" into froyo

Merge commit 'd71ec47fc759286ee28567b4ff2a6dd67fc89dcd' into froyo-plus-aosp

* commit 'd71ec47fc759286ee28567b4ff2a6dd67fc89dcd':
  Cherry pick http://codereview.chromium.org/1549001

14 years agoam 30f14070: Merge "Cherry-pick http://codereview.chromium.org/1594015" into froyo
Andrei Popescu [Mon, 12 Apr 2010 19:06:12 +0000 (12:06 -0700)]
am 30f14070: Merge "Cherry-pick codereview.chromium.org/1594015" into froyo

Merge commit '30f1407065eeef96453ba46aa338ee7ff6dd2165' into froyo-plus-aosp

* commit '30f1407065eeef96453ba46aa338ee7ff6dd2165':
  Cherry-pick http://codereview.chromium.org/1594015

14 years agoam 61c1b0ac: Merge "Cherry pick http://src.chromium.org/viewvc/chrome?view=rev&revisi...
Andrei Popescu [Mon, 12 Apr 2010 19:06:09 +0000 (12:06 -0700)]
am 61c1b0ac: Merge "Cherry pick src.chromium.org/viewvc/chrome?view=rev&revision=43874" into froyo

Merge commit '61c1b0ac380b1947aae2bd2394cc255e0c35ebf9' into froyo-plus-aosp

* commit '61c1b0ac380b1947aae2bd2394cc255e0c35ebf9':
  Cherry pick http://src.chromium.org/viewvc/chrome?view=rev&revision=43874

14 years agoMerge "Cherry pick http://codereview.chromium.org/1560007" into froyo
Andrei Popescu [Mon, 12 Apr 2010 19:04:56 +0000 (12:04 -0700)]
Merge "Cherry pick codereview.chromium.org/1560007" into froyo

14 years agoMerge "Cherry pick http://codereview.chromium.org/1549001" into froyo
Andrei Popescu [Mon, 12 Apr 2010 19:04:22 +0000 (12:04 -0700)]
Merge "Cherry pick codereview.chromium.org/1549001" into froyo

14 years agoMerge "Cherry-pick http://codereview.chromium.org/1594015" into froyo
Andrei Popescu [Mon, 12 Apr 2010 19:03:32 +0000 (12:03 -0700)]
Merge "Cherry-pick codereview.chromium.org/1594015" into froyo

14 years agoMerge "Cherry pick http://src.chromium.org/viewvc/chrome?view=rev&revision=43874...
Andrei Popescu [Mon, 12 Apr 2010 19:02:36 +0000 (12:02 -0700)]
Merge "Cherry pick src.chromium.org/viewvc/chrome?view=rev&revision=43874" into froyo

14 years agoCherry pick http://codereview.chromium.org/1560007
Andrei Popescu [Mon, 12 Apr 2010 18:45:23 +0000 (19:45 +0100)]
Cherry pick http://codereview.chromium.org/1560007

Fix bug: 2588946

Change-Id: I80d144dd735e367bde8ba91ef0ab4ba3090da9d6

14 years agoam 164756aa: Merge "Do not set touch state to TouchStationary as EventHandler doesn...
Grace Kloba [Mon, 12 Apr 2010 18:15:29 +0000 (11:15 -0700)]
am 164756aa: Merge "Do not set touch state to TouchStationary as EventHandler doesn\'t handle it. The result is preventDefault will be always false and trigger the unexpected behavior for Flash." into froyo

Merge commit '164756aae729daa66d9e87c1c930be7568054912' into froyo-plus-aosp

* commit '164756aae729daa66d9e87c1c930be7568054912':
  Do not set touch state to TouchStationary as EventHandler

14 years agoMerge "Do not set touch state to TouchStationary as EventHandler doesn't handle it...
Grace Kloba [Mon, 12 Apr 2010 18:13:36 +0000 (11:13 -0700)]
Merge "Do not set touch state to TouchStationary as EventHandler doesn't handle it. The result is preventDefault will be always false and trigger the unexpected behavior for Flash." into froyo

14 years agoCherry pick http://codereview.chromium.org/1549001
Andrei Popescu [Mon, 12 Apr 2010 17:46:37 +0000 (18:46 +0100)]
Cherry pick http://codereview.chromium.org/1549001

Fix bug: 2588926

Change-Id: I4d077f109c3b415e1a0fa4765e939bea3b56f7fc

14 years agoCherry-pick http://codereview.chromium.org/1594015
Andrei Popescu [Mon, 12 Apr 2010 17:32:58 +0000 (18:32 +0100)]
Cherry-pick http://codereview.chromium.org/1594015

Fix bug: 2588909

Change-Id: I4102e4aebb9edb8219e6b9f3bb57f0cb969f1d15

14 years agoCherry pick http://src.chromium.org/viewvc/chrome?view=rev&revision=43874
Andrei Popescu [Mon, 12 Apr 2010 16:03:04 +0000 (17:03 +0100)]
Cherry pick src.chromium.org/viewvc/chrome?view=rev&revision=43874

Fix bug: 2588887

Change-Id: I06d64e58a95d9dd8d7e4308e1601c55d6d33663f

14 years agoDo not set touch state to TouchStationary as EventHandler
Grace Kloba [Fri, 9 Apr 2010 21:44:39 +0000 (14:44 -0700)]
Do not set touch state to TouchStationary as EventHandler
doesn't handle it. The result is preventDefault will
be always false and trigger the unexpected behavior
for Flash.

Fix http://b/issue?id=2585109

14 years agoam 411a8ae3: Merge "Fix for Bug:2579468" into froyo
Nicolas Roard [Thu, 8 Apr 2010 22:30:54 +0000 (15:30 -0700)]
am 411a8ae3: Merge "Fix for Bug:2579468" into froyo

Merge commit '411a8ae3907d3288c7e8ed008d61303f08fe265a' into froyo-plus-aosp

* commit '411a8ae3907d3288c7e8ed008d61303f08fe265a':
  Fix for Bug:2579468

14 years agoMerge "Fix for Bug:2579468" into froyo
Nicolas Roard [Thu, 8 Apr 2010 22:28:22 +0000 (15:28 -0700)]
Merge "Fix for Bug:2579468" into froyo

14 years agoFix for Bug:2579468
Nicolas Roard [Thu, 8 Apr 2010 00:47:00 +0000 (17:47 -0700)]
Fix for Bug:2579468

Instead of deleting the PluginTimer in unschedule(), we just flag it, and delete it if necessary when it fires.

Change-Id: I55bdc38705204e0197917af4eb5bc2784553e68f

14 years agoam 18f501d6: Fix bug that causes plugins not be notified of the change to the visible...
Derek Sollenberger [Thu, 8 Apr 2010 14:47:52 +0000 (07:47 -0700)]
am 18f501d6: Fix bug that causes plugins not be notified of the change to the visible screen dimensions as a result of pinch to zoom.

Merge commit '18f501d6904704ce0eff4bfdc68f2ca4aeb66af9' into froyo-plus-aosp

* commit '18f501d6904704ce0eff4bfdc68f2ca4aeb66af9':
  Fix bug that causes plugins not be notified of the change to the

14 years agoFix bug that causes plugins not be notified of the change to the
Derek Sollenberger [Thu, 8 Apr 2010 13:32:17 +0000 (09:32 -0400)]
Fix bug that causes plugins not be notified of the change to the
visible screen dimensions as a result of pinch to zoom.

http://b/2578820

Change-Id: I98576e9937ec469a1dfa7162954ac93e120bc149