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

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/c/pp_bool.h"
11 #include "ppapi/host/resource_host.h"
12
13 namespace content {
14 class RendererPpapiHost;
15 }
16
17 namespace chrome {
18
19 class PepperFlashFullscreenHost : public ppapi::host::ResourceHost {
20 public:
21 PepperFlashFullscreenHost(
22 content::RendererPpapiHost* host,
brettw 2012/11/29 19:10:46 These should fit after the (
raymes 2012/11/29 20:07:36 Done.
23 PP_Instance instance,
24 PP_Resource resource);
25 virtual ~PepperFlashFullscreenHost();
26
27 virtual int32_t OnResourceMessageReceived(
28 const IPC::Message& msg,
29 ppapi::host::HostMessageContext* context) OVERRIDE;
30
31 private:
32 int32_t OnMsgSetFullscreen(ppapi::host::HostMessageContext* context,
33 PP_Bool fullscreen);
34
35 // Non-owning pointer.
36 content::RendererPpapiHost* renderer_ppapi_host_;
37
38 DISALLOW_COPY_AND_ASSIGN(PepperFlashFullscreenHost);
39 };
40
41 } // namespace chrome
42
43 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698