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

Side by Side Diff: ppapi/cpp/private/flash_font_file.cc

Issue 1428653002: PPAPI: Remove PPB_Font_Dev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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
« no previous file with comments | « ppapi/cpp/dev/font_dev.cc ('k') | ppapi/cpp/trusted/browser_font_trusted.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/cpp/private/flash_font_file.h" 5 #include "ppapi/cpp/private/flash_font_file.h"
6 6
7 #include "ppapi/c/dev/ppb_font_dev.h"
8 #include "ppapi/c/private/ppb_flash_font_file.h" 7 #include "ppapi/c/private/ppb_flash_font_file.h"
9 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" 8 #include "ppapi/c/trusted/ppb_browser_font_trusted.h"
10 #include "ppapi/cpp/instance_handle.h" 9 #include "ppapi/cpp/instance_handle.h"
11 #include "ppapi/cpp/module_impl.h" 10 #include "ppapi/cpp/module_impl.h"
12 11
13 namespace pp { 12 namespace pp {
14 13
15 namespace { 14 namespace {
16 15
17 template <> const char* interface_name<PPB_Flash_FontFile_0_1>() { 16 template <> const char* interface_name<PPB_Flash_FontFile_0_1>() {
(...skipping 29 matching lines...) Expand all
47 uint32_t* output_length) { 46 uint32_t* output_length) {
48 if (has_interface<PPB_Flash_FontFile_0_1>()) { 47 if (has_interface<PPB_Flash_FontFile_0_1>()) {
49 return !!get_interface<PPB_Flash_FontFile_0_1>()-> 48 return !!get_interface<PPB_Flash_FontFile_0_1>()->
50 GetFontTable(pp_resource(), table, output, output_length); 49 GetFontTable(pp_resource(), table, output, output_length);
51 } 50 }
52 return false; 51 return false;
53 } 52 }
54 53
55 } // namespace flash 54 } // namespace flash
56 } // namespace pp 55 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/font_dev.cc ('k') | ppapi/cpp/trusted/browser_font_trusted.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698