- add sources.
[platform/framework/web/crosswalk.git] / src / content / public / browser / render_frame_host.h
1 // Copyright 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_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7
8 #include "content/common/content_export.h"
9 #include "ipc/ipc_listener.h"
10 #include "ipc/ipc_sender.h"
11
12 namespace content {
13
14 // The interface provides a communication conduit with a frame in the renderer.
15 class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
16                                        public IPC::Sender {
17  public:
18   virtual ~RenderFrameHost() {}
19
20  private:
21   // This interface should only be implemented inside content.
22   friend class RenderFrameHostImpl;
23   RenderFrameHost() {}
24 };
25
26 }  // namespace content
27
28 #endif  // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_