OSDN Git Service

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

Change-Id: Ie6cc93dc813c7014ab13015a904b7d9a1706e193

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

Change-Id: I027931929980a55d4d5e883f659c116c77dbb2a9

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

bug:3382562
bug:3384930
Change-Id: I55b97cacc9c50ae5a0b5dfc39658bb63c8aa9e87

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

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

bug:3375416

Change-Id: I9e86736c9f7910765bea739cdd0e04331b98f155

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

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

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

Bug:3376680

Change-Id: Ib5636a27183fbd94aff6817e0a5641c40db28649

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

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

Bug:3383787

The intent of calling revealSelection was to show the text field
when the IME is shown.  If the scale changed, this was a zoom, not
an opening of the IME.

Change-Id: Idcb17c18eb7f90b79521da1ab1b48931808773d6

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

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

This is a change to help framework optimizations for display lists.
A display list can now cache a function pointer to the drawGL call
of webcore.

Change-Id: I9ba133d5a28f12b1c3626301414786a41c1d58b9

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

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

Change-Id: I82b0dd67342a381ea1764c4d0457386ff7980be4

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

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

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

Bug:3367855

Change-Id: I38877b7088d27f51d98cfd182d937fe5cb3b9f8d

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

bug:3379585
Change-Id: Ica133d128f940a71afdd44130735eab11e4daf4e

13 years agoImplement tiles synchronization
Nicolas Roard [Sun, 23 Jan 2011 23:01:19 +0000 (15:01 -0800)]
Implement tiles synchronization
When a tiledPage is painted, we want to avoid updating the base
layer. GLWebViewState and WebView.cpp are now refcounting the
base layer, delaying updating the base layer we use to paint
until we are done with a full tile paint.

bug:3224744
Change-Id: Ica2b8f1db146a1e059fc0735dc53107fc40da07a

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

Bug:3321608
Bug:3085564

Scroll the UI layer for a <textarea> when scrolling the
WebTextView.  When clicking on a <textarea>, send the scroll
point so the click happens properly.

Requires a change to frameworks/base.

Change-Id: I3b32a53db350b6c49fdbf8dd177c34854aae66b4

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

bug: 3332478
Change-Id: I358ed2c828e39adc8d6e80eaaa0071854e03c655

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

Fix null pointer deref.

Bug:3364538
Change-Id: Iafeecd81ec422de6e17ec8a0c36c29e4fcf7fc74

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

bug: 3374501
Change-Id: Idb6836cb8e3919066d77cbcca8b09a6f261dae31

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

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

bug:3373656
Change-Id: If6428b88a135fe1184e92bf345ddbae349622c94

13 years agoMerge "match the frame with the node" into honeycomb
Cary Clark [Thu, 20 Jan 2011 19:52:40 +0000 (11:52 -0800)]
Merge "match the frame with the node" into honeycomb

13 years agoMerge "Send appropriate events when plugin is dynamically resized." into honeycomb
Derek Sollenberger [Thu, 20 Jan 2011 19:20:28 +0000 (11:20 -0800)]
Merge "Send appropriate events when plugin is dynamically resized." into honeycomb

13 years agomatch the frame with the node
Cary Clark [Thu, 20 Jan 2011 19:09:55 +0000 (14:09 -0500)]
match the frame with the node

In a couple of places, the wrong frame is used
with the node, resulting in a crash if the
node is in a layer.

bug:3373069
Change-Id: I0ff7a9d0aa07f742e95278c377b43ca77eb73212

13 years agoReport SSL certificates to WebView.
Iain Merrick [Fri, 7 Jan 2011 10:50:51 +0000 (10:50 +0000)]
Report SSL certificates to WebView.

In the Apache HTTP stack, this is done by LoadListener. This CL
plumbs in the same logic for the Chrome HTTP stack. This fixes
the WebViewTest#testAccessCertificate CTS test.

Bug:3242048
Change-Id: I69a4de46ded59bfdebdd391c4731c7c1a79744fb

13 years agoSend appropriate events when plugin is dynamically resized.
Derek Sollenberger [Thu, 20 Jan 2011 15:57:24 +0000 (10:57 -0500)]
Send appropriate events when plugin is dynamically resized.

bug: 3372374
Change-Id: I51bb9fedaf4c941f45c068ad3e044cd771444392

