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

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

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 years, 6 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
OLDNEW
(Empty)
1 // Copyright (c) 2013 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_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_IMPL_H_
7
8 #include "base/compiler_specific.h"
9 #include "content/public/browser/render_frame_host.h"
10
11 namespace content {
12
13 class RenderViewHostImpl;
14
15 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
16 public:
17 RenderFrameHostImpl(
18 RenderViewHostImpl* render_view_host,
19 int routing_id,
20 bool swapped_out);
21 virtual ~RenderFrameHostImpl();
22
23 // IPC::Sender
24 virtual bool Send(IPC::Message* msg) OVERRIDE;
25
26 // IPC::Listener
27 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
28
29 int routing_id() { return routing_id_; }
30
31 private:
32 RenderViewHostImpl* render_view_host_;
33
34 int routing_id_;
35
36 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
37 };
38
39 } // namespace content
40
41 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698