blob: b619734266a488b234e5289756daad843995f6b5 [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
danakjff6a0262018-06-26 19:50:318#include "cc/paint/paint_canvas.h"
[email protected]e2adfc42013-08-08 23:35:179
Khushal01e86782018-06-26 21:10:5310namespace cc {
11class PaintImage;
12}
[email protected]e2adfc42013-08-08 23:35:1713
14namespace gfx {
15class Rect;
16}
17
18namespace content {
19
20// Paints the sad plugin to the given canvas for the given plugin bounds. This
thestig8a8fdfd32017-05-06 18:46:5421// is used by PPAPI out-of-process plugin impls.
danakjff6a0262018-06-26 19:50:3122void PaintSadPlugin(cc::PaintCanvas* canvas,
[email protected]e2adfc42013-08-08 23:35:1723 const gfx::Rect& plugin_rect,
Khushal01e86782018-06-26 21:10:5324 const cc::PaintImage& sad_plugin_image);
[email protected]e2adfc42013-08-08 23:35:1725
26} // namespace content
27
28#endif // CONTENT_RENDERER_SAD_PLUGIN_H_