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

Side by Side Diff: ppapi/c/private/ppb_flash_menu.h

Issue 6542064: Add some files to the C compilation test, and fix some stuff that wasn't C com... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/private/ppb_flash.h ('k') | ppapi/c/private/ppb_pdf.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_PRIVATE_PPB_FLASH_MENU_H_ 5 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_MENU_H_
6 #define PPAPI_C_PRIVATE_PPB_FLASH_MENU_H_ 6 #define PPAPI_C_PRIVATE_PPB_FLASH_MENU_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_point.h" 10 #include "ppapi/c/pp_point.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 const struct PP_Flash_Menu* menu_data); 44 const struct PP_Flash_Menu* menu_data);
45 PP_Bool (*IsFlashMenu)(PP_Resource resource_id); 45 PP_Bool (*IsFlashMenu)(PP_Resource resource_id);
46 46
47 // Display a context menu at the given location. If the user selects an item, 47 // Display a context menu at the given location. If the user selects an item,
48 // |selected_id| will be set to its |id| and the callback called with |PP_OK|. 48 // |selected_id| will be set to its |id| and the callback called with |PP_OK|.
49 // If the user dismisses the menu without selecting an item, 49 // If the user dismisses the menu without selecting an item,
50 // |PP_ERROR_USERCANCEL| will be indicated. 50 // |PP_ERROR_USERCANCEL| will be indicated.
51 int32_t (*Show)(PP_Resource menu_id, 51 int32_t (*Show)(PP_Resource menu_id,
52 const struct PP_Point* location, 52 const struct PP_Point* location,
53 int32_t* selected_id, 53 int32_t* selected_id,
54 PP_CompletionCallback callback); 54 struct PP_CompletionCallback callback);
55 }; 55 };
56 56
57 #endif // PPAPI_C_PRIVATE_PPB_FLASH_MENU_H_ 57 #endif // PPAPI_C_PRIVATE_PPB_FLASH_MENU_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_flash.h ('k') | ppapi/c/private/ppb_pdf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698