render_frame.h revision 868fa2fe829687343ffae624259930155e16dbd8
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_RENDERER_RENDER_FRAME_H_ 6#define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 7 8#include "content/common/content_export.h" 9#include "ipc/ipc_listener.h" 10#include "ipc/ipc_sender.h" 11 12namespace content { 13 14// This interface wraps functionality, which is specific to frames, such as 15// navigation. It provides communication with a corresponding RenderFrameHost 16// in the browser process. 17class CONTENT_EXPORT RenderFrame : public IPC::Listener, 18 public IPC::Sender { 19 protected: 20 virtual ~RenderFrame() {} 21 22 private: 23 // This interface should only be implemented inside content. 24 friend class RenderFrameImpl; 25 RenderFrame() {} 26}; 27 28} // namespace content 29 30#endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 31