chromium/third_party/blink/renderer/core/frame/savable_resources.cc

// Copyright 2013 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/frame/savable_resources.h"

#include "third_party/blink/public/mojom/frame/frame.mojom-blink.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/html/html_all_collection.h"
#include "third_party/blink/renderer/core/html/html_frame_owner_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"

namespace blink {

FormControlType;

namespace {

// Returns |true| if |frame| contains (or should be assumed to contain)
// a html document.
bool DoesFrameContainHtmlDocument(Frame* frame, Element* element) {}

// If present and valid, then push the link associated with |element|
// into either SavableResources::Result::subframes_ or
// SavableResources::Result::resources_list_.
void GetSavableResourceLinkForElement(Element* element,
                                      const Document& current_document,
                                      SavableResources::Result* result) {}

}  // namespace

// static
bool SavableResources::GetSavableResourceLinksForFrame(
    LocalFrame* current_frame,
    SavableResources::Result* result) {}

// static
String SavableResources::GetSubResourceLinkFromElement(Element* element) {}

void SavableResources::Result::AppendSubframe(
    mojom::blink::SavableSubframePtr subframe) {}

void SavableResources::Result::AppendResourceLink(const KURL& url) {}

}  // namespace blink