Changeset 56011 in webkit


Ignore:
Timestamp:
Mar 15, 2010 1:30:17 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-15 Marcus Bulach <bulach@chromium.org>

Reviewed by Jeremy Orlow.

Send the frame URL on GeolocationServiceBridgeImpl::startUpdating.
https://bugs.webkit.org/show_bug.cgi?id=36012

  • public/GeolocationServiceBridgeChromium.h:
  • src/GeolocationServiceBridgeChromium.cpp: (WebKit::GeolocationServiceBridgeImpl::startUpdating):
Location:
trunk/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r56002 r56011  
     12010-03-15  Marcus Bulach  <bulach@chromium.org>
     2
     3        Reviewed by Jeremy Orlow.
     4
     5        Send the frame URL on GeolocationServiceBridgeImpl::startUpdating.
     6        https://bugs.webkit.org/show_bug.cgi?id=36012
     7
     8        * public/GeolocationServiceBridgeChromium.h:
     9        * src/GeolocationServiceBridgeChromium.cpp:
     10        (WebKit::GeolocationServiceBridgeImpl::startUpdating):
     11
    1122010-03-15  Patrik Persson  <patrik.j.persson@ericsson.com>
    213
  • trunk/WebKit/chromium/public/GeolocationServiceBridgeChromium.h

    r54883 r56011  
    5454public:
    5555    virtual void requestPermissionForFrame(int bridgeId, const WebURL& url) = 0;
    56     virtual void startUpdating(int bridgeId, bool hasHighAccuracy) = 0;
     56    virtual void startUpdating(int bridgeId, const WebURL& url, bool enableHighAccuracy) = 0;
    5757    virtual void stopUpdating(int bridgeId) = 0;
    5858    virtual void suspend(int bridgeId) = 0;
  • trunk/WebKit/chromium/src/GeolocationServiceBridgeChromium.cpp

    r55018 r56011  
    118118    if (!m_bridgeId)
    119119        m_bridgeId = getWebViewClient()->getGeolocationService()->attachBridge(this);
    120     getWebViewClient()->getGeolocationService()->startUpdating(m_bridgeId, positionOptions->enableHighAccuracy());
    121     //// FIXME: this will trigger a permission request regardless.
    122     //// Is it correct? confirm with andreip.
    123     // positionChanged();
     120    getWebViewClient()->getGeolocationService()->startUpdating(m_bridgeId, m_GeolocationServiceChromium->frame()->document()->url(), positionOptions->enableHighAccuracy());
    124121    return true;
    125122}
Note: See TracChangeset for help on using the changeset viewer.