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

Unified Diff: ppapi/thunk/ppb_flash_api.h

Issue 10913257: Convert url request info to new proxy API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/url_request_info_data.cc ('k') | ppapi/thunk/ppb_url_loader_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_flash_api.h
diff --git a/ppapi/thunk/ppb_flash_api.h b/ppapi/thunk/ppb_flash_api.h
index 8e24e4492c4f24d6b8a1765e3205142bef4e000a..d39393e86aca328b4b4279fff0d3858c2ae25a14 100644
--- a/ppapi/thunk/ppb_flash_api.h
+++ b/ppapi/thunk/ppb_flash_api.h
@@ -11,6 +11,9 @@
#include "ppapi/thunk/ppapi_thunk_export.h"
namespace ppapi {
+
+struct URLRequestInfoData;
+
namespace thunk {
// This class collects all of the Flash interface-related APIs into one place.
@@ -32,10 +35,19 @@ class PPAPI_THUNK_EXPORT PPB_Flash_API {
const uint16_t glyph_indices[],
const PP_Point glyph_advances[]) = 0;
virtual PP_Var GetProxyForURL(PP_Instance instance, const char* url) = 0;
+
+ // External function that takes a PPB_URLRequestInfo resource.
virtual int32_t Navigate(PP_Instance instance,
PP_Resource request_info,
const char* target,
PP_Bool from_user_action) = 0;
+
+ // Internal navigate function that takes a URLRequestInfoData.
+ virtual int32_t Navigate(PP_Instance instance,
+ const URLRequestInfoData& data,
+ const char* target,
+ PP_Bool from_user_action) = 0;
+
virtual void RunMessageLoop(PP_Instance instance) = 0;
virtual void QuitMessageLoop(PP_Instance instance) = 0;
virtual double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) = 0;
« no previous file with comments | « ppapi/shared_impl/url_request_info_data.cc ('k') | ppapi/thunk/ppb_url_loader_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698