13 years agoMerge "Merge WebKit at Chromium 9.0.597.76: Update WebKit revision number" into honeycomb
Ben Murdoch [Thu, 20 Jan 2011 14:43:05 +0000 (06:43 -0800)]
Merge "Merge WebKit at Chromium 9.0.597.76: Update WebKit revision number" into honeycomb

13 years agoMerge "Don't allow fullscreen video to play from the onload handler." into honeycomb
Ben Murdoch [Thu, 20 Jan 2011 14:42:57 +0000 (06:42 -0800)]
Merge "Don't allow fullscreen video to play from the onload handler." into honeycomb

13 years agoMerge "Prelinking libwebcore after making more space in the prelink map" into honeycomb
Kristian Monsen [Thu, 20 Jan 2011 14:40:29 +0000 (06:40 -0800)]
Merge "Prelinking libwebcore after making more space in the prelink map" into honeycomb

13 years agoMerge "Do not reveal selection unless the focus controller is active." into honeycomb
Leon Scroggins [Thu, 20 Jan 2011 13:56:12 +0000 (05:56 -0800)]
Merge "Do not reveal selection unless the focus controller is active." into honeycomb

13 years agoPrelinking libwebcore after making more space in the prelink map
Kristian Monsen [Mon, 17 Jan 2011 17:04:34 +0000 (17:04 +0000)]
Prelinking libwebcore after making more space in the prelink map

Depends on this CL in the build package:
https://android-git.corp.google.com/g/#change,90379

Fix for bug 2917906

Change-Id: I69ffa74de5341096012488648e8a0d72774421ca

13 years agoDo not reveal selection unless the focus controller is active.
Leon Scroggins [Thu, 20 Jan 2011 13:10:49 +0000 (08:10 -0500)]
Do not reveal selection unless the focus controller is active.

Bug:3370821
Bug:3073288

Also remove unnecessary callers to setUserInitiatedAction.

Change-Id: I682b9498bb48771a92e856e32e16072007c53f72

13 years agoMerge WebKit at Chromium 9.0.597.76: Update WebKit revision number
Ben Murdoch [Wed, 19 Jan 2011 13:01:33 +0000 (13:01 +0000)]
Merge WebKit at Chromium 9.0.597.76: Update WebKit revision number

No changes for this merge, just updating the tag.

Note that we are tracking the Chromium 9.0.597 release branch,
which is WebKit r72805 + stability cherry picks.

See
http://svn.webkit.org/repository/webkit/branches/chromium/597/WebCore@75681

Change-Id: I9ad6ece190bbbcb283d8d4c624d8baff5023c653

13 years agoScroll Dimension need re-computed when size changed.
Teng-Hui Zhu [Wed, 19 Jan 2011 22:18:45 +0000 (14:18 -0800)]
Scroll Dimension need re-computed when size changed.

The scroll size will be used for layout and should respect the layer's
size change. Otherwise all the position info can be wrong.

bug:3362888
Change-Id: I553ba01ca7e5960c7ec706d56710495fc5514db1

13 years agoDon't allow fullscreen video to play from the onload handler.
Ben Murdoch [Wed, 19 Jan 2011 12:12:35 +0000 (12:12 +0000)]
Don't allow fullscreen video to play from the onload handler.

Prevent fullscreen HTML5 video from playing if the play command
originates from the onload handler.

Change-Id: I2031d3785d5c27f88350df03d57fcbbbc8898e89

13 years agoMerge "Fix "jump" bug" into honeycomb
Nicolas Roard [Wed, 19 Jan 2011 19:55:49 +0000 (11:55 -0800)]
Merge "Fix "jump" bug" into honeycomb

13 years agoMerge "Fix browser build on non-ARMv7 configurations." into honeycomb
David 'Digit' Turner [Wed, 19 Jan 2011 19:55:28 +0000 (11:55 -0800)]
Merge "Fix browser build on non-ARMv7 configurations." into honeycomb

13 years agoFix "jump" bug
Nicolas Roard [Wed, 19 Jan 2011 19:54:04 +0000 (11:54 -0800)]
Fix "jump" bug

bug:3349970
Change-Id: I7e095c541bc8a106c94c14a70f121ea3b24f06f4

