#include "third_party/blink/renderer/core/loader/lazy_image_helper.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/frame_owner.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/html/html_image_element.h"
#include "third_party/blink/renderer/core/html/lazy_load_image_observer.h"
#include "third_party/blink/renderer/core/html/loading_attribute.h"
namespace blink {
namespace {
Document* GetRootDocumentOrNull(Node* node) { … }
}
void LazyImageHelper::StartMonitoring(Element* element) { … }
void LazyImageHelper::StopMonitoring(Element* element) { … }
bool LazyImageHelper::LoadAllImagesAndBlockLoadEvent(Document& document) { … }
bool LazyImageHelper::ShouldDeferImageLoad(LocalFrame& frame,
HTMLImageElement* html_image) { … }
}