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

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: Fixes based on initial feedback from Charlie. 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 friend class TestRenderViewHost;
Charlie Reis 2013/05/30 18:26:59 Doesn't look like we need this?
nasko 2013/05/30 19:03:48 Done.
33
34 RenderViewHostImpl* render_view_host_;
35
36 int routing_id_;
37
38 // Whether this RenderFrameHost is currently swapped out, such that the
39 // frame is being rendered by another process.
40 bool is_swapped_out_;
41
42 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
43 };
44
45 } // namespace content
46
47 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698