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

Side by Side Diff: ppapi/thunk/ppb_flash_api.h

Issue 10681006: Add ppapi interface for setting crash data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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/thunk/interfaces_ppb_private_flash.h ('k') | ppapi/thunk/ppb_flash_thunk.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_THUNK_PPB_FLASH_API_H_ 5 #ifndef PPAPI_THUNK_PPB_FLASH_API_H_
6 #define PPAPI_THUNK_PPB_FLASH_API_H_ 6 #define PPAPI_THUNK_PPB_FLASH_API_H_
7 7
8 #include "ppapi/c/private/ppb_flash.h" 8 #include "ppapi/c/private/ppb_flash.h"
9 #include "ppapi/c/private/ppb_flash_clipboard.h" 9 #include "ppapi/c/private/ppb_flash_clipboard.h"
10 #include "ppapi/c/private/ppb_flash_file.h" 10 #include "ppapi/c/private/ppb_flash_file.h"
(...skipping 27 matching lines...) Expand all
38 PP_Bool from_user_action) = 0; 38 PP_Bool from_user_action) = 0;
39 virtual void RunMessageLoop(PP_Instance instance) = 0; 39 virtual void RunMessageLoop(PP_Instance instance) = 0;
40 virtual void QuitMessageLoop(PP_Instance instance) = 0; 40 virtual void QuitMessageLoop(PP_Instance instance) = 0;
41 virtual double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) = 0; 41 virtual double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) = 0;
42 virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0; 42 virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0;
43 virtual void UpdateActivity(PP_Instance instance) = 0; 43 virtual void UpdateActivity(PP_Instance instance) = 0;
44 virtual PP_Var GetDeviceID(PP_Instance instance) = 0; 44 virtual PP_Var GetDeviceID(PP_Instance instance) = 0;
45 virtual int32_t GetSettingInt(PP_Instance instance, 45 virtual int32_t GetSettingInt(PP_Instance instance,
46 PP_FlashSetting setting) = 0; 46 PP_FlashSetting setting) = 0;
47 virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0; 47 virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0;
48 virtual PP_Bool SetCrashData(PP_Instance instance,
49 PP_FlashCrashKey key,
50 PP_Var value) = 0;
48 51
49 // FlashClipboard. 52 // FlashClipboard.
50 virtual PP_Bool IsClipboardFormatAvailable( 53 virtual PP_Bool IsClipboardFormatAvailable(
51 PP_Instance instance, 54 PP_Instance instance,
52 PP_Flash_Clipboard_Type clipboard_type, 55 PP_Flash_Clipboard_Type clipboard_type,
53 PP_Flash_Clipboard_Format format) = 0; 56 PP_Flash_Clipboard_Format format) = 0;
54 virtual PP_Var ReadClipboardData(PP_Instance instance, 57 virtual PP_Var ReadClipboardData(PP_Instance instance,
55 PP_Flash_Clipboard_Type clipboard_type, 58 PP_Flash_Clipboard_Type clipboard_type,
56 PP_Flash_Clipboard_Format format) = 0; 59 PP_Flash_Clipboard_Format format) = 0;
57 virtual int32_t WriteClipboardData(PP_Instance instance, 60 virtual int32_t WriteClipboardData(PP_Instance instance,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; 101 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0;
99 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, 102 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
100 PP_Bool fullscreen) = 0; 103 PP_Bool fullscreen) = 0;
101 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; 104 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0;
102 }; 105 };
103 106
104 } // namespace thunk 107 } // namespace thunk
105 } // namespace ppapi 108 } // namespace ppapi
106 109
107 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ 110 #endif // PPAPI_THUNK_PPB_FLASH_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private_flash.h ('k') | ppapi/thunk/ppb_flash_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698