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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 12 matching lines...) Expand all
23 class RenderFrameHostDelegate; 23 class RenderFrameHostDelegate;
24 class RenderProcessHost; 24 class RenderProcessHost;
25 class RenderViewHostImpl; 25 class RenderViewHostImpl;
26 26
27 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost { 27 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
28 public: 28 public:
29 static RenderFrameHostImpl* FromID(int process_id, int routing_id); 29 static RenderFrameHostImpl* FromID(int process_id, int routing_id);
30 30
31 virtual ~RenderFrameHostImpl(); 31 virtual ~RenderFrameHostImpl();
32 32
33 // RenderFrameHost
34 virtual int GetRoutingID() OVERRIDE;
35
33 // IPC::Sender 36 // IPC::Sender
34 virtual bool Send(IPC::Message* msg) OVERRIDE; 37 virtual bool Send(IPC::Message* msg) OVERRIDE;
35 38
36 // IPC::Listener 39 // IPC::Listener
37 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 40 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
38 41
39 void Init(); 42 void Init();
40 RenderProcessHost* GetProcess() const; 43 RenderProcessHost* GetProcess() const;
41 int routing_id() const { return routing_id_; } 44 int routing_id() const { return routing_id_; }
42 void OnCreateChildFrame(int new_frame_routing_id, 45 void OnCreateChildFrame(int new_frame_routing_id,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 FrameTree* frame_tree_; 86 FrameTree* frame_tree_;
84 int routing_id_; 87 int routing_id_;
85 bool is_swapped_out_; 88 bool is_swapped_out_;
86 89
87 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 90 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
88 }; 91 };
89 92
90 } // namespace content 93 } // namespace content
91 94
92 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 95 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698