webengine/osswebengine/WebCore/dom/Document.cpp
changeset 15 60c5402cb945
parent 10 a359256acfc6
child 27 6297cdf66332
equal deleted inserted replaced
11:c8a366e56285 15:60c5402cb945
  3518 }
  3518 }
  3519 
  3519 
  3520 void Document::finishedParsing()
  3520 void Document::finishedParsing()
  3521 {
  3521 {
  3522     setParsing(false);
  3522     setParsing(false);
       
  3523     if (this->hasListenerType(DOMCONTENTLOADED_LISTENER)) 
       
  3524         {
       
  3525         ExceptionCode ec = 0;
       
  3526         dispatchEvent(new MutationEvent(DOMContentLoadedEvent, false, false,
       
  3527                                  this, String(), String(), String(), 0), ec);
       
  3528         }
  3523     if (Frame* f = frame())
  3529     if (Frame* f = frame())
  3524         f->loader()->finishedParsing();
  3530         f->loader()->finishedParsing();
  3525 }
  3531 }
  3526 
  3532 
  3527 Vector<String> Document::formElementsState() const
  3533 Vector<String> Document::formElementsState() const