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

Side by Side Diff: ppapi/c/ppb_messaging.h

Issue 6893022: Add version-specific defines for each C interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/c/ppb_instance.h ('k') | ppapi/c/ppb_url_loader.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_C_PPB_MESSAGING_H_ 5 #ifndef PPAPI_C_PPB_MESSAGING_H_
6 #define PPAPI_C_PPB_MESSAGING_H_ 6 #define PPAPI_C_PPB_MESSAGING_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_var.h" 9 #include "ppapi/c/pp_var.h"
10 10
11 #define PPB_MESSAGING_INTERFACE "PPB_Messaging;0.1" 11 #define PPB_MESSAGING_INTERFACE_0_1 "PPB_Messaging;0.1"
12 #define PPB_MESSAGING_INTERFACE PPB_MESSAGING_INTERFACE_0_1
12 13
13 /** 14 /**
14 * @file 15 * @file
15 * This file defines the PPB_Messaging interface implemented by the browser. 16 * This file defines the PPB_Messaging interface implemented by the browser.
16 * The PPB_Messaging interface contains pointers to functions related to 17 * The PPB_Messaging interface contains pointers to functions related to
17 * sending messages to the JavaScript onmessage handler on the DOM element 18 * sending messages to the JavaScript onmessage handler on the DOM element
18 * associated with a specific module instance. 19 * associated with a specific module instance.
19 * 20 *
20 * @addtogroup Interfaces 21 * @addtogroup Interfaces
21 * @{ 22 * @{
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 * The browser will pop-up an alert saying "Hello world!". 74 * The browser will pop-up an alert saying "Hello world!".
74 */ 75 */
75 void (*PostMessage)(PP_Instance instance, struct PP_Var message); 76 void (*PostMessage)(PP_Instance instance, struct PP_Var message);
76 }; 77 };
77 /** 78 /**
78 * @} 79 * @}
79 */ 80 */
80 81
81 #endif /* PPAPI_C_PPB_MESSAGING_H_ */ 82 #endif /* PPAPI_C_PPB_MESSAGING_H_ */
82 83
OLDNEW
« no previous file with comments | « ppapi/c/ppb_instance.h ('k') | ppapi/c/ppb_url_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698