13 years agoFix browser build on non-ARMv7 configurations.
David 'Digit' Turner [Wed, 19 Jan 2011 19:36:30 +0000 (20:36 +0100)]
Fix browser build on non-ARMv7 configurations.

This is required to prevent the browser from crashing with a SIGILL
when running the full-eng product in the emulator.

Change-Id: I321130fe4d568c927999ae41503d2a5c24b3cbae

13 years agoTrigger OnScreen events when the page loads.
Derek Sollenberger [Wed, 19 Jan 2011 18:34:23 +0000 (13:34 -0500)]
Trigger OnScreen events when the page loads.

bug: 3368632
Change-Id: I13dbf1c809f32887f5d659e6fead60a61110eddd

13 years agoMove selection on screen when size changes.
Leon Scroggins [Wed, 19 Jan 2011 17:56:38 +0000 (12:56 -0500)]
Move selection on screen when size changes.

Bug:3367446
Change-Id: Idad0fae69588fd6ce9602319385e165d7e2ff5dd

13 years agoMerge "Passing WebSettings cacheMode to the chrome load_flags" into honeycomb
Kristian Monsen [Wed, 19 Jan 2011 18:04:18 +0000 (10:04 -0800)]
Merge "Passing WebSettings cacheMode to the chrome load_flags" into honeycomb

13 years agoMerge "Fix (or partial fix) for 3355185, crash on broken-ideograph-small-caps.html...
Russell Brenner [Wed, 19 Jan 2011 18:04:09 +0000 (10:04 -0800)]
Merge "Fix (or partial fix) for 3355185, crash on broken-ideograph-small-caps.html" into honeycomb

13 years agoFix (or partial fix) for 3355185, crash on broken-ideograph-small-caps.html
Russell Brenner [Wed, 19 Jan 2011 02:00:42 +0000 (18:00 -0800)]
Fix (or partial fix) for 3355185, crash on broken-ideograph-small-caps.html

Emptied platformDestroy(). It was deleting m_smallCapsFontData, but not
setting it to 0. The caller, ~SimpleFontData(), then went on to use the
deleted pointer and delete it again. This was changed for other
platforms with http://trac.webkit.org/changeset/71975.

Change-Id: Ie67f91559479a17519db7793c7349eb013235320

13 years agoPassing WebSettings cacheMode to the chrome load_flags
Kristian Monsen [Wed, 19 Jan 2011 16:02:50 +0000 (16:02 +0000)]
Passing WebSettings cacheMode to the chrome load_flags

Fixes a few CTS tests

Change-Id: I1b72813b828a6aa24522e9ffb2ff17a3e364f7bf

13 years agoMerge "don't draw buttons while they are created" into honeycomb
Cary Clark [Wed, 19 Jan 2011 17:33:42 +0000 (09:33 -0800)]
Merge "don't draw buttons while they are created" into honeycomb

13 years agodon't draw buttons while they are created
Cary Clark [Wed, 19 Jan 2011 14:58:30 +0000 (09:58 -0500)]
don't draw buttons while they are created

There are three threads all hammering at the same resource.
The WebViewCore thread records the buttons on the page.
The WebView thread rerecords the button pictures to show selection and focus.
The GLWebViewState thread draws the picture containing the button pictures
into the tile.

Prevent drawing the picture while the buttons are recorded
by sharing the button mutext with the GL tile creation.

bug:3354678
Change-Id: I245ed47ad5a6d1fe28ea870bd7c557937eed1164

13 years agoMerge "Fix plugin crash when loading swf files." into honeycomb
Derek Sollenberger [Wed, 19 Jan 2011 16:42:00 +0000 (08:42 -0800)]
Merge "Fix plugin crash when loading swf files." into honeycomb

13 years agoFix plugin crash when loading swf files.
Derek Sollenberger [Wed, 19 Jan 2011 16:05:27 +0000 (11:05 -0500)]
Fix plugin crash when loading swf files.

bug: 3368265
Change-Id: Ic0ab8702d40140983be4db105f179b8b5236e6e3

13 years agoMerge "Maintain the seek position for HTML5 Video" into honeycomb
Ben Murdoch [Wed, 19 Jan 2011 15:34:43 +0000 (07:34 -0800)]
Merge "Maintain the seek position for HTML5 Video" into honeycomb

13 years agoMerge "Do not send empty data." into honeycomb
Patrick Scott [Wed, 19 Jan 2011 12:48:23 +0000 (04:48 -0800)]
Merge "Do not send empty data." into honeycomb

