blob: 4148c0ae0863b9c7438eea2e6ee7432adcd40a3c [file] [log] [blame]
// Copyright (c) 2011 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 "third_party/WebKit/public/platform/WebCanvas.h"
class SkBitmap;
namespace gfx {
class Rect;
namespace content {
// Paints the sad plugin to the given canvas for the given plugin bounds. This
// is used by both the NPAPI and the PPAPI out-of-process plugin impls.
void PaintSadPlugin(blink::WebCanvas* canvas,
const gfx::Rect& plugin_rect,
const SkBitmap& sad_plugin_bitmap);
} // namespace content