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

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

Issue 26308002: Fix some WeakPtrFactory members that aren't last (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix weak ptr initialization Created 7 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 | Annotate | Revision Log
« no previous file with comments | « base/run_loop.cc ('k') | chrome/renderer/pepper/pepper_flash_renderer_host.cc » ('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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 int32_t OnDrawGlyphs(ppapi::host::HostMessageContext* host_context, 52 int32_t OnDrawGlyphs(ppapi::host::HostMessageContext* host_context,
53 ppapi::proxy::PPBFlash_DrawGlyphs_Params params); 53 ppapi::proxy::PPBFlash_DrawGlyphs_Params params);
54 int32_t OnNavigate(ppapi::host::HostMessageContext* host_context, 54 int32_t OnNavigate(ppapi::host::HostMessageContext* host_context,
55 const ppapi::URLRequestInfoData& data, 55 const ppapi::URLRequestInfoData& data,
56 const std::string& target, 56 const std::string& target,
57 bool from_user_action); 57 bool from_user_action);
58 int32_t OnIsRectTopmost(ppapi::host::HostMessageContext* host_context, 58 int32_t OnIsRectTopmost(ppapi::host::HostMessageContext* host_context,
59 const PP_Rect& rect); 59 const PP_Rect& rect);
60 int32_t OnInvokePrinting(ppapi::host::HostMessageContext* host_context); 60 int32_t OnInvokePrinting(ppapi::host::HostMessageContext* host_context);
61 61
62 base::WeakPtrFactory<PepperFlashRendererHost> weak_factory_;
63 // A stack of ReplyMessageContexts to track Navigate() calls which have not 62 // A stack of ReplyMessageContexts to track Navigate() calls which have not
64 // yet been replied to. 63 // yet been replied to.
65 std::vector<ppapi::host::ReplyMessageContext> navigate_replies_; 64 std::vector<ppapi::host::ReplyMessageContext> navigate_replies_;
66 65
67 content::RendererPpapiHost* host_; 66 content::RendererPpapiHost* host_;
67 base::WeakPtrFactory<PepperFlashRendererHost> weak_factory_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(PepperFlashRendererHost); 69 DISALLOW_COPY_AND_ASSIGN(PepperFlashRendererHost);
70 }; 70 };
71 71
72 } // namespace chrome 72 } // namespace chrome
73 73
74 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_ 74 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_RENDERER_HOST_H_
OLDNEW
« no previous file with comments | « base/run_loop.cc ('k') | chrome/renderer/pepper/pepper_flash_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698