13 years agoMerge "Fix some sites not responding." into honeycomb
Patrick Scott [Wed, 19 Jan 2011 12:47:36 +0000 (04:47 -0800)]
Merge "Fix some sites not responding." into honeycomb

13 years agoMaintain the seek position for HTML5 Video
Ben Murdoch [Mon, 17 Jan 2011 18:07:48 +0000 (18:07 +0000)]
Maintain the seek position for HTML5 Video

When the video is paused, remember where we got to so that
when the video is started again we can seek to the correct
position and continue where we left off.

Requires a change in frameworks/base.
(I6b92289d4ef36bba1e0429327917533a4101655d)

Bug:3303721
Change-Id: I6001f45a362f491e9040c8b52260d0a08fb8504f

13 years agoMerge "Fix occasional AutoFill crash" into honeycomb
Ben Murdoch [Wed, 19 Jan 2011 10:28:14 +0000 (02:28 -0800)]
Merge "Fix occasional AutoFill crash" into honeycomb

13 years agoFix some sites not responding.
Patrick Scott [Tue, 18 Jan 2011 21:38:47 +0000 (16:38 -0500)]
Fix some sites not responding.

Enter compositing for iframes after all layout tasks have completed.  Remember
the state of overflow scroll similar to RenderLayer so that it doesn't change
while updating the compositing state.

Return false in requiresAcceleratedCompositing if the iframe is hidden.  I verified
that this fails on Safari and have submitted a bug.

Bug: 3325187
Change-Id: I20a9e1a595d14518f4c7a3e01fc1c4fa9035262c

13 years agoMerge "Implement partial layer rendering (support for large layers) Also fix a couple...
Nicolas Roard [Tue, 18 Jan 2011 21:36:31 +0000 (13:36 -0800)]
Merge "Implement partial layer rendering (support for large layers) Also fix a couple of potential ANRs" into honeycomb

13 years agoMerge "Layout before creating the base layer." into honeycomb
Patrick Scott [Tue, 18 Jan 2011 21:36:15 +0000 (13:36 -0800)]
Merge "Layout before creating the base layer." into honeycomb

13 years agoLayout before creating the base layer.
Patrick Scott [Tue, 18 Jan 2011 21:24:08 +0000 (16:24 -0500)]
Layout before creating the base layer.

WebKit asserts during draw that the frame does not need a layout.  Do the layout
to also get the most updated data.

Move the bridge assert after the parent check as some frames are never attached
and no history item is created.

Change-Id: If646d6ed2b409a3078d2f7a6793b7aed94ffecaf

13 years agoMerge "Fake some media player state change in media load time." into honeycomb
Shimeng (Simon) Wang [Tue, 18 Jan 2011 21:19:40 +0000 (13:19 -0800)]
Merge "Fake some media player state change in media load time." into honeycomb

13 years agoDo not send empty data.
Patrick Scott [Tue, 18 Jan 2011 21:17:21 +0000 (16:17 -0500)]
Do not send empty data.

WebKit asserts that the length of data is 0 and assumes that the length is
non-zero.

Change-Id: Ic1e62bcfaca5b875256216ed20013f1b4ad7e653

13 years agoMerge "Set the local flag when compositing a fixed element." into honeycomb
Patrick Scott [Tue, 18 Jan 2011 21:15:58 +0000 (13:15 -0800)]
Merge "Set the local flag when compositing a fixed element." into honeycomb

13 years agoSet the local flag when compositing a fixed element.
Patrick Scott [Tue, 18 Jan 2011 21:10:06 +0000 (16:10 -0500)]
Set the local flag when compositing a fixed element.

This fixes an assert and ensures that the compositor is in the correct state.

Change-Id: I7556ed998821bf2e09d89b79935e876869a584c6

13 years agoImplement partial layer rendering (support for large layers)
Nicolas Roard [Mon, 17 Jan 2011 21:22:15 +0000 (13:22 -0800)]
Implement partial layer rendering (support for large layers)
Also fix a couple of potential ANRs

bug:3333984

Change-Id: I28c02ef74f4c70507fcd7f5bbc893b0d0eae61c0

