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

Unified Diff: webkit/plugins/ppapi/ppb_font_impl.cc

Issue 7044012: Support getting the font list in Pepper. This currently only works out of (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_font_impl.h ('k') | webkit/plugins/ppapi/resource_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_font_impl.cc
===================================================================
--- webkit/plugins/ppapi/ppb_font_impl.cc (revision 85766)
+++ webkit/plugins/ppapi/ppb_font_impl.cc (working copy)
@@ -50,11 +50,6 @@
PPB_Font_Impl::~PPB_Font_Impl() {
}
-// static
-const PPB_Font_Dev* PPB_Font_Impl::GetInterface() {
- return ::ppapi::thunk::GetPPB_Font_Thunk();
-}
-
::ppapi::thunk::PPB_Font_API* PPB_Font_Impl::AsFont_API() {
return this;
}
@@ -130,6 +125,21 @@
return result;
}
+PPB_Font_FunctionImpl::PPB_Font_FunctionImpl() {
+}
+
+PPB_Font_FunctionImpl::~PPB_Font_FunctionImpl() {
+}
+
+::ppapi::thunk::PPB_Font_FunctionAPI*
+PPB_Font_FunctionImpl::AsFont_FunctionAPI() {
+ return this;
+}
+
+PP_Var PPB_Font_FunctionImpl::GetFontFamilies(PP_Instance instance) {
+ return PP_MakeUndefined();
+}
+
} // namespace ppapi
} // namespace webkit
« no previous file with comments | « webkit/plugins/ppapi/ppb_font_impl.h ('k') | webkit/plugins/ppapi/resource_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698