// Copyright 2017 The Chromium Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.#include "flutter/shell/common/null_platform_view.h"#include "flutter/shell/common/null_rasterizer.h"#include "flutter/shell/common/shell.h"namespaceshell{NullPlatformView::NullPlatformView():PlatformView(std::make_unique<NullRasterizer>()),weak_factory_(this){}voidNullPlatformView::Attach(){CreateEngine();}NullPlatformView::~NullPlatformView()=default;fxl::WeakPtr<NullPlatformView>NullPlatformView::GetWeakPtr(){returnweak_factory_.GetWeakPtr();}boolNullPlatformView::ResourceContextMakeCurrent(){returnfalse;}// Hot-reload of the null platform view is not supported.voidNullPlatformView::RunFromSource(conststd::string&assets_directory,conststd::string&main,conststd::string&packages){}voidNullPlatformView::SetAssetBundlePath(conststd::string&assets_directory){}}// namespace shell