13 years agoMerge " Implement re-scaling for layers" into honeycomb
Nicolas Roard [Tue, 18 Jan 2011 20:33:39 +0000 (12:33 -0800)]
Merge "    Implement re-scaling for layers" into honeycomb

13 years agoMerge "Persist scrollPoint as part of the history item." into honeycomb
Shimeng (Simon) Wang [Tue, 18 Jan 2011 17:52:21 +0000 (09:52 -0800)]
Merge "Persist scrollPoint as part of the history item." into honeycomb

13 years agoMerge "add interface to return if (x/y) is a plugin" into honeycomb
Cary Clark [Tue, 18 Jan 2011 16:23:41 +0000 (08:23 -0800)]
Merge "add interface to return if (x/y) is a plugin" into honeycomb

13 years agoadd interface to return if (x/y) is a plugin
Cary Clark [Tue, 11 Jan 2011 16:33:54 +0000 (11:33 -0500)]
add interface to return if (x/y) is a plugin

Use the nav cache to determine if a given
coordinate corresponds to a plugin.

Requires a companion change in frameworks/base

bug:3331323
Change-Id: Ica8291bf0dfaaae7c0918b1a685c07fe756d9328

13 years agoTry to guess content type if header is generic
Kristian Monsen [Tue, 18 Jan 2011 15:56:59 +0000 (15:56 +0000)]
Try to guess content type if header is generic

Don't just use text/plain or application/octet-stream,
this matches the old stack.

Fix for bug 2981069

Change-Id: I1b5edf0e60e7c7012f4143906ec926227edcf927

13 years agoFix occasional AutoFill crash
Ben Murdoch [Tue, 18 Jan 2011 12:37:28 +0000 (12:37 +0000)]
Fix occasional AutoFill crash

Don't store a raw pointer to a refcounted type.

Change-Id: I444578e7cc601ef6402ea135982aedc7ca1f983c

13 years ago Implement re-scaling for layers
Nicolas Roard [Mon, 17 Jan 2011 02:27:55 +0000 (18:27 -0800)]
Implement re-scaling for layers

    Change-Id: I1f998387831207d00f27945ee4e456f81ff6f6e2

Change-Id: I7efcccfd9a4374061300058d4c48fa82a973829a

13 years agoMerge "Fixing cookie CTS tests." into honeycomb
Kristian Monsen [Mon, 17 Jan 2011 16:20:51 +0000 (08:20 -0800)]
Merge "Fixing cookie CTS tests." into honeycomb

13 years agoFixing cookie CTS tests.
Kristian Monsen [Mon, 17 Jan 2011 15:14:16 +0000 (15:14 +0000)]
Fixing cookie CTS tests.

The old code would only return the correct value after a
background thread had been running.

Change-Id: I79c0be8606b005b6a18aa83f5b91891709d4e0f5

13 years agoMerge WebKit at Chromium 9.0.597.69: Update WebKit revision number
Ben Murdoch [Sun, 16 Jan 2011 14:16:54 +0000 (14:16 +0000)]
Merge WebKit at Chromium 9.0.597.69: Update WebKit revision number

Note that we are tracking the Chromium 9.0.597 release branch,
which is WebKit r72805 + stability cherry picks.

See
http://svn.webkit.org/repository/webkit/branches/chromium/597/WebCore@75681

Change-Id: Iea0b5ca3d811fae101664eb561ab788e10c63ace

13 years agoMerge WebKit at Chromium 9.0.597.69: Trivial merge by Git.
Ben Murdoch [Sun, 16 Jan 2011 13:59:45 +0000 (13:59 +0000)]
Merge WebKit at Chromium 9.0.597.69: Trivial merge by Git.

http://svn.webkit.org/repository/webkit/branches/chromium/597/WebCore@75681

Change-Id: Ibe552cf7af31f74b81e337eadf3d3b73a53daf60

13 years agoPersist scrollPoint as part of the history item.
Shimeng (Simon) Wang [Fri, 14 Jan 2011 22:07:16 +0000 (14:07 -0800)]
Persist scrollPoint as part of the history item.

Also record scroll point and view scales when webcore scroll offset
is changed.

This will help history navigation and browser restoration.

issue: 2819082
Change-Id: I3e59806d8110127ed9a2e32b917c4176ffa6bf73

13 years agoFake some media player state change in media load time.
Shimeng (Simon) Wang [Fri, 14 Jan 2011 19:07:53 +0000 (11:07 -0800)]
Fake some media player state change in media load time.

