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

Side by Side Diff: ppapi/shared_impl/function_group_base.h

Issue 10163012: Move the FlashClipboard API into the Flash one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments & fixes. Created 8 years, 8 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/shared_impl/api_id.h ('k') | ppapi/shared_impl/ppb_flash_shared.h » ('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) 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 #ifndef PPAPI_SHARED_IMPL_FUNCTION_GROUP_BASE_H_ 5 #ifndef PPAPI_SHARED_IMPL_FUNCTION_GROUP_BASE_H_
6 #define PPAPI_SHARED_IMPL_FUNCTION_GROUP_BASE_H_ 6 #define PPAPI_SHARED_IMPL_FUNCTION_GROUP_BASE_H_
7 7
8 #include <stddef.h> // For NULL. 8 #include <stddef.h> // For NULL.
9 9
10 #include "ppapi/shared_impl/ppapi_shared_export.h" 10 #include "ppapi/shared_impl/ppapi_shared_export.h"
11 11
12 #define FOR_ALL_PPAPI_FUNCTION_APIS(F) \ 12 #define FOR_ALL_PPAPI_FUNCTION_APIS(F) \
13 F(PPB_CharSet_FunctionAPI) \ 13 F(PPB_CharSet_FunctionAPI) \
14 F(PPB_CursorControl_FunctionAPI) \ 14 F(PPB_CursorControl_FunctionAPI) \
15 F(PPB_Flash_Clipboard_FunctionAPI) \
16 F(PPB_Font_FunctionAPI) \ 15 F(PPB_Font_FunctionAPI) \
17 F(PPB_Fullscreen_FunctionAPI) \ 16 F(PPB_Fullscreen_FunctionAPI) \
18 F(PPB_Instance_FunctionAPI) \ 17 F(PPB_Instance_FunctionAPI) \
19 F(PPB_TextInput_FunctionAPI) \ 18 F(PPB_TextInput_FunctionAPI) \
20 F(ResourceCreationAPI) 19 F(ResourceCreationAPI)
21 20
22 namespace ppapi { 21 namespace ppapi {
23 22
24 // Forward declare all the function APIs. 23 // Forward declare all the function APIs.
25 namespace thunk { 24 namespace thunk {
(...skipping 24 matching lines...) Expand all
50 #define DEFINE_FUNCTION_CAST(FUNCTIONS) \ 49 #define DEFINE_FUNCTION_CAST(FUNCTIONS) \
51 template<> inline thunk::FUNCTIONS* FunctionGroupBase::GetAs() { \ 50 template<> inline thunk::FUNCTIONS* FunctionGroupBase::GetAs() { \
52 return As##FUNCTIONS(); \ 51 return As##FUNCTIONS(); \
53 } 52 }
54 FOR_ALL_PPAPI_FUNCTION_APIS(DEFINE_FUNCTION_CAST) 53 FOR_ALL_PPAPI_FUNCTION_APIS(DEFINE_FUNCTION_CAST)
55 #undef DEFINE_FUNCTION_CAST 54 #undef DEFINE_FUNCTION_CAST
56 55
57 } // namespace ppapi 56 } // namespace ppapi
58 57
59 #endif // PPAPI_SHARED_IMPL_FUNCTION_GROUP_BASE_H_ 58 #endif // PPAPI_SHARED_IMPL_FUNCTION_GROUP_BASE_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/api_id.h ('k') | ppapi/shared_impl/ppb_flash_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698