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

Side by Side Diff: ppapi/proxy/ppb_pdf_proxy.cc

Issue 6255001: Move webkit/plugins/ppapi/ppb_pdf.h to ppapi/c/private. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « ppapi/proxy/dispatcher.cc ('k') | webkit/glue/webkit_glue.gypi » ('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) 2010 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 #include "ppapi/proxy/ppb_pdf_proxy.h" 5 #include "ppapi/proxy/ppb_pdf_proxy.h"
6 6
7 #include <string.h> // For memcpy. 7 #include <string.h> // For memcpy.
8 8
9 #include <map> 9 #include <map>
10 10
11 #include "base/linked_ptr.h" 11 #include "base/linked_ptr.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "ppapi/c/private/ppb_pdf.h"
14 #include "ppapi/proxy/plugin_dispatcher.h" 15 #include "ppapi/proxy/plugin_dispatcher.h"
15 #include "ppapi/proxy/plugin_resource.h" 16 #include "ppapi/proxy/plugin_resource.h"
16 #include "ppapi/proxy/ppapi_messages.h" 17 #include "ppapi/proxy/ppapi_messages.h"
17 #include "webkit/plugins/ppapi/ppb_pdf.h"
18 18
19 namespace pp { 19 namespace pp {
20 namespace proxy { 20 namespace proxy {
21 21
22 class PrivateFontFile : public PluginResource { 22 class PrivateFontFile : public PluginResource {
23 public: 23 public:
24 PrivateFontFile() {} 24 PrivateFontFile() {}
25 virtual ~PrivateFontFile() {} 25 virtual ~PrivateFontFile() {}
26 26
27 // Resource overrides. 27 // Resource overrides.
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 font_file, table, NULL, &table_length)) 159 font_file, table, NULL, &table_length))
160 return; 160 return;
161 161
162 result->resize(table_length); 162 result->resize(table_length);
163 ppb_pdf_target()->GetFontTableForPrivateFontFile(font_file, table, 163 ppb_pdf_target()->GetFontTableForPrivateFontFile(font_file, table,
164 const_cast<char*>(result->c_str()), &table_length); 164 const_cast<char*>(result->c_str()), &table_length);
165 } 165 }
166 166
167 } // namespace proxy 167 } // namespace proxy
168 } // namespace pp 168 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/proxy/dispatcher.cc ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698