chromium/third_party/blink/renderer/core/svg/graphics/isolated_svg_document_host.cc

/*
 * Copyright (C) 2006 Eric Seidel <[email protected]>
 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#include "third_party/blink/renderer/core/svg/graphics/isolated_svg_document_host.h"

#include "base/system/sys_info.h"
#include "base/trace_event/trace_event.h"
#include "services/network/public/cpp/single_request_url_loader_factory.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/common/tokens/tokens.h"
#include "third_party/blink/renderer/core/dom/events/event_dispatch_forbidden_scope.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_client.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/svg/graphics/svg_image_chrome_client.h"
#include "third_party/blink/renderer/core/svg/svg_svg_element.h"
#include "third_party/blink/renderer/platform/instrumentation/histogram.h"
#include "third_party/blink/renderer/platform/scheduler/public/agent_group_scheduler.h"
#include "third_party/blink/renderer/platform/scheduler/public/main_thread.h"
#include "third_party/blink/renderer/platform/scheduler/public/main_thread_scheduler.h"

namespace blink {

// IsolatedSVGDocumentHost::LocalFrameClient is used to wait until the SVG
// document's load event is fired in the case where there are subresources
// asynchronously loaded.
class IsolatedSVGDocumentHost::LocalFrameClient : public EmptyLocalFrameClient {};

IsolatedSVGDocumentHost::IsolatedSVGDocumentHost(
    IsolatedSVGChromeClient& chrome_client,
    AgentGroupScheduler& agent_group_scheduler) {}

void IsolatedSVGDocumentHost::InstallDocument(
    scoped_refptr<const SharedBuffer> data,
    base::OnceClosure async_load_callback,
    const Settings* inherited_settings,
    ProcessingMode processing_mode) {}

void IsolatedSVGDocumentHost::CopySettingsFrom(
    Settings& settings,
    const Settings& inherited_settings) {}

LocalFrame* IsolatedSVGDocumentHost::GetFrame() {}

SVGSVGElement* IsolatedSVGDocumentHost::RootElement() {}

void IsolatedSVGDocumentHost::LoadCompleted() {}

void IsolatedSVGDocumentHost::Shutdown() {}

IsolatedSVGDocumentHost::~IsolatedSVGDocumentHost() {}

void IsolatedSVGDocumentHost::Trace(Visitor* visitor) const {}

// static
IsolatedSVGDocumentHostInitializer* IsolatedSVGDocumentHostInitializer::Get() {}

IsolatedSVGDocumentHostInitializer::IsolatedSVGDocumentHostInitializer()
    :{}

std::pair<SVGImageChromeClient*, IsolatedSVGDocumentHost*>
IsolatedSVGDocumentHostInitializer::GetOrCreate() {}

void IsolatedSVGDocumentHostInitializer::MaybePrepareIsolatedSVGDocumentHost() {}

std::pair<SVGImageChromeClient*, IsolatedSVGDocumentHost*>
IsolatedSVGDocumentHostInitializer::Create() {}

void IsolatedSVGDocumentHostInitializer::Clear() {}

void IsolatedSVGDocumentHostInitializer::Trace(Visitor* visitor) const {}

}  // namespace blink