Changeset 127489 in webkit


Ignore:
Timestamp:
Sep 4, 2012 1:03:17 PM (12 years ago)
Author:
staikos@webkit.org
Message:

[BlackBerry] pass isMainFrame() through to notifyDocumentOnLoad()
https://bugs.webkit.org/show_bug.cgi?id=95766

Reviewed by Rob Buis.

Passing the frame status through will allow the client to make better
decisions about how to act on the onload.

  • Api/WebPageClient.h:
  • WebCoreSupport/FrameLoaderClientBlackBerry.cpp:

(WebCore::FrameLoaderClientBlackBerry::dispatchDidHandleOnloadEvents):

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/Api/WebPageClient.h

    r127083 r127489  
    105105    virtual void notifyNoMouseMoveOrTouchMoveHandlers() = 0;
    106106
    107     virtual void notifyDocumentOnLoad() = 0;
     107    virtual void notifyDocumentOnLoad(bool) = 0;
    108108
    109109    virtual void notifyWindowObjectCleared() = 0;
  • trunk/Source/WebKit/blackberry/ChangeLog

    r127486 r127489  
     12012-09-04  George Staikos  <staikos@webkit.org>
     2
     3        [BlackBerry] pass isMainFrame() through to notifyDocumentOnLoad()
     4        https://bugs.webkit.org/show_bug.cgi?id=95766
     5
     6        Reviewed by Rob Buis.
     7
     8        Passing the frame status through will allow the client to make better
     9        decisions about how to act on the onload.
     10
     11        * Api/WebPageClient.h:
     12        * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
     13        (WebCore::FrameLoaderClientBlackBerry::dispatchDidHandleOnloadEvents):
     14
    1152012-09-04  Rob Buis  <rbuis@rim.com>
    216
  • trunk/Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.cpp

    r126232 r127489  
    573573void FrameLoaderClientBlackBerry::dispatchDidHandleOnloadEvents()
    574574{
    575     m_webPagePrivate->m_client->notifyDocumentOnLoad();
     575    m_webPagePrivate->m_client->notifyDocumentOnLoad(isMainFrame());
    576576    if (m_webPagePrivate->m_dumpRenderTree)
    577577        m_webPagePrivate->m_dumpRenderTree->didHandleOnloadEventsForFrame(m_frame);
Note: See TracChangeset for help on using the changeset viewer.