OLD | NEW |
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_CPP_PRIVATE_FLASH_H_ | 5 #ifndef PPAPI_CPP_PRIVATE_FLASH_H_ |
6 #define PPAPI_CPP_PRIVATE_FLASH_H_ | 6 #define PPAPI_CPP_PRIVATE_FLASH_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ppapi/c/private/ppb_flash.h" | 10 #include "ppapi/c/private/ppb_flash.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 static void QuitMessageLoop(const InstanceHandle& instance); | 53 static void QuitMessageLoop(const InstanceHandle& instance); |
54 static double GetLocalTimeZoneOffset(const InstanceHandle& instance, | 54 static double GetLocalTimeZoneOffset(const InstanceHandle& instance, |
55 PP_Time t); | 55 PP_Time t); |
56 static Var GetCommandLineArgs(Module* module); | 56 static Var GetCommandLineArgs(Module* module); |
57 static void PreloadFontWin(const void* logfontw); | 57 static void PreloadFontWin(const void* logfontw); |
58 static bool IsRectTopmost(const InstanceHandle& instance, const Rect& rect); | 58 static bool IsRectTopmost(const InstanceHandle& instance, const Rect& rect); |
59 static void UpdateActivity(const InstanceHandle& instance); | 59 static void UpdateActivity(const InstanceHandle& instance); |
60 static Var GetDeviceID(const InstanceHandle& instance); | 60 static Var GetDeviceID(const InstanceHandle& instance); |
61 static Var GetSetting(const InstanceHandle& instance, | 61 static Var GetSetting(const InstanceHandle& instance, |
62 PP_FlashSetting setting); | 62 PP_FlashSetting setting); |
| 63 static bool SetCrashData(const InstanceHandle& instance, |
| 64 PP_FlashCrashKey key, |
| 65 const pp::Var& value); |
63 | 66 |
64 // PPB_Flash_Print. | 67 // PPB_Flash_Print. |
65 static bool InvokePrinting(const InstanceHandle& instance); | 68 static bool InvokePrinting(const InstanceHandle& instance); |
66 }; | 69 }; |
67 | 70 |
68 } // namespace flash | 71 } // namespace flash |
69 } // namespace pp | 72 } // namespace pp |
70 | 73 |
71 #endif // PPAPI_CPP_PRIVATE_FLASH_H_ | 74 #endif // PPAPI_CPP_PRIVATE_FLASH_H_ |
OLD | NEW |