This helps the Window.onLoad fires at correct time.  Since Android
implements the video playing using Java's full screen VideoView, nothing
happens before the user clicks the play button.  So need to fake some
event change.

Current prepareToPlay also fakes event change before real video playing.

issue: 3346048
Change-Id: I5afa1a2ecf920b23f902d0ac3916223a6cf8ac0c

13 years agoMerge "don't let contentEditable negate key handling" into honeycomb
Cary Clark [Fri, 14 Jan 2011 18:41:34 +0000 (10:41 -0800)]
Merge "don't let contentEditable negate key handling" into honeycomb

13 years agodon't let contentEditable negate key handling
Cary Clark [Fri, 14 Jan 2011 18:34:04 +0000 (13:34 -0500)]
don't let contentEditable negate key handling

If  the eventHandler says the key was handled, don't
allow the contentEditable test to set handled to false.

bug:3351951
Change-Id: I0dbe956e8983c16e738760e3b159d1353cc3eddd

13 years agoMerge changes I972bbdab,I31a640de into honeycomb
Ben Murdoch [Fri, 14 Jan 2011 17:40:11 +0000 (09:40 -0800)]
Merge changes I972bbdab,I31a640de into honeycomb

* changes:
  Resolve MIME types for CacheResult in the same way as WebResponse.
  Hook up CacheManager for the Chromium HTTP stack

13 years agoFix warning
Kristian Monsen [Fri, 14 Jan 2011 17:00:05 +0000 (17:00 +0000)]
Fix warning

Change-Id: I92ac985aba6780bc00f6dfbdca7e72f645b03580

13 years agoResolve MIME types for CacheResult in the same way as WebResponse.
Ben Murdoch [Thu, 13 Jan 2011 18:41:41 +0000 (18:41 +0000)]
Resolve MIME types for CacheResult in the same way as WebResponse.

Change-Id: I972bbdabc8491a94eabd676dd13f09fcccb6ba88

13 years agoHook up CacheManager for the Chromium HTTP stack
Steve Block [Thu, 6 Jan 2011 17:36:11 +0000 (17:36 +0000)]
Hook up CacheManager for the Chromium HTTP stack

Requires a corresponding change in frameworks/base
https://android-git.corp.google.com/g/87939

Bug: 3270236
Change-Id: I31a640de86d6fad00eb8b71784e0ee9136ab1174

13 years agoMerge "b/3133123 Pass touch point ids to WebKit" into honeycomb
Huahui Wu [Fri, 14 Jan 2011 01:02:22 +0000 (17:02 -0800)]
Merge "b/3133123 Pass touch point ids to WebKit" into honeycomb

13 years agob/3133123 Pass touch point ids to WebKit
Huahui Wu [Thu, 13 Jan 2011 23:57:11 +0000 (15:57 -0800)]
b/3133123 Pass touch point ids to WebKit

This is the CL in WebKit side and it needs the framwork CL:
  https://android-git.corp.google.com/g/#change,89630
Notice some changes touch open source WebKit's code, so b/3351313 is filed
to keep track of that.

Change-Id: I0ac5d75c4a90f14afeb2e3fc2dc5b1c437c631f8

13 years agoMerge changes Ie254e13d,I47261f19,Ifc05a776 into honeycomb
Teng-Hui Zhu [Thu, 13 Jan 2011 23:19:11 +0000 (15:19 -0800)]
Merge changes Ie254e13d,I47261f19,Ifc05a776 into honeycomb

* changes:
  More debug info for each layer
  Revert a WAR.
  Code clean up.

13 years agoMerge "Second try to send multi-touch events to Flash" into honeycomb
Huahui Wu [Thu, 13 Jan 2011 23:15:33 +0000 (15:15 -0800)]
Merge "Second try to send multi-touch events to Flash" into honeycomb

13 years agoMore debug info for each layer
Teng-Hui Zhu [Thu, 13 Jan 2011 22:52:40 +0000 (14:52 -0800)]
More debug info for each layer

The matrix info can help to determine the layer positioning issue.

Change-Id: Ie254e13d649c6a3aab820e8fe9553517ca42be72

13 years agoRevert a WAR.
Teng-Hui Zhu [Thu, 13 Jan 2011 19:35:07 +0000 (11:35 -0800)]
Revert a WAR.

