| OLD | NEW |
| (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 |
| 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_ |
| OLD | NEW |