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

Side by Side Diff: chrome/renderer/pepper/pepper_flash_fullscreen_host.h

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 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ppapi/host/resource_host.h"
11
12 namespace content {
13 class RendererPpapiHost;
14 }
15
16 namespace chrome {
17
18 class PepperFlashFullscreenHost : public ppapi::host::ResourceHost {
19 public:
20 PepperFlashFullscreenHost(content::RendererPpapiHost* host,
21 PP_Instance instance,
22 PP_Resource resource);
23 virtual ~PepperFlashFullscreenHost();
24
25 virtual int32_t OnResourceMessageReceived(
26 const IPC::Message& msg,
27 ppapi::host::HostMessageContext* context) OVERRIDE;
28
29 private:
30 int32_t OnMsgSetFullscreen(ppapi::host::HostMessageContext* context,
31 bool fullscreen);
32
33 // Non-owning pointer.
34 content::RendererPpapiHost* renderer_ppapi_host_;
35
36 DISALLOW_COPY_AND_ASSIGN(PepperFlashFullscreenHost);
37 };
38
39 } // namespace chrome
40
41 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc ('k') | chrome/renderer/pepper/pepper_flash_fullscreen_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698