Revert a WAR for issue 3215000.
https://android-git.corp.google.com/g/#change,81012

With the current fix, this WAR is not necessary.
b:3215000

Change-Id: I47261f19fbd87864d6b41edfbdb50be1fbbfccc7

13 years agoSecond try to send multi-touch events to Flash
Huahui Wu [Thu, 13 Jan 2011 22:07:06 +0000 (14:07 -0800)]
Second try to send multi-touch events to Flash

This reverts commit 64e8dc02c3e8eb820e872e78c350a39293586877.
Most are from Derek's CL https://android-git.corp.google.com/g/#change,88039
But with an essential bug fix which change "evt.data.touch.action" to
"eve.data.multiTouch.action" in line 234.

Change-Id: I1dd81d69c51afbfb0066149bfb7a2bfcefb43a87

13 years agoMerge "Revert "Cherrypick of https://android-git.corp.google.com/g/#change,88039...
Huahui Wu [Thu, 13 Jan 2011 21:59:23 +0000 (13:59 -0800)]
Merge "Revert "Cherrypick of https://android-git.corp.google.com/g/#change,88039"" into honeycomb

13 years agoRevert "Cherrypick of https://android-git.corp.google.com/g/#change,88039"
Huahui Wu [Thu, 13 Jan 2011 21:17:07 +0000 (13:17 -0800)]
Revert "Cherrypick of https://android-git.corp.google.com/g/#change,88039"

This reverts commit 1b864edc9b9c6c024b308046085cdb26ba98e3fe.

13 years agoCode clean up.
Teng-Hui Zhu [Thu, 13 Jan 2011 19:27:04 +0000 (11:27 -0800)]
Code clean up.

There should be no functionality change.

Change-Id: Ifc05a776ebb0a2a00b3aff194e138847ed1201cf

13 years agoMerge "Remove temporary work-around for auto login." into honeycomb
Patrick Scott [Thu, 13 Jan 2011 18:29:00 +0000 (10:29 -0800)]
Merge "Remove temporary work-around for auto login." into honeycomb

13 years agoRemove temporary work-around for auto login.
Patrick Scott [Thu, 13 Jan 2011 16:34:52 +0000 (11:34 -0500)]
Remove temporary work-around for auto login.

This is no longer needed as we are taking a different approach to auto login.

Change-Id: If665c740d958c4947527ce32e2b7f858736cac2b

13 years agoFix for bug 3347616, crash when closing browser with requests in flight
Kristian Monsen [Thu, 13 Jan 2011 14:27:10 +0000 (14:27 +0000)]
Fix for bug 3347616, crash when closing browser with requests in flight

The problem is if a request is just started as the browser (or a tab)
is closed. That can give delete the scoped_refptr before the
refcount is increased on the IO thread.

Refcounted objects should not be passed as raw pointers between
threads.

Change-Id: I57a9b30f5fdfef3c6d45b81ea59a61f96b09e6ae

13 years agoUse filename instead of file url for file uploads.
Kristian Monsen [Thu, 13 Jan 2011 10:57:20 +0000 (10:57 +0000)]
Use filename instead of file url for file uploads.

Part of fix for bug 2862096

Change-Id: Iabef7251b867b0c8bbf81147b08c76e7ef723d00

13 years agoMerge "The fixed element layer should not inherit the parent matrix" into honeycomb
Teng-Hui Zhu [Thu, 13 Jan 2011 00:56:10 +0000 (16:56 -0800)]
Merge "The fixed element layer should not inherit the parent matrix" into honeycomb

13 years agoMerge "The m_projectionMatrix in the ShaderProgram need to be updated" into honeycomb
Teng-Hui Zhu [Thu, 13 Jan 2011 00:54:53 +0000 (16:54 -0800)]
Merge "The m_projectionMatrix in the ShaderProgram need to be updated" into honeycomb

13 years agoThe fixed element layer should not inherit the parent matrix
Teng-Hui Zhu [Thu, 13 Jan 2011 00:31:51 +0000 (16:31 -0800)]
The fixed element layer should not inherit the parent matrix

The fixed element layer should start from an identity matrix.
And apply local transformation.

Change-Id: I9243f8c496bdbd5ee66e18b23715f9935e5574b6
b:3344290