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

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: 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_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
Charlie Reis 2013/05/30 18:26:59 nit: Remove extra blank line.
nasko 2013/05/30 19:03:48 Done.
17 class CONTENT_EXPORT RenderFrameImpl : public RenderFrame {
18 public:
19 RenderFrameImpl(RenderViewImpl* render_view, int routing_id);
20 virtual ~RenderFrameImpl();
21
22 // IPC::Sender
23 virtual bool Send(IPC::Message* msg) OVERRIDE;
24
25 // IPC::Listener
26 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
27
28 int routing_id() { return routing_id_; }
29
30 private:
31 RenderViewImpl* render_view_;
32 int routing_id_;
33
34 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
35 };
36
37 } // namespace content
38
39 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698