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

Side by Side Diff: ppapi/thunk/ppb_font_thunk.cc

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 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/thunk/thunk.h" 5 #include "ppapi/thunk/thunk.h"
6 #include "ppapi/thunk/enter.h" 6 #include "ppapi/thunk/enter.h"
7 #include "ppapi/thunk/ppb_font_api.h" 7 #include "ppapi/thunk/ppb_font_api.h"
8 #include "ppapi/thunk/resource_creation_api.h" 8 #include "ppapi/thunk/resource_creation_api.h"
9 9
10 namespace ppapi { 10 namespace ppapi {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 &IsFont, 86 &IsFont,
87 &Describe, 87 &Describe,
88 &DrawTextAt, 88 &DrawTextAt,
89 &MeasureText, 89 &MeasureText,
90 &CharacterOffsetForPixel, 90 &CharacterOffsetForPixel,
91 &PixelOffsetForCharacter 91 &PixelOffsetForCharacter
92 }; 92 };
93 93
94 } // namespace 94 } // namespace
95 95
96 const PPB_Font_Dev* GetPPB_Font_Thunk() { 96 const PPB_Font_Dev* GetPPB_Font_Dev_Thunk() {
97 return &g_ppb_font_thunk; 97 return &g_ppb_font_thunk;
98 } 98 }
99 99
100 } // namespace thunk 100 } // namespace thunk
101 } // namespace ppapi 101 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_file_chooser_thunk.cc ('k') | ppapi/thunk/ppb_gles_chromium_texture_mapping_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698