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

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

Issue 2956002: Pepper v2 Font API browser implementation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months 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 | « chrome/renderer/renderer_sandbox_support_linux.cc ('k') | webkit/glue/plugins/pepper_font.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
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_FONT_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_FONT_H_
7
8 #include "webkit/glue/plugins/pepper_resource.h"
9
10 typedef struct _ppb_Font PPB_Font;
11
12 namespace pepper {
13
14 class PluginInstance;
15
16 class Font : public Resource {
17 public:
18 Font(PluginModule* module, int fd);
19 virtual ~Font();
20
21 // Returns a pointer to the interface implementing PPB_Font that is exposed to
22 // the plugin.
23 static const PPB_Font* GetInterface();
24
25 // Resource overrides.
26 Font* AsFont() { return this; }
27
28 // PPB_Font implementation.
29 bool GetFontTable(uint32_t table,
30 void* output,
31 uint32_t* output_length);
32
33 private:
34 int fd_;
35 };
36
37 } // namespace pepper
38
39 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_FONT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_sandbox_support_linux.cc ('k') | webkit/glue/plugins/pepper_font.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698