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

Side by Side Diff: content/renderer/render_frame_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
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "content/public/renderer/render_frame.h"
10 #include "ipc/ipc_message.h"
11
12 namespace content {
13
14 class RenderViewImpl;
15
16 class CONTENT_EXPORT RenderFrameImpl : public RenderFrame {
17 public:
18 RenderFrameImpl(RenderViewImpl* render_view, int routing_id);
19 virtual ~RenderFrameImpl();
20
21 // IPC::Sender
22 virtual bool Send(IPC::Message* msg) OVERRIDE;
23
24 // IPC::Listener
25 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
26
27 int routing_id() { return routing_id_; }
28
29 private:
30 RenderViewImpl* render_view_;
31 int routing_id_;
32
33 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
34 };
35
36 } // namespace content
37
38 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698