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

Side by Side Diff: content/renderer/pepper/pepper_flash_renderer_host.h

Issue 11415140: Refactor 3 PPB_Flash functions 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 CONTENT_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
7
8 #include "base/basictypes.h"
9 #include "ppapi/host/host_message_context.h"
10 #include "ppapi/host/resource_host.h"
11
12 namespace content {
13
14 class RendererPpapiHost;
15
16 class PepperFlashRendererHost : public ppapi::host::ResourceHost {
17 public:
18 PepperFlashRendererHost(RendererPpapiHost* host,
19 PP_Instance instance,
20 PP_Resource resource);
21 virtual ~PepperFlashRendererHost();
22
23 virtual int32_t OnResourceMessageReceived(
victorhsieh 2012/11/28 07:09:50 ppapi::host::ResourceHost override.
raymes 2012/11/29 00:08:08 Done.
24 const IPC::Message& msg,
25 ppapi::host::HostMessageContext* context) OVERRIDE;
26
27 private:
28 int32_t OnMsgGetProxyForURL(ppapi::host::HostMessageContext* host_context,
29 const std::string& url);
30
31 DISALLOW_COPY_AND_ASSIGN(PepperFlashRendererHost);
32 };
33
34 } // namespace content
35
36 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698