summaryrefslogtreecommitdiffstats
path: root/WebCore/page
Commit message (Collapse)AuthorAgeFilesLines
* Merge change I70c3076b into eclair-mr2Android (Google) Code Review2009-12-031-3/+7
|\ | | | | | | | | * changes: Fixes a crashing Geolocation bug when a watch is cleared from certain callbacks.
| * Fixes a crashing Geolocation bug when a watch is cleared from certain callbacks.Steve Block2009-12-031-3/+7
| | | | | | | | | | | | | | | | BUG: http://b/2297475 This will be upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=32111 Change-Id: I70c3076b1a85c89bc4c587ea9fedaa84bd7b0575
* | Enable WebKit page cache through WebSettings.Grace Kloba2009-12-022-0/+87
|/ | | | | | | | Add setXX() for the meta data in Settings. Add CachedFramePlatformDataAndroid to preserve the state for the cachedFrame. http://b/issue?id=2284168
* Fixes use of statics of non-built-in types in Geolocation.Steve Block2009-11-251-5/+7
| | | | | | The Mac build requires that only built-in types are used as statics. Change-Id: I69a3f063c5728d76a13f73b8b056187d5678e0ab
* Fixes WTF include in WebCore/page/Geolocation.cpp to fix Mac build.Steve Block2009-11-241-1/+1
| | | | | | Also fixes include problems in files in WebKit/android. Change-Id: I6d6312e9753eb2bbf0b61f20a6ef0eb56f990991
* Change window focus only if the user initiated the event.Patrick Scott2009-11-194-0/+21
| | | | | | | | | | | | | This does not work in the javascript case because the user gesture is stored in the caller's script environment and that knowledge is not obtainable in the receiving frame. However, this change allows targeted links to change the focus to the correct window but prevents sites like slate.com from changing back to the opening window. This change will be followed by a simple revert of the previous change in the Browser app. Bug: 2161671
* Bring page/android in line with the versions on WebKit.org.Ben Murdoch2009-11-122-130/+3
| | | | | | | | Changes in this CL that require upstreaming: The deletion of InspectorControllerAndroid DragController::cleanupAfterSystemDrag Change-Id: I219a7aa49e3fc3d4193157593b90b11705d98fde
* Merge webkit.org at r50258 : Fix conflicts.Steve Block2009-11-104-56/+11
| | | | | | | Note that FrameLoader::gotoAnchor has been moved to FramveView::gotoAnchor. See http://trac.webkit.org/changeset/49608 Change-Id: Ic2a87bb0c0f91d371508578ddccf200967524a77
* Merge webkit.org at r50258 : Initial merge by git.Steve Block2009-11-1030-199/+400
| | | | Change-Id: I1a9e1dc4ed654b69174ad52a4f031a07240f37b0
* capture offscreen invalidates in webkitCary Clark2009-11-101-2/+5
| | | | | | | | | | | | | | The latest update of webkit changed the way drawing invalidates are captured. ScrollView::repaintContentRectangle now includes an intersect test that short-circuits if rect to repaint is outside the visible content. FrameView::repaintContentRectangle had logic to capture offscreen drawing, but only if the repaint rect was entirely clipped out. This changes both FrameView and ScrollView to send partial repaints to the offscreen code, up to four rects per draw. fixes http://b/issue?id=2207086
* Remove unused Inspector files from Android build.Steve Block2009-10-291-0/+5
| | | | Change-Id: Id5b57453ee3cae7c8d765be847a4ccca0e19ce68
* Updates Geolocation to use a pair of maps to store watchers.Steve Block2009-10-282-41/+100
| | | | | | | | | | | | | | | This reflects a recent change submitted to webkit.org (see http://trac.webkit.org/changeset/50159). This came about in the course of upstreaming the logic to make sure the error callback is called when permissions have already been denied (see http://trac.webkit.org/changeset/50190). Also make some minor style and comment changes to reflect other recent submissions to webkit.org. This will avoid future merge conflicts. Change-Id: Iafca02403b781bc2119e6e762cb04df396ca8c11
* Change eventTypes to eventNames to fix the assert.Patrick Scott2009-10-261-1/+1
|
* Makes a number of changes to ease future merging with and upstreaming to ↵Steve Block2009-10-225-13/+14
| | | | | | | | | | | | | webkit.org. - Fixes whitespace discrepancies between webkit.org and Android versions - Re-orders Android-specific changes to minimise the diff with webkit.org - Makes sure all Android-specific changes are appropriately guarded. - Fixes some Android-specific style problems None of these should introduce any functional changes for PLATFORM(ANDROID). Change-Id: Id27cf0b0e8682a7f29590c3fccae2d287b3630f1
* Merge webkit.org at R49305 : Add includes for UNUSED_PARAM for V8.Steve Block2009-10-201-0/+3
| | | | Change-Id: I7f3eb908f20782ef8fa07242b674648515c200f2
* Merge webkit.org at R49305 : Update Geolocation to use new EventListener ↵Steve Block2009-10-202-9/+19
| | | | | | | | methods. See http://trac.webkit.org/changeset/48402, http://trac.webkit.org/changeset/48701 and http://trac.webkit.org/changeset/48767 Change-Id: Id32d80c62f71c98c6677d7cbe11ee2ffbdaeeff1
* Merge webkit.org at R49305 : Use new macros to define Android touch event ↵Steve Block2009-10-202-50/+4
| | | | | | | | listeners for Node and DOMWindow. See http://trac.webkit.org/changeset/48701 Change-Id: I160099dd16b222e016c3414f2ce06adf5cf52573
* Merge webkit.org at R49305 : Include new InspectorTimelineAgent.h from ↵Steve Block2009-10-201-0/+1
| | | | | | | | InspectorControllerAndroid. See http://trac.webkit.org/changeset/48167 Change-Id: I4488eeeb081e999acdfb70e5230f78fd5059ba19
* Merge webkit.org at R49305 : Fix merge conflicts.Steve Block2009-10-208-312/+12
| | | | Change-Id: I9e0ffbe9b9b824399653da038093874e315ccd6a
* Merge webkit.org at R49305 : Automatic merge by git.Steve Block2009-10-2072-1236/+3558
| | | | Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7
* Fixes a bunch of WebKit whitespace discrepancies between Android and ↵Steve Block2009-10-142-3/+3
| | | | | | | | webkit.org. Do not merge. This will avoid noise in the diffs when upstreaming Android-specific changes to webkit.org. This has already been submitted to master branch.
* Fixes build bustage due to missing include in Geolocation.Steve Block2009-10-061-0/+1
| | | | Change-Id: Iea9209faba25a9b4ea4e351218c8c1eecf36d07f
* Fixes a WebKit bug where ongoing Geolocation requests are not stopped when ↵Steve Block2009-10-062-2/+26
| | | | | | | | the page is unloaded. This fixes bug http://b/issue?id=2164673 Change-Id: I68a615c0b82bcee2a4a61dc0433a4f9321780ad1
* Add dpi support for WebView.Grace Kloba2009-09-212-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | In the "viewport" meta tag, you can specify "target-densityDpi". If it is not specified, it uses the default, 160dpi as of today. Then the 1.0 scale factor specified in the viewport tag means 100% on G1 and 150% on Sholes. If you set "target-densityDpi" to "device-dpi", then the 1.0 scale factor means 100% on both G1 and Sholes. Implemented Safari's window.devicePixelRatio and css media query device-pixel-ratio. So if you use "device-dpi" and modify the css for font-size and image src depending on window.devicePixelRatio, you can get a better page on Sholes/Passion. Here is a list of options for "target-densityDpi". device-dpi: Use the device's native dpi as target dpi. low-dpi: 120dpi medium-dpi: 160dpi, which is also the default as of today high-dpi: 240dpi <number>: We take any number between 70 and 400 as a valid target dpi. Fix http://b/issue?id=2071943
* For TouchEventEnd, touches and targetTouches are empty list.Grace Kloba2009-09-151-1/+3
| | | Fix http://b/issue?id=1905451
* Removes Geolocation Geoposition.toString and Coordinates.toString.Steve Block2009-09-106-90/+0
| | | | | | This fixes http://b/issue?id=2103855. Change-Id: I1811d97c59e0458a94347c8a63b4d1c0541dfaf7
* Merge change 24042 into eclairAndroid (Google) Code Review2009-09-081-3/+3
|\ | | | | | | | | * changes: Handle another old style meta tag, MobileOptimized. Also if the sites set the width for the viewport to be less than 320, just use device-width.
| * Handle another old style meta tag, MobileOptimized. Also if the sites setGrace Kloba2009-09-041-3/+3
| | | | | | | | | | | | the width for the viewport to be less than 320, just use device-width. Fix http://b/issue?id=2098078
* | Merge change 24108 into eclairAndroid (Google) Code Review2009-09-082-3/+119
|\ \ | | | | | | | | | | | | * changes: Store Geolocation cached position between browser sessions.
| * | Store Geolocation cached position between browser sessions.Steve Block2009-09-072-3/+119
| | | | | | | | | | | | | | | | | | This fixes bug http://b/issue?id=2054431. Change-Id: I44b752b0c7fb4529027018c99dd945279b594b89
* | | Fixes Coordinates::toString to not print optional parameters that are not ↵Steve Block2009-09-071-3/+7
|/ / | | | | | | | | | | | | | | specified. This fixes http://b/issue?id=2103855. Change-Id: Ie540c7adc056ea0f285b7558b2f33acfcc1ecab2
* | Implements Geolocation PositionOptions.maximumAge property.Steve Block2009-09-072-12/+123
| | | | | | | | | | | | This fixes bug http://b/issue?id=2054431. Change-Id: Ic5fcd763e448b3bdc02de5d2a40d418ef25d39f9
* | Merge change 23972 into eclairAndroid (Google) Code Review2009-09-071-2/+10
|\ \ | |/ |/| | | | | * changes: Fixes Geolocation to correctly handle infinite values for PositionOptions properties.
| * Fixes Geolocation to correctly handle infinite values for PositionOptions ↵Steve Block2009-09-041-2/+10
| | | | | | | | | | | | | | | | properties. This fixes http://b/issue?id=2094429. Change-Id: I01cc5107d4a96840e35cc403161d50dbdf6a1ca2
* | Merge change 23971 into eclairAndroid (Google) Code Review2009-09-041-3/+1
|\ \ | |/ | | | | | | * changes: Adds V8 bindings for optional properties of Geolocation Coordinates object.
| * Adds V8 bindings for optional properties of Geolocation Coordinates object.Steve Block2009-09-041-3/+1
| | | | | | | | This fixes http://b/issue?id=2049677.
* | Fix Geolocation to correctly handle reentrant calls from callbacks.Steve Block2009-09-042-43/+22
| | | | | | | | This fixes http://b/issue?id=2094823.
* | Makes Geolocation error callback asynchronous when service fails to start.Steve Block2009-09-041-9/+3
| | | | | | | | | | | | This fixes http://b/issue?id=2054361. Change-Id: I83ff2618fb49bb126c7cd4c318914c6a0c68d69d
* | Refactors Geolocation to avoid duplication in getCurrentPosition and ↵Steve Block2009-09-032-33/+25
|/ | | | | | watchPosition. This change is being submitted to WebKit as part of https://bugs.webkit.org/show_bug.cgi?id=27944.
* Adds V8 bindings for Geolocation.Steve Block2009-09-011-2/+0
|
* Revert "Merge WebKit r47420"Andrei Popescu2009-08-1921-895/+35
| | | | This reverts commit d227fc870c7a697500a3c900c31baf05fb9a8524.
* Revert "Compilation and link error fixes for new webkit r47420."Andrei Popescu2009-08-192-1/+2
| | | | This reverts commit 632f4508222c2a617e6820e9388867c0f4821db8.
* Compilation and link error fixes for new webkit r47420.Ben Murdoch2009-08-182-2/+1
|
* Merge WebKit r47420Ben Murdoch2009-08-1821-35/+895
|
* Fixes for the OSX buildAndrei Popescu2009-08-181-1/+1
|
* Merge commit 'goog/master' into mergeBen Murdoch2009-08-185-53/+155
|\ | | | | | | | | | | | | Conflicts: WebCore/bindings/v8/ScriptController.cpp WebCore/page/Geolocation.cpp WebCore/platform/android/GeolocationServiceAndroid.cpp
| * Correctly applies Geolocation timeout parameter.Steve Block2009-08-172-23/+40
| | | | | | | | | | | | | | | | | | | | | | | | Currently, the timeout is started when permissions are granted and stopped when the success callback is made, thus rendering the timeout useless. The correct behavior is to start the timeout when the request is started, and to stop it as soon as a position fix is obtained. Also, the timeout should always be applied, even if no error callback is present and the request should be stopped on timeout. This will be upstreamed to WebKit in bug 27256.
| * do not merge: cherry-picked 360742dd52ce2e67f08b219c5148577ce2e2b741 from ↵Steve Block2009-08-142-0/+10
| | | | | | | | | | | | master branch When Geolocation permissions are denied, terminate all watchers as well as one-shots.
| * Fix a couple of bugs in SecurityOrigin when parsing database identifiers.Steve Block2009-08-131-3/+4
| |
| * Final part of fix to set default values of Geolocation PositionOptions.Steve Block2009-08-131-8/+12
| | | | | | | | Updates to final version submitted to WebKit for bug 27254.