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

Side by Side Diff: webkit/glue/plugins/pepper_private2.h

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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/glue/plugins/pepper_private.cc ('k') | webkit/glue/plugins/pepper_private2.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE2_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE2_H_
7
8 #include "build/build_config.h"
9 #include "ppapi/c/pp_point.h"
10 #include "ppapi/c/pp_rect.h"
11 #include "webkit/glue/plugins/pepper_resource.h"
12
13 struct PP_FontDescription_Dev;
14 struct PPB_Private2;
15
16 namespace pepper {
17
18 class Private2 {
19 public:
20 // Returns a pointer to the interface implementing PPB_Private2 that is
21 // exposed to the plugin.
22 static const PPB_Private2* GetInterface();
23
24 static bool DrawGlyphs(PP_Resource pp_image_data,
25 const PP_FontDescription_Dev* font_desc,
26 uint32_t color,
27 PP_Point position,
28 PP_Rect clip,
29 const float transformation[3][3],
30 uint32_t glyph_count,
31 const uint16_t glyph_indices[],
32 const PP_Point glyph_advances[])
33 #if defined(OS_LINUX)
34 ;
35 #else
36 { return false; }
37 #endif
38 };
39
40 } // namespace pepper
41
42 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PRIVATE2_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_private.cc ('k') | webkit/glue/plugins/pepper_private2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698