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

Unified Diff: ppapi/proxy/dispatcher.cc

Issue 6432001: Implement proxy for FlashMenu and Run/QuitMessageLoop (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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/dispatcher.cc
diff --git a/ppapi/proxy/dispatcher.cc b/ppapi/proxy/dispatcher.cc
index 9ad6aca3e326ab987193cf4d0bf66717aba6366d..440d22f088adbae91c4c71691e10d7dce53b3c5d 100644
--- a/ppapi/proxy/dispatcher.cc
+++ b/ppapi/proxy/dispatcher.cc
@@ -36,6 +36,7 @@
#include "ppapi/c/ppb_url_response_info.h"
#include "ppapi/c/ppp_instance.h"
#include "ppapi/c/private/ppb_flash.h"
+#include "ppapi/c/private/ppb_flash_menu.h"
#include "ppapi/c/private/ppb_pdf.h"
#include "ppapi/c/trusted/ppb_url_loader_trusted.h"
#include "ppapi/proxy/ppapi_messages.h"
@@ -47,6 +48,7 @@
#include "ppapi/proxy/ppb_core_proxy.h"
#include "ppapi/proxy/ppb_cursor_control_proxy.h"
#include "ppapi/proxy/ppb_flash_proxy.h"
+#include "ppapi/proxy/ppb_flash_menu_proxy.h"
#include "ppapi/proxy/ppb_font_proxy.h"
#include "ppapi/proxy/ppb_fullscreen_proxy.h"
#include "ppapi/proxy/ppb_gles_chromium_texture_mapping_proxy.h"
@@ -293,6 +295,8 @@ InterfaceProxy* Dispatcher::CreateProxyForInterface(
if (!disallow_trusted_interfaces_) {
if (interface_name == PPB_FLASH_INTERFACE)
return new PPB_Flash_Proxy(this, interface_functions);
+ if (interface_name == PPB_FLASH_MENU_INTERFACE)
+ return new PPB_Flash_Menu_Proxy(this, interface_functions);
if (interface_name == PPB_PDF_INTERFACE)
return new PPB_PDF_Proxy(this, interface_functions);
if (interface_name == PPB_URLLOADERTRUSTED_INTERFACE)

Powered by Google App Engine
This is Rietveld 408576698