chromium/ui/surface/transport_dib.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 "ui/surface/transport_dib.h"

#include <stddef.h>

#include <memory>

#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/memory/shared_memory_mapping.h"
#include "base/memory/unsafe_shared_memory_region.h"
#include "base/numerics/checked_math.h"
#include "build/build_config.h"
#include "skia/ext/platform_canvas.h"

TransportDIB::TransportDIB(base::UnsafeSharedMemoryRegion region)
    :{}

TransportDIB::~TransportDIB() = default;

// static
std::unique_ptr<TransportDIB> TransportDIB::Map(
    base::UnsafeSharedMemoryRegion region) {}

// static
std::unique_ptr<TransportDIB> TransportDIB::CreateWithHandle(
    base::UnsafeSharedMemoryRegion region) {}

std::unique_ptr<SkCanvas> TransportDIB::GetPlatformCanvas(int w,
                                                          int h,
                                                          bool opaque) {}

bool TransportDIB::Map() {}

void* TransportDIB::memory() const {}

base::UnsafeSharedMemoryRegion* TransportDIB::shared_memory_region() {}

// static
bool TransportDIB::VerifyCanvasSize(int w, int h) {}