chromium/third_party/blink/renderer/core/loader/lazy_image_helper.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace

// static
void LazyImageHelper::StartMonitoring(Element* element) {}

void LazyImageHelper::StopMonitoring(Element* element) {}

// static
bool LazyImageHelper::LoadAllImagesAndBlockLoadEvent(Document& document) {}

// static
bool LazyImageHelper::ShouldDeferImageLoad(LocalFrame& frame,
                                           HTMLImageElement* html_image) {}

}  // namespace blink