blob: 412e8cb22a74493c1e4d73945c7c79380179f2cb [file] [log] [blame]
[email protected]e2adfc42013-08-08 23:35:171// Copyright (c) 2011 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CONTENT_RENDERER_SAD_PLUGIN_H_
6#define CONTENT_RENDERER_SAD_PLUGIN_H_
7
8#include "third_party/WebKit/public/platform/WebCanvas.h"
9
10class SkBitmap;
11
12namespace gfx {
13class Rect;
14}
15
16namespace content {
17
18// Paints the sad plugin to the given canvas for the given plugin bounds. This
thestig8a8fdfd32017-05-06 18:46:5419// is used by PPAPI out-of-process plugin impls.
[email protected]180ef242013-11-07 06:50:4620void PaintSadPlugin(blink::WebCanvas* canvas,
[email protected]e2adfc42013-08-08 23:35:1721 const gfx::Rect& plugin_rect,
22 const SkBitmap& sad_plugin_bitmap);
23
24} // namespace content
25
26#endif // CONTENT_RENDERER_SAD_PLUGIN_H_