summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Don't use an ImageBuffer for scratchContext()John Reck2012-05-222-1/+21
| | | | | | | | | | | | | | | | | | Bug: 6509450 Change-Id: I6d952b92062e96772663824839b0229062c3a524
* | | am ee7dbc2a: am 56ec1c56: Merge "We need to clear the items even when seeing ↵Teng-Hui Zhu2012-05-221-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | obsolete tiles" into jb-dev * commit 'ee7dbc2aac5123cc15590218bbaf182a8abeb3e3': We need to clear the items even when seeing obsolete tiles
| * | We need to clear the items even when seeing obsolete tilesTeng-Hui Zhu2012-05-221-0/+1
| |/ | | | | | | | | | | bug:6531360 Change-Id: Ia23ddeb56d384c4e3904cabf787bbe72be4a6f08
* | Remove the hacks used to suspend and resume the non-client-based Geolocation ↵Steve Block2012-05-225-31/+0
| | | | | | | | | | | | | | | | | | | | implementation These forks to WebCore code are not required with the client-based implementation, as we can suspend and resume the client directly. Bug: 6511338 Change-Id: I7be5b4224555bc8c3893b75275ac3a997a6677d1
* | Hook up client-based Geolocation mockSteve Block2012-05-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simply involves updating GeolocationMock, which is called by DRT from Java, to call the GeolocationClientMock via GeolocationManager, rather than the old GeolocationServiceMock. Note that GeolocationClientMock is tied to a specific page, whereas GeolocationServiceMock had static methods, so we need to pass the WebViewCore from Java. We can now safely exclude the non-client-based files from the build. We pass all Geolocation LayoutTests, except for permission-denied-already-[error|success].html, which are flaky due to https://bugs.webkit.org/show_bug.cgi?id=87033. See corresponding framework change I6d88d5dce5c2148812b191a5b452718bf0854aeb. Bug: 6511338 Change-Id: Ib74a3c05991593e75c3138415d4ac0bf0c9aefa9
* | Always call back to new Geolocation requestsSteve Block2012-05-221-0/+3
| | | | | | | | | | | | | | | | | | This change makes sure we always call back to new Geolocation requests, even when other requests are ongoing. Note that it requires an Android-specific change to WebCore to fix https://bugs.webkit.org/show_bug.cgi?id=87030. Bug: 6511338 Change-Id: If46d2ef0eb8e81925ae51ed2e8f2d16a9fa6c997
* | Switch to client-based GeolocationSteve Block2012-05-223-285/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this switch is that it is required to enable PREEMPT_GEOLOCATION_PERMISSION. See b/4500947. The switch involves changing lots of Android's WebKit plumbing to use a new GeolocationClientAndroid in WebKit (called from WebCore::GeolocationController), rather than the existing GeolocationServiceAndroid in WebCore/platform (called from WebCore::Geolocation). This is complicated by the need to support mocking for LayoutTests. The pattern used is very similar to that used for DeviceOrientation and DeviceMotion. This patch ... - Enables CLIENT_BASED_GEOLOCATION - Leaves PREEMPT_GEOLOCATION_PERMISSION disabled for now - Removes GeolocationServiceAndroid - Adds a new GeolocationClientAndroid - Just a proxy to real client - Adds a new GeolocationManager - Manages switching between the real and mock clients - Provides the appropriate client to GeolocationClientAndroid - Plumbs to the real client calls for permissions and for suspending/resuming - Adds a new GeolocationClientImpl - The real client - Based heavily on GeolocationServiceAndroid - Delegates to GeolocationServiceBridge, as GeolocationServiceAndroid did - Calls back directly to GeolocationController - Owns the existing GeolocationPermissions - Updates WebViewCore to call the GeolocationManager for permissions and for suspending/resuming - Removes superfluous ChromeClient methods for permissions Note that support for mocking will be added in a later change. See bug for details. Bug: 6511338 Change-Id: I4cdbf55846e76b37c161834b83135b4dc48dbcdc
* | am f282a4d1: am 37289e42: Merge "Disable transform fudging for merged ↵Chris Craik2012-05-212-1/+8
|\ \ | |/ | | | | | | | | | | surfaces" into jb-dev * commit 'f282a4d1efb427883fb318127e175a95c6fbac64': Disable transform fudging for merged surfaces
| * Merge "Disable transform fudging for merged surfaces" into jb-devChris Craik2012-05-212-1/+8
| |\
| | * Disable transform fudging for merged surfacesChris Craik2012-05-212-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Draw transforms are used at painting time for merged surfaces, so they shouldn't be manipulated in the draw path. The fudging isn't necessary for these surfaces in the first place, as merged surfaces are always aligned to pixel coordinates. bug:6156523 Change-Id: I3d954869188008f1a9e35915df893d75b49be6a2
| * | Merge "Turn off autohinting at HDPI. do not merge" into jb-devBilly Hewlett2012-05-211-0/+4
| |\ \
| | * | Turn off autohinting at HDPI. do not mergeBilly Hewlett2012-05-211-0/+4
| | |/ | | | | | | | | | | | | | | | | | | cherry-pick of CL: 752753e2caf24f28dac51731ee1f1443cf511410 Bug: 6478362 Change-Id: I9734658a509010035eb3081be8affb609863d46c
* | | am 655f75fe: am 2c52cc31: Merge "Switch to a 4ms/1s timer" into jb-devJohn Reck2012-05-211-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '655f75feeee4c396740a8e768888c7c8f0602cb8': Switch to a 4ms/1s timer
| * | Merge "Switch to a 4ms/1s timer" into jb-devJohn Reck2012-05-211-1/+1
| |\ \ | | |/ | |/|
| | * Switch to a 4ms/1s timerJohn Reck2012-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6523124 Bug: 6523033 Use a 4ms timer for foreground tabs, and a 1s timer for background tabs Change-Id: Iea061d63adf82f6e17dd2d47d382fcdfc588b7d3
* | | am 0fec4094: am 6baa213e: Fix memory leak and repaint issues with fixed ↵Nicolas Roard2012-05-214-17/+27
|\ \ \ | |/ / | | | | | | | | | | | | | | | background elements * commit '0fec40942c5e424610b19929bbcd0a1dd4f53246': Fix memory leak and repaint issues with fixed background elements
| * | Fix memory leak and repaint issues with fixed background elementsNicolas Roard2012-05-184-17/+27
| | | | | | | | | | | | | | | | | | bug:6522485 bug:6486951 Change-Id: Ia707efed9311e4352eed3ab005ec7ca93b8444e4
* | | am 80e066f5: am 8156b667: Merge "Revert part of "Fix iframe, ..."" into jb-devMangesh Ghiware2012-05-215-1/+87
|\ \ \ | |/ / | | | | | | | | | * commit '80e066f593d481ee02fc9cde720967532015493e': Revert part of "Fix iframe, ..."
| * | Merge "Revert part of "Fix iframe, ..."" into jb-devMangesh Ghiware2012-05-185-1/+87
| |\ \
| | * | Revert part of "Fix iframe, ..."Mangesh Ghiware2012-05-185-1/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix DOMWindow innerWidth and innerHeight to report correct values even after an orientation change. Uses platform-specific widget. This reverts part of commit I588aa5709e7a3c2ced9479c3cf9c1827bf6f7733. Bug: 6479900 Change-Id: Ic5c8785e35b14d6723eee4f4dfe1b0a3e1ec284a
* | | | am 6718ce8a: am 48605bf1: Remove paint tile operations for stale paintersChris Craik2012-05-217-2/+46
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '6718ce8aa305996bd53ef3836f5ed057b5180cd8': Remove paint tile operations for stale painters
| * | | Remove paint tile operations for stale paintersChris Craik2012-05-187-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:6516612 also adds ClassTracker to several classes Change-Id: I9a503084240d4935fba300a3256d266a2982dcc0
* | | | am e6dd6940: am d4239885: Merge "Cherrypick WebKit r94543." into jb-devVictoria Lease2012-05-218-5/+52
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'e6dd6940d3e008de2da31277f30caacea20375ca': Cherrypick WebKit r94543.
| * | | Merge "Cherrypick WebKit r94543." into jb-devVictoria Lease2012-05-188-5/+52
| |\ \ \
| | * | | Cherrypick WebKit r94543.Victoria Lease2012-05-188-5/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/94543 isBeforeOrAfterContent() was already pulled in from r94543 as a part of I02da7a9f891a6eec394398529f64b0992cbfce70, but we needed the rest of the patch to address our ruby text alignment issues. Bug: 6105670 Change-Id: Iad4d6308ab053488abd118eee83058cfc81e22e8
* | | | | am 035ccee8: am 17a19ec1: Merge "Clean up some redundant code" into jb-devTeng-Hui Zhu2012-05-212-6/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '035ccee8d36c4f500bd45d7af6c45e51826c9616': Clean up some redundant code
| * | | | Merge "Clean up some redundant code" into jb-devTeng-Hui Zhu2012-05-182-6/+2
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | Clean up some redundant codeTeng-Hui Zhu2012-05-172-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:6457191 Change-Id: Ie3ec0315151119b4428fdd97451084894f63db13
* | | | | am fd569800: am 1e59a334: Make sure CanvasLayer isn\'t merged and is ↵John Reck2012-05-213-1/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | initialized correctly * commit 'fd5698006bcb9182415182cc825a4b4949167d05': Make sure CanvasLayer isn't merged and is initialized correctly
| * | | | Make sure CanvasLayer isn't merged and is initialized correctlyJohn Reck2012-05-173-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6516775 Change-Id: Ifecddec18d369ba701668be85d4032918fc8d4fa
* | | | | am 4b0853e6: am 6af93dd2: Merge "Workaround double texture removal" into jb-devBart Sears2012-05-211-1/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '4b0853e65bc347632bd7b2d8ea77add39117db43': Workaround double texture removal
| * | | | Merge "Workaround double texture removal" into jb-devBart Sears2012-05-171-1/+5
| |\ \ \ \
| | * | | | Workaround double texture removalChris Craik2012-05-171-1/+5
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | bug:6463659 Change-Id: I5e98357f09d1a5e7f6e91c3a72728981b58c4185
* | | | | am 7faf7cc9: am 9b0772e7: Fix repaint glitches on merged layersNicolas Roard2012-05-211-1/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '7faf7cc97e11331eff9a1c790354e9a011b87dfb': Fix repaint glitches on merged layers
| * | | | Fix repaint glitches on merged layersNicolas Roard2012-05-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | bug:6502237 Change-Id: I62f296d429dcf4917ff2e93029022a7ab2cf3fd6
* | | | | am afa83dc9: am 377dc9f6: Fix invalidations sent to frameworkNicolas Roard2012-05-2112-19/+57
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'afa83dc9a969a65309ddc3ad75c53e3f27e4c27b': Fix invalidations sent to framework
| * | | | Fix invalidations sent to frameworkNicolas Roard2012-05-1712-19/+57
| | |/ / | |/| | | | | | | | | | | | | | bug:6479200 bug:6323847 bug:4124445 Change-Id: I1a4058ba6c69d3e285b6274d99a6eafcbf1cdc6f
* | | | am d8c854e5: am 824ebef6: Merge "Fix the tile dirty and framework inval when ↵Teng-Hui Zhu2012-05-215-23/+82
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | in single Surface mode" into jb-dev * commit 'd8c854e53633cfc2d72a89fe3eae1bf2274dedc7': Fix the tile dirty and framework inval when in single Surface mode
| * | | Merge "Fix the tile dirty and framework inval when in single Surface mode" ↵Teng-Hui Zhu2012-05-175-23/+82
| |\ \ \ | | |/ / | |/| | | | | | into jb-dev
| | * | Fix the tile dirty and framework inval when in single Surface modeTeng-Hui Zhu2012-05-175-23/+82
| | | | | | | | | | | | | | | | | | | | | | | | bug:6457191 Change-Id: Icaef168e16aa26c9a09c6f99e5a498fc1948d2bc
* | | | am 52499cf3: am c6097fa8: Merge "Check layer state before dereferencing" ↵Chris Craik2012-05-211-1/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into jb-dev * commit '52499cf37d4d6b13e4c8a8cde4e4058dcd77aa49': Check layer state before dereferencing
| * | | Merge "Check layer state before dereferencing" into jb-devChris Craik2012-05-171-1/+3
| |\ \ \
| | * | | Check layer state before dereferencingChris Craik2012-05-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | bug:6509226 Change-Id: Ie64bc2d92ddb2f323b20fa5bc8d1385dcb0e04c1
* | | | | am 542a48a7: am 7dcc872e: Merge "Fix crash in ↵Mangesh Ghiware2012-05-211-16/+19
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | RenderLayerCompositor::updateCompositingLayers" into jb-dev * commit '542a48a7e2e89800bf476fbd63ca6427f01f0eb3': Fix crash in RenderLayerCompositor::updateCompositingLayers
| * | | | Merge "Fix crash in RenderLayerCompositor::updateCompositingLayers" into jb-devMangesh Ghiware2012-05-171-16/+19
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Fix crash in RenderLayerCompositor::updateCompositingLayersMangesh Ghiware2012-05-171-16/+19
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear the composited mode for layers before running the loop to mark the ones following a fixed layer as composited. This fixes the scenario where a layer switches between fixed and not, but the layers following it have an inconsistent compositing mode. Bug: 6417235 Change-Id: Ifa57ec482d4570a7798663fa0c6dc6c60839f5f6
* | | | Merge changes I2de9dfed,I80436e37Steve Block2012-05-185-327/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Move GeolocationServiceBridge to WebKit/android/jni and extract Listener interface GeolocationPermissions cleanup
| * | | | Move GeolocationServiceBridge to WebKit/android/jni and extract Listener ↵Steve Block2012-05-185-327/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interface Also modify GeolocationServiceBridge to take a WebViewCore rather than a Frame. This will simplify the transition to client-based implementation, which will re-use GeolocationServiceBridge. No functional change. Bug: 6511338 Change-Id: I2de9dfed51d785c85b40f362f20189f208adf6ec
* | | | | am e0712714: am ed2ce36a: Allow more layers to be merged (merging fixed)Nicolas Roard2012-05-179-33/+46
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * commit 'e0712714e35eede5ffdaadef529d9919005d0825': Allow more layers to be merged (merging fixed)
| * | | | Allow more layers to be merged (merging fixed)Nicolas Roard2012-05-169-33/+46
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will reduce the need to go to single surface rendering mode, as well as improving jank by reducing the number of surfaces we need. (tested on a set of popular sites, we now need up to 16 times less surfaces, commonly 4-5 times less) bug:5683630 bug:6499283 bug:6366440 Change-Id: I761c6a60279e5b21dca8bc1faccd956be58e3702