Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Side by Side Diff: webkit/plugins/sad_plugin.h

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/webkit_forwarding_impl.h ('k') | webkit/plugins/webkit_plugins_export.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_SAD_PLUGIN_H_ 5 #ifndef WEBKIT_PLUGINS_SAD_PLUGIN_H_
6 #define WEBKIT_PLUGINS_SAD_PLUGIN_H_ 6 #define WEBKIT_PLUGINS_SAD_PLUGIN_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCanvas.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCanvas.h"
9 #include "webkit/plugins/webkit_plugins_export.h"
9 10
10 class SkBitmap; 11 class SkBitmap;
11 12
12 namespace gfx { 13 namespace gfx {
13 class Rect; 14 class Rect;
14 } 15 }
15 16
16 namespace webkit { 17 namespace webkit {
17 18
18 // Paints the sad plugin to the given canvas for the given plugin bounds. This 19 // Paints the sad plugin to the given canvas for the given plugin bounds. This
19 // is used by both the NPAPI and the PPAPI out-of-process plugin impls. 20 // is used by both the NPAPI and the PPAPI out-of-process plugin impls.
20 void PaintSadPlugin(WebKit::WebCanvas* canvas, 21 WEBKIT_PLUGINS_EXPORT void PaintSadPlugin(WebKit::WebCanvas* canvas,
21 const gfx::Rect& plugin_rect, 22 const gfx::Rect& plugin_rect,
22 const SkBitmap& sad_plugin_bitmap); 23 const SkBitmap& sad_plugin_bitmap);
23 24
24 } // namespace 25 } // namespace
25 26
26 #endif // WEBKIT_PLUGINS_SAD_PLUGIN_H_ 27 #endif // WEBKIT_PLUGINS_SAD_PLUGIN_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/webkit_forwarding_impl.h ('k') | webkit/plugins/webkit_plugins_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698