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

Unified Diff: ppapi/proxy/ppb_flash_proxy.h

Issue 8930023: Rev the Flash interface to add new functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years 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
Index: ppapi/proxy/ppb_flash_proxy.h
diff --git a/ppapi/proxy/ppb_flash_proxy.h b/ppapi/proxy/ppb_flash_proxy.h
index 8151d23e5c76820fbdfaa694523fffd52168b620..1939b2227e621498f856795e808749f2977cf50f 100644
--- a/ppapi/proxy/ppb_flash_proxy.h
+++ b/ppapi/proxy/ppb_flash_proxy.h
@@ -9,6 +9,7 @@
#include <vector>
#include "ipc/ipc_platform_file.h"
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_module.h"
#include "ppapi/c/pp_time.h"
@@ -16,6 +17,7 @@
#include "ppapi/shared_impl/host_resource.h"
struct PPB_Flash;
+struct PPB_Flash_11;
namespace ppapi {
@@ -31,7 +33,9 @@ class PPB_Flash_Proxy : public InterfaceProxy {
explicit PPB_Flash_Proxy(Dispatcher* dispatcher);
virtual ~PPB_Flash_Proxy();
- static const PPB_Flash* GetInterface();
+ // Returns the corresponding version of the Flash interface pointer.
+ static const PPB_Flash_11* GetInterface11();
+ static const PPB_Flash* GetInterface12();
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg);
@@ -48,7 +52,7 @@ class PPB_Flash_Proxy : public InterfaceProxy {
void OnMsgNavigate(PP_Instance instance,
const PPB_URLRequestInfo_Data& data,
const std::string& target,
- bool from_user_action,
+ PP_Bool from_user_action,
int32_t* result);
void OnMsgRunMessageLoop(PP_Instance instance);
void OnMsgQuitMessageLoop(PP_Instance instance);

Powered by Google App Engine
This is Rietveld 408576698