Changeset 149818 in webkit


Ignore:
Timestamp:
May 9, 2013 9:16:32 AM (11 years ago)
Author:
mifenton@rim.com
Message:

[BlackBerry] Style updates required based on new check-webkit-style
https://bugs.webkit.org/show_bug.cgi?id=115857

Reviewed by Rob Buis.

Update ChromeClientBlackBerry, CredentialManager, FrameLoaderClientBlackBerry,
GeolocationClientBlackBerry and IconDatabaseClientBlackberry to
match check-webkit-style updates.

  • WebCoreSupport/ChromeClientBlackBerry.h:

(ChromeClientBlackBerry):

  • WebCoreSupport/CredentialManager.h:

(CredentialManager):

  • WebCoreSupport/CredentialTransformData.cpp:
  • WebCoreSupport/FrameLoaderClientBlackBerry.h:

(WebCore::FrameLoaderClientBlackBerry::assignIdentifierToInitialRequest):
(FrameLoaderClientBlackBerry):
(WebCore::FrameLoaderClientBlackBerry::dispatchDidReceiveAuthenticationChallenge):
(WebCore::FrameLoaderClientBlackBerry::dispatchDidCancelAuthenticationChallenge):
(WebCore::FrameLoaderClientBlackBerry::dispatchDidReceiveContentLength):
(WebCore::FrameLoaderClientBlackBerry::dispatchDidFinishLoading):
(WebCore::FrameLoaderClientBlackBerry::dispatchDidFailLoading):

  • WebCoreSupport/GeolocationClientBlackBerry.cpp:

(GeolocationClientBlackBerry::onLocationUpdate):

  • WebCoreSupport/GeolocationClientBlackBerry.h:

(GeolocationClientBlackBerry):

  • WebCoreSupport/IconDatabaseClientBlackBerry.cpp:

(WebCore::IconDatabaseClientBlackBerry::initIconDatabase):

