summaryrefslogtreecommitdiffstats
path: root/WebCore/page
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Removes a superfluous call to GeoNotifier::m_timer::stop() when Geolocation ↵Steve Block2010-01-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | calls back with a position fix. This call was removed in https://android-git.corp.google.com/g/#change,21293 but inadvertantly added back in https://android-git.corp.google.com/g/#change,21677 See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=e0330ac957b8434cd2c9c7b5447aaa0faabe77ec This call is not present in webkit.org. Change-Id: I712b5d29871e8bda54340e510c2bd7bc411728ee
* | Updates Document::setExtraLayoutDelay to reflect recent submission to ↵Steve Block2010-01-071-8/+0
|/ | | | | | | | | | | | | webkit.org. setExtraLayoutDelay was an Android addition and was upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=32875 Removes Document::extraLayoutDelay by incorporating the extra delay in Document::minimumLayoutDelay. Removes ANDROID_MOBILE guards, as this extra code is not inhernetly specific to Android, and is a no-op if Document::setExtraLayoutDelay is not called. This removes the last uses of ANDROID_MOBILE. Change-Id: I1e18a994f32b29558dcf9a5c76aefab62e9fc13d
* Fixes a Geolocation bug with cached positions.Steve Block2009-12-171-8/+13
| | | | | | | | | | In the case where a watch request returns a cached position, we must clear the cached position to prevent it from being used repeatedly in the case where the watch timer later fires. Also cleans up some code and adds some comments. This will be upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=30676 Change-Id: I4968731453c3dfd34a8d3466fdaee91d4c4158be
* Merge webkit.org at r51976 : Geolocation error code UNKNOWN_ERROR is deprecated.Steve Block2009-12-171-1/+1
| | | | | | See http://trac.webkit.org/changeset/50605 Change-Id: Iaad2055f169f56b7d43e2e3195041f0796506092
* Merge webkit.org at r51976 : Fix general conflicts.Steve Block2009-12-172-29/+5
| | | | | | | | | | | | | | | Notes ... For FrameLoader.cpp/h, see http://trac.webkit.org/changeset/51644 For FrameView.cpp and ScrolView.cpp, see http://trac.webkit.org/changeset/51636 For PluginInfoStore.cpp, see http://trac.webkit.org/changeset/51257 For Geolocation.cpp, see http://trac.webkit.org/changeset/50605 For V8DOMWrapper.cpp, see http://trac.webkit.org/changeset/51004 For V8Proxy.cpp, see http://trac.webkit.org/changeset/50441, http://trac.webkit.org/changeset/50327, http://trac.webkit.org/changeset/50406 and http://trac.webkit.org/changeset/50523 For HTMLInputElement.cpp, see http://trac.webkit.org/changeset/50996 For RenderBlock.cpp/RenderInline.cpp, see https://android-git.corp.google.com/g/#change,33465 Android-specific change to now-deleted JSCanvasArrayCustom.cpp was trivial. Change-Id: Iddc8d43bdcb6208d6a991a7a1d591e8a4f918bf7
* Merge webkit.org at r51976 : Initial merge by git.Steve Block2009-12-1760-450/+1039
| | | | Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
* Merge change I85087ab0 into eclair-mr2Android (Google) Code Review2009-12-095-17/+1
|\ | | | | | | | | * changes: Enable orientation events.
| * Enable orientation events.Patrick Scott2009-12-095-17/+1
| | | | | | | | | | | | | | Remove our old orientation hacks as webkit now supports the orientation event. Call down into webkit when the orientation changes to send the js event. The change to Frame.cpp has been submited to bugs.webkit.org as issue 32321.
* | Enable longpress and doubletap to WebKit as touchGrace Kloba2009-12-092-11/+35
|/ | | | event if it is requested.
* Merge change I85893753 into eclair-mr2Android (Google) Code Review2009-12-091-1/+1
|\ | | | | | | | | * changes: Pull down change 51321 from webkit.org.
| * Pull down change 51321 from webkit.org.Patrick Scott2009-12-091-1/+1
| | | | | | | | | | Calls to EventNames() was causing multiple copies of the event names to be created. This could cause false negatives in hash map lookups.
* | Fixes a Geolocation bug with cached positions.Steve Block2009-12-072-5/+13
|/ | | | | | | When a Geolocation watch calls back with a cached position, it could be cleared in the callback. This change makes sure the watch still exists after the callback before starting the Geolocation service. Change-Id: I9a5736f5ce78e1c4bb36659245ffb61b485c4018
* 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