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

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

Issue 663333002: Standardize usage of virtual/override/final in chrome/renderer/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « chrome/renderer/pepper/pepper_flash_menu_host.h ('k') | chrome/renderer/pepper/pepper_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_ 5 #ifndef CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_ 6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 namespace content { 28 namespace content {
29 class RendererPpapiHost; 29 class RendererPpapiHost;
30 } 30 }
31 31
32 class PepperFlashRendererHost : public ppapi::host::ResourceHost { 32 class PepperFlashRendererHost : public ppapi::host::ResourceHost {
33 public: 33 public:
34 PepperFlashRendererHost(content::RendererPpapiHost* host, 34 PepperFlashRendererHost(content::RendererPpapiHost* host,
35 PP_Instance instance, 35 PP_Instance instance,
36 PP_Resource resource); 36 PP_Resource resource);
37 virtual ~PepperFlashRendererHost(); 37 ~PepperFlashRendererHost() override;
38 38
39 // ppapi::host::ResourceHost override. 39 // ppapi::host::ResourceHost override.
40 virtual int32_t OnResourceMessageReceived( 40 int32_t OnResourceMessageReceived(
41 const IPC::Message& msg, 41 const IPC::Message& msg,
42 ppapi::host::HostMessageContext* context) override; 42 ppapi::host::HostMessageContext* context) override;
43 43
44 private: 44 private:
45 int32_t OnGetProxyForURL(ppapi::host::HostMessageContext* host_context, 45 int32_t OnGetProxyForURL(ppapi::host::HostMessageContext* host_context,
46 const std::string& url); 46 const std::string& url);
47 int32_t OnSetInstanceAlwaysOnTop( 47 int32_t OnSetInstanceAlwaysOnTop(
48 ppapi::host::HostMessageContext* host_context, 48 ppapi::host::HostMessageContext* host_context,
49 bool on_top); 49 bool on_top);
50 int32_t OnDrawGlyphs(ppapi::host::HostMessageContext* host_context, 50 int32_t OnDrawGlyphs(ppapi::host::HostMessageContext* host_context,
(...skipping 10 matching lines...) Expand all
61 // yet been replied to. 61 // yet been replied to.
62 std::vector<ppapi::host::ReplyMessageContext> navigate_replies_; 62 std::vector<ppapi::host::ReplyMessageContext> navigate_replies_;
63 63
64 content::RendererPpapiHost* host_; 64 content::RendererPpapiHost* host_;
65 base::WeakPtrFactory<PepperFlashRendererHost> weak_factory_; 65 base::WeakPtrFactory<PepperFlashRendererHost> weak_factory_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(PepperFlashRendererHost); 67 DISALLOW_COPY_AND_ASSIGN(PepperFlashRendererHost);
68 }; 68 };
69 69
70 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_ 70 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/pepper_flash_menu_host.h ('k') | chrome/renderer/pepper/pepper_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698