Location:
trunk/Source/WebKit/blackberry
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r149816 r149818  
     12013-05-09  Mike Fenton  <mifenton@rim.com>
     2
     3        [BlackBerry] Style updates required based on new check-webkit-style
     4        https://bugs.webkit.org/show_bug.cgi?id=115857
     5
     6        Reviewed by Rob Buis.
     7
     8        Update ChromeClientBlackBerry, CredentialManager, FrameLoaderClientBlackBerry,
     9        GeolocationClientBlackBerry and IconDatabaseClientBlackberry to
     10        match check-webkit-style updates.
     11
     12        * WebCoreSupport/ChromeClientBlackBerry.h:
     13        (ChromeClientBlackBerry):
     14        * WebCoreSupport/CredentialManager.h:
     15        (CredentialManager):
     16        * WebCoreSupport/CredentialTransformData.cpp:
     17        * WebCoreSupport/FrameLoaderClientBlackBerry.h:
     18        (WebCore::FrameLoaderClientBlackBerry::assignIdentifierToInitialRequest):
     19        (FrameLoaderClientBlackBerry):
     20        (WebCore::FrameLoaderClientBlackBerry::dispatchDidReceiveAuthenticationChallenge):
     21        (WebCore::FrameLoaderClientBlackBerry::dispatchDidCancelAuthenticationChallenge):
     22        (WebCore::FrameLoaderClientBlackBerry::dispatchDidReceiveContentLength):
     23        (WebCore::FrameLoaderClientBlackBerry::dispatchDidFinishLoading):
     24        (WebCore::FrameLoaderClientBlackBerry::dispatchDidFailLoading):
     25        * WebCoreSupport/GeolocationClientBlackBerry.cpp:
     26        (GeolocationClientBlackBerry::onLocationUpdate):
     27        * WebCoreSupport/GeolocationClientBlackBerry.h:
     28        (GeolocationClientBlackBerry):
     29        * WebCoreSupport/IconDatabaseClientBlackBerry.cpp:
     30        (WebCore::IconDatabaseClientBlackBerry::initIconDatabase):
     31
    1322013-05-09  Jacky Jiang  <zhajiang@blackberry.com>
    233
  • trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h

    r149125 r149818  
    8282    virtual void contentsSizeChanged(Frame*, const IntSize&) const;
    8383    virtual void scrollRectIntoView(const IntRect&, const ScrollView*) const;
    84     virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned int);
     84    virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned);
    8585    virtual void setToolTip(const String&, TextDirection);
    8686#if ENABLE(EVENT_MODE_METATAGS)
  • trunk/Source/WebKit/blackberry/WebCoreSupport/CredentialManager.h

    r131316 r149818  
    4646    void clearNeverRememberSites();
    4747
    48  private:
     48private:
    4949    friend CredentialManager& credentialManager();
    5050    CredentialManager() { }
  • trunk/Source/WebKit/blackberry/WebCoreSupport/CredentialTransformData.cpp

    r147135 r149818  
    9494            *oldPassword = passwords[0];
    9595            *password = passwords[1];
    96         }
    97         else {
     96        } else {
    9897            // Three different passwords, or first and last match with middle
    9998            // different. No idea which is which, so no luck.
  • trunk/Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.h

    r146597 r149818  
    5656    virtual void detachedFromParent2();
    5757    virtual void detachedFromParent3() { notImplemented(); }
    58     virtual void assignIdentifierToInitialRequest(long unsigned int, DocumentLoader*, const ResourceRequest&) { notImplemented(); }
    59     virtual void dispatchWillSendRequest(DocumentLoader*, long unsigned int, ResourceRequest&, const ResourceResponse&);
     58    virtual void assignIdentifierToInitialRequest(long unsigned, DocumentLoader*, const ResourceRequest&) { notImplemented(); }
     59    virtual void dispatchWillSendRequest(DocumentLoader*, long unsigned, ResourceRequest&, const ResourceResponse&);
    6060    virtual bool shouldUseCredentialStorage(DocumentLoader*, long unsigned);
    61     virtual void dispatchDidReceiveAuthenticationChallenge(DocumentLoader*, long unsigned int, const AuthenticationChallenge&) { notImplemented(); }
    62     virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, long unsigned int, const AuthenticationChallenge&) { notImplemented(); }
    63     virtual void dispatchDidReceiveResponse(DocumentLoader*, long unsigned int, const ResourceResponse&);
    64     virtual void dispatchDidReceiveContentLength(DocumentLoader*, long unsigned int, int) { notImplemented(); }
    65     virtual void dispatchDidFinishLoading(DocumentLoader*, long unsigned int) { notImplemented(); }
    66     virtual void dispatchDidFailLoading(DocumentLoader*, long unsigned int, const ResourceError&) { notImplemented(); }
     61    virtual void dispatchDidReceiveAuthenticationChallenge(DocumentLoader*, long unsigned, const AuthenticationChallenge&) { notImplemented(); }
     62    virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, long unsigned, const AuthenticationChallenge&) { notImplemented(); }
     63    virtual void dispatchDidReceiveResponse(DocumentLoader*, long unsigned, const ResourceResponse&);
     64    virtual void dispatchDidReceiveContentLength(DocumentLoader*, long unsigned, int) { notImplemented(); }
     65    virtual void dispatchDidFinishLoading(DocumentLoader*, long unsigned) { notImplemented(); }
     66    virtual void dispatchDidFailLoading(DocumentLoader*, long unsigned, const ResourceError&) { notImplemented(); }
    6767    virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&, const ResourceResponse&, int) { notImplemented(); return false; }
    6868    virtual void dispatchDidHandleOnloadEvents();
  • trunk/Source/WebKit/blackberry/WebCoreSupport/GeolocationClientBlackBerry.cpp

    r143887 r149818  
    157157
    158158void GeolocationClientBlackBerry::onLocationUpdate(double timestamp, double latitude, double longitude, double accuracy, double altitude, bool altitudeValid,
    159                                                              double altitudeAccuracy, bool altitudeAccuracyValid, double speed, bool speedValid, double heading, bool headingValid)
     159    double altitudeAccuracy, bool altitudeAccuracyValid, double speed, bool speedValid, double heading, bool headingValid)
    160160{
    161161    m_lastPosition = GeolocationPosition::create(timestamp, latitude, longitude, accuracy, altitudeValid, altitude, altitudeAccuracyValid,
    162                                                  altitudeAccuracy, headingValid, heading, speedValid, speed);
     162        altitudeAccuracy, headingValid, heading, speedValid, speed);
    163163    GeolocationController::from(m_webPagePrivate->m_page)->positionChanged(m_lastPosition.get());
    164164}
  • trunk/Source/WebKit/blackberry/WebCoreSupport/GeolocationClientBlackBerry.h

    r136694 r149818  
    4949    virtual bool requiresHighAccuracy() { return m_accuracy; }
    5050    virtual void onLocationUpdate(double timestamp, double latitude, double longitude, double accuracy, double altitude, bool altitudeValid, double altitudeAccuracy,
    51                                   bool altitudeAccuracyValid, double speed, bool speedValid, double heading, bool headingValid);
     51        bool altitudeAccuracyValid, double speed, bool speedValid, double heading, bool headingValid);
    5252    virtual void onLocationError(const char* error);
    5353    virtual void onPermission(const BlackBerry::Platform::String& origin, bool isAllowed);
  • trunk/Source/WebKit/blackberry/WebCoreSupport/IconDatabaseClientBlackBerry.cpp

    r132358 r149818  
    4646
    4747    m_initState = iconDatabase().open(BlackBerry::Platform::Settings::instance()->applicationDataDirectory().c_str(),
    48                                       IconDatabase::defaultDatabaseFilename()) ? InitializeSucceeded : InitializeFailed;
     48        IconDatabase::defaultDatabaseFilename()) ? InitializeSucceeded : InitializeFailed;
    4949
    5050    return m_initState == InitializeSucceeded;
Note: See TracChangeset for help on using the changeset viewer.