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

Unified Diff: chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc

Issue 11421066: Refactor PPB_Flash_Fullscreen to the new resource model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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 | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/pepper/pepper_flash_fullscreen_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc
diff --git a/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc b/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc
index 9287e1cebfc30bc1f62c9a5ee5113ff1019715d7..017eafdfd1a0fa4c3f2f81990b52f49238018ae9 100644
--- a/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc
+++ b/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "chrome/renderer/pepper/pepper_flash_font_file_host.h"
+#include "chrome/renderer/pepper/pepper_flash_fullscreen_host.h"
#include "chrome/renderer/pepper/pepper_flash_menu_host.h"
#include "content/public/renderer/renderer_ppapi_host.h"
#include "ppapi/host/ppapi_host.h"
@@ -51,6 +52,11 @@ ChromeRendererPepperHostFactory::CreateResourceHost(
}
break;
}
+ case PpapiHostMsg_FlashFullscreen_Create::ID: {
+ return scoped_ptr<ResourceHost>(new PepperFlashFullscreenHost(
+ host_, instance, params.pp_resource()));
+ break;
+ }
case PpapiHostMsg_FlashMenu_Create::ID: {
ppapi::proxy::SerializedFlashMenu serialized_menu;
if (ppapi::UnpackMessage<PpapiHostMsg_FlashMenu_Create>(
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/pepper/pepper_flash_fullscreen_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698