summaryrefslogtreecommitdiffstats
path: root/WebCore/page
Commit message (Collapse)AuthorAgeFilesLines
* Adds a missing initializer for Geolocation maximumAgeSteve Block2010-02-241-0/+1
| | | | Change-Id: I7274d12baa4718280e8cc677583e5308c7917a56
* Removes repeated headers in Geolocation.cppSteve Block2010-02-241-8/+0
| | | | | | | These were erroneously added in a previous WebKit merge. See https://android-git.corp.google.com/g/#change,39242 Change-Id: I192911ec35d7447ae3933cf4903aacd2ab202a3a
* Merge "Co-ordinates of a TouchEvent object should be 0,0 to match the ↵Ben Murdoch2010-02-232-22/+6
|\ | | | | | | behavior on iPhone. It is the co-ordinates of the Touch object wrapped up by a touch event that should update with motion."
| * Co-ordinates of a TouchEvent object should be 0,0 to match the behavior on ↵Ben Murdoch2010-02-232-22/+6
| | | | | | | | | | | | | | | | iPhone. It is the co-ordinates of the Touch object wrapped up by a touch event that should update with motion. Update EventHandler::handleTouchEvent to match what landed to webkit in http://trac.webkit.org/changeset/55146 Change-Id: I91dfcfbbb53020b85f646bcf58eb4f3afd6be8e7
* | Merge "Updates Android to final version of Geolocation position cache ↵Steve Block2010-02-232-11/+11
|\ \ | | | | | | | | | submitted to webkit.org"
| * | Updates Android to final version of Geolocation position cache submitted to ↵Steve Block2010-02-232-11/+11
| |/ | | | | | | | | | | | | | | webkit.org See http://trac.webkit.org/changeset/55142 Change-Id: I8fabc89b596b0e61e8ae389e07af2e898de3bad1
* | Cherry-pick WebKit change 55136 to add a means to cancel an ongoing ↵Steve Block2010-02-234-3/+14
|/ | | | | | | | | | | | | | Geolocation permission request This is part of the change required to fix a Geolocation permissions bug. See https://android-git.corp.google.com/g/#change,40601 Note that We take only the WebCore component of the change, but additional changes are required to ChromeClientAndroid. See http://trac.webkit.org/changeset/55136 Change-Id: Iff0eab3adc3e41876df7f114c0d50243d015664f
* Fixes a bug with the Geolocation suspend/resume behaviourSteve Block2010-02-181-0/+8
| | | | | | | | | | | | | PlatformBridge::isWebViewPaused needs to be an instance method, rather than a static. This fixes a bug where if the user switches browser windows while a page that uses Geolocation is still loading, the Geolocation service won't be started in the suspended state. Note that this is a temporary fix, as the upstreaming of the existing suspend/resume code will introduce a new approach, which will avoid this problem altogether. See https://android-git.corp.google.com/g/#change,38942 Change-Id: I3f07f8837b8a8c1c5e7e4f5112ab487188670c3a
* Merge webkit.org at r54731 : Fix merge conflicts due to frame flatteningSteve Block2010-02-162-11/+7
| | | | | | | | | Common frame flattening code was added upstream in http://trac.webkit.org/changeset/54440 We take this code, but also keep the current Android-specific implementation. Currently, the common code is disabled and we continue to use the Android version. The two will be combined at a later date. Change-Id: I194c7028b84a05d85040ca6199802c42a520be96
* Merge webkit.org at r54731 : Initial merge by gitSteve Block2010-02-1614-41/+116
| | | | Change-Id: Ia79977b6cf3b0b00c06ef39419989b28e57e4f4a
* Don't add something to a hash map and then get it out again immediately if ↵Ben Murdoch2010-02-151-2/+5
| | | | | | we don't need to. Change-Id: Ic6718a7c23e8896f5bbbb5cadcc22aa9a3108530
* Fix the creation of the touchTargets list to match what the iPhone does and ↵Ben Murdoch2010-02-151-18/+47
| | | | | | | | | | maintain compatability with existing apps like SuperPudu. touchTargets should always have at least one element and should be based on the target where the touch originated, not where it is now. This needs to be upstreamed to webkit. Change-Id: Ie4e6f65e77484e0eac6d0f239df9dd3a460e7bce
* Store the originating target for a touch (i.e. calculated in touchstart) in ↵Ben Murdoch2010-02-152-7/+22
| | | | | | | | a hash map, so that we can use that originating target as the target for future move/end/cancel events that that touch generates. This matches the behaviour that the iPhone exhibits. Change-Id: Iff5e29c795b8ae6128e67ad5d42a959b61f966f2
* Merge webkit.org at r54340 : Cherry-pick WebKit change 54417 to fix ↵Steve Block2010-02-153-9/+5
| | | | | | | | ENABLE_DEBUGGER guards for V8 See http://trac.webkit.org/changeset/54417 Change-Id: I03e7f8f1ddb9af92e5ce7494136ea2d2a6de6800
* Merge webkit.org at r54340 : Initial merge by gitSteve Block2010-02-1514-168/+274
| | | | Change-Id: Ib489d2ff91186ea3652522e1d586e54416a2cf44
* Implement navigator.isApplicationInstalled() APIAndrei Popescu2010-02-123-5/+46
| | | | | | This CL contains the wiring between the API and the Java side. Fix b: 2371005
* Fix the V8 build by adding files missing from ↵Andrei Popescu2010-02-091-0/+45
| | | | ece0a38a9778edd2ae7a550df7dcd38d1e11e7d0
* Implement navigator.isApplicationInstalled() APIAndrei Popescu2010-02-093-6/+27
| | | | | | This CL contains the V8 DOM bindings and IDL changes. Fix b:2371005
* Merge webkit.org at r54127 : Fix conflicts with Android addition of touch ↵Steve Block2010-02-041-10/+1
| | | | | | | | | event time This is not yet upstreamed, so we keep ours. See https://android-git.corp.google.com/g/#change,39424 Change-Id: I65233af30227b7dd84a1c2b29e5dfc6da20e905e
* Merge webkit.org at r54127 : Fix final trivial mergesSteve Block2010-02-042-10/+0
| | | | Change-Id: Ib24c66a3c609fd1c8ae9697f471a8abc85e5aa33
* Merge webkit.org at r54127 : Merge conflicts due to longpress and doubletap ↵Steve Block2010-02-041-36/+2
| | | | | | | touchevents Keep ours as this code has not yet been upstreamed. Change-Id: Ia05ab6c8c36b2d332fec2fe4c16ceacff2933382
* Merge webkit.org at r54127 : Resolve conflicts for handleTouchEventSteve Block2010-02-042-12/+1
| | | | | | On Android, handleTouchEvent returns int, rather than bool. Change-Id: I8ba16342eac7ccca1c7df3fa36b52ca8192a69b5
* Merge webkit.org at r54127 : Resolve Geolocation conflicts.Steve Block2010-02-046-88/+0
| | | | | | | Keep ours for maximumAge code. Take theirs for client-based Geolocation code. Change-Id: I72baa0026b1cd1bec617843a992dfb6008ca774d
* Merge webkit.org at r54127 : Initial merge by gitSteve Block2010-02-0475-795/+1181
| | | | Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
* Pass touch event time from Java to WebKitGrace Kloba2010-02-031-1/+14
| | | merge from https://android-git.corp.google.com/g/#change,39356
* Guard the new Navigator connection property with a temporary ↵Steve Block2010-02-031-0/+2
| | | | | | | | | ENABLE_CONNECTION guard until it is upstreamed. This is required to build Android WebKit for Mac. The guard will be removed once the connection property is upstreamed. Change-Id: I874e832b80dc682a49cae4df1fc6970283909ef3
* Add ANDROID tags to some touchevents changes that have yet to be upstreamedSteve Block2010-02-011-1/+8
| | | | Change-Id: Ie67cdb2c404c59589f282b2b4494507d5c606f11
* Update Android to reflect final version submitted to webkit.org when ↵Steve Block2010-02-011-8/+4
| | | | | | | | changing touchevents behavior See http://trac.webkit.org/changeset/52922 Change-Id: I2057acd590a540744a4d7db6fe9b29b887339906
* Update Android to reflect final version submitted to webkit.org when adding ↵Steve Block2010-02-011-3/+3
| | | | | | | | touchcancel support See http://trac.webkit.org/changeset/53548 Change-Id: Ie64613b373a88a5333e83e4a9c9cb1e8d72092fb
* Cherry-pick WebKit change 54096 for client-based GeolocationSteve Block2010-02-011-3/+8
| | | | | | | | See http://trac.webkit.org/changeset/54096 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: Ic4f06aa2cf4ef8655bd05cd30746d9548f7e0d33
* Cherry-pick WebKit change 54080 for client-based GeolocationSteve Block2010-02-011-1/+1
| | | | | | | | See http://trac.webkit.org/changeset/54080 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: Id67cac441eeaa58268c0bfdc8306a047bc56fba9
* Cherry-pick WebKit change 54079 for client-based GeolocationSteve Block2010-02-012-6/+33
| | | | | | | | See http://trac.webkit.org/changeset/54079 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: I46b8f439668768fa930c610d4b10c7e45cc1ca01
* Cherry-pick WebKit change 53708 for client-based GeolocationSteve Block2010-02-011-0/+3
| | | | | | | | See http://trac.webkit.org/changeset/53708 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: I369d96f8af0fc060ca0c8a9c5a16c5cdf91bedd3
* Fix Geolocation to make use of the startUpdating helper methodSteve Block2010-01-291-1/+1
| | | | | | | | | This should have been done as part of the cherry-pick of WebKit change 52103 in https://android-git.corp.google.com/g/#change,37374 This is a syntactic change only, no functional change on Android. Change-Id: Ic49ac710cafbacd5ff90e92d84b3360a316a43dd
* Merge changes I0ab68eac,Ide43a042,I0c11519b,I1ef80088Steve Block2010-01-271-2/+2
|\ | | | | | | | | | | | | | | * changes: Update Android to reflect final version submitted to webkit.org for ScriptController Update Android to reflect final version submitted to webkit.org for touch events. Update Android to reflect final version submitted to webkit.org for V8 TODOs Update Android to reflect final version submitted to webkit.org for adding NetworkStateNotifier::networkStateChange
| * Update Android to reflect final version submitted to webkit.org for touch ↵Steve Block2010-01-271-2/+2
| | | | | | | | | | | | | | | | | | | | events. See https://android-git.corp.google.com/g/#change,37040 http://trac.webkit.org/changeset/51981 and http://trac.webkit.org/changeset/53548 Change-Id: Ide43a0425cff940bfd07022d8e9bb72e3d12ce96
* | Merge "Fixes Geolocation maximumAge implementation to work when ↵Steve Block2010-01-272-36/+66
|\ \ | | | | | | | | | requestPermission is synchronous"
| * | Fixes Geolocation maximumAge implementation to work when requestPermission ↵Steve Block2010-01-262-36/+66
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | is synchronous Geolocation::requestPermission may be implemented synchronously or asynchronously. See https://bugs.webkit.org/show_bug.cgi?id=26993 The current implementation of maximumAge on Android requires that requestPermission is asynchronous. This change fixes the code to work with both synchronous and asynchronous implementations of requestPermission. This will allow the maximumAge code to be upstreamed to webkit.org. See https://bugs.webkit.org/show_bug.cgi?id=30676 Change-Id: If7115e5d34ec308c91a1873a6841731dc37c18bd
* | Stop forwarding touch events from Java when the top level document is ↵Ben Murdoch2010-01-272-9/+1
|/ | | | | | | | | | | detached rather than when eventHandlers are cleared for a frame. Also no longer keep track of the number of touch event handlers that a page has registered. If a page requests touch events, always send them from Java until a new page is loaded. This simplifies the logic when dealing with the page cache as otherwise as well as restoring the forwarding of touch events when a page is restored from the page cache, we would need to restore the number of touch handlers that have been registered. Change-Id: I0269e1632a37ccbf105bac658c2cb7f1d5cd3052
* Merge "Moves the Geolocation position cache out of the Geolocation object."Steve Block2010-01-264-167/+246
|\
| * Moves the Geolocation position cache out of the Geolocation object.Steve Block2010-01-254-167/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The position cache is an implementation detail of the Geolocation object, but is being moved to its own file to keep files to a reasonable size. Also updates some names and fixes soem style. This will be upstreamed in https://bugs.webkit.org/show_bug.cgi?id=34084 The maximumAge code in the Geolocation object, which may make use of this caching, is being upstreamed in https://bugs.webkit.org/show_bug.cgi?id=30676 Change-Id: I083556de732bd7be240a75da5369117aabc50e33
* | absoluteToLocal works with a page co-ordinate that is relative to the top ↵Ben Murdoch2010-01-261-6/+11
|/ | | | | | | | left of the containing frame's document, so fix a bug in the WebCore touch event handler where the wrong page co-ordinates were being passed to the Touch construtor. This part of the change should be upstreamed to webkit. Also fix a crash when a touchCancel event is sent to a plugin because touchCancel, like touchend is not guaranteed to have data in touches, but will have data in changedTouches. Change-Id: I5345d7baf4e4325b24fbc5fbe60132dafb80e006
* Cherry-pick WebKit change 53441 to make changes to GeolocationSteve Block2010-01-252-6/+7
| | | | | | | | See http://trac.webkit.org/changeset/53441 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: Ib69ddd4d1b0944c861ac6c35412936ec1209cff0
* Bring Geolocation up-to-date with WebKit change 53342 to make suspend/resume ↵Steve Block2010-01-252-1/+5
| | | | | | | | public See http://trac.webkit.org/changeset/53342 Change-Id: Ib28c69a686d72ea4fb17b52b6476bfc5696b1db3
* Cherry-pick WebKit change 52104 to make changes to GeolocationSteve Block2010-01-252-2/+1
| | | | | | | | See http://trac.webkit.org/changeset/52104 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: I342b9f6b6ef5a25fac37dd2187a67a834fb7e270
* resolved conflicts for merge of 3f4b1969 to masterSteve Block2010-01-201-3/+3
|\ | | | | | | Change-Id: I24c41d6ab08dd3594edd4ff62a1c823c904b9851
| * Cherry-pick WebKit change 53464 to rename WebCore/bridge/runtime to ↵Steve Block2010-01-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | WebCore/bridge/Bridge See http://trac.webkit.org/changeset/53464 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. Note that this change required an update to ScriptControllerAndroid.cpp and a manual fix in PluginView.cpp to add a temporary ANDROID guard. Change-Id: Ib2fe7793f7b3212e3b41324ff7dc5bb15c0e14b4
* | Refactor our touch event code to use the version submitted to webkit.org by ↵Ben Murdoch2010-01-205-147/+247
| | | | | | | | | | | | the Qt team. Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0
* | Cherry-pick WebKit change 52103 - Add a client based Geolocation providerSteve Block2010-01-1810-23/+551
| | | | | | | | | | | | | | | | This is required to ease the process of upstreaming the Geolocation maximumAge handling code. Note that changes to WebCoreFrameBridge.cpp and WebCoreJniOnLoad.cpp were required as a result of this. Change-Id: Icd8524da9050acda3b991051877c3b5cf262b2b3
* | Add navigator.networkType to allow apps to detect the connection type.Andrei Popescu2010-01-156-0/+156
| | | | | | | | | | | | The online event is fired when the networkType changes. Bug: 2368650