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

Side by Side Diff: ppapi/c/extensions/dev/ppb_ext_events_dev.h

Issue 13080002: Apps V2 in Pepper: introduce singleton resource ExtensionsCommon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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/c/extensions/dev/ppb_ext_alarms_dev.h ('k') | ppapi/cpp/extensions/dev/alarms_dev.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) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 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 5
6 /* From extensions/dev/ppb_events_dev.idl modified Sun Mar 10 10:37:48 2013. */ 6 /* From extensions/dev/ppb_ext_events_dev.idl,
7 * modified Mon Mar 18 17:18:20 2013.
8 */
7 9
8 #ifndef PPAPI_C_EXTENSIONS_DEV_PPB_EVENTS_DEV_H_ 10 #ifndef PPAPI_C_EXTENSIONS_DEV_PPB_EXT_EVENTS_DEV_H_
9 #define PPAPI_C_EXTENSIONS_DEV_PPB_EVENTS_DEV_H_ 11 #define PPAPI_C_EXTENSIONS_DEV_PPB_EXT_EVENTS_DEV_H_
10 12
11 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
14 16
15 #define PPB_EXT_EVENTS_DEV_INTERFACE_0_1 "PPB_Ext_Events(Dev);0.1" 17 #define PPB_EXT_EVENTS_DEV_INTERFACE_0_1 "PPB_Ext_Events(Dev);0.1"
16 #define PPB_EXT_EVENTS_DEV_INTERFACE PPB_EXT_EVENTS_DEV_INTERFACE_0_1 18 #define PPB_EXT_EVENTS_DEV_INTERFACE PPB_EXT_EVENTS_DEV_INTERFACE_0_1
17 19
18 /** 20 /**
19 * @file 21 * @file
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 PP_INLINE struct PP_Ext_EventListener PP_Ext_MakeEventListener( 109 PP_INLINE struct PP_Ext_EventListener PP_Ext_MakeEventListener(
108 const char* event_name, 110 const char* event_name,
109 PP_Ext_GenericFuncType func, 111 PP_Ext_GenericFuncType func,
110 void* user_data) { 112 void* user_data) {
111 struct PP_Ext_EventListener listener; 113 struct PP_Ext_EventListener listener;
112 listener.event_name = event_name; 114 listener.event_name = event_name;
113 listener.func = func; 115 listener.func = func;
114 listener.user_data = user_data; 116 listener.user_data = user_data;
115 return listener; 117 return listener;
116 } 118 }
117 #endif /* PPAPI_C_EXTENSIONS_DEV_PPB_EVENTS_DEV_H_ */ 119 #endif /* PPAPI_C_EXTENSIONS_DEV_PPB_EXT_EVENTS_DEV_H_ */
118 120
OLDNEW
« no previous file with comments | « ppapi/c/extensions/dev/ppb_ext_alarms_dev.h ('k') | ppapi/cpp/extensions/dev/alarms_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698