Index: content/public/renderer/render_frame.h |
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c8b16cf34097cc5106aa62c43ed00c878a3dfda |
--- /dev/null |
+++ b/content/public/renderer/render_frame.h |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ |
+#define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ |
+ |
+#include "content/common/content_export.h" |
+#include "ipc/ipc_listener.h" |
+#include "ipc/ipc_sender.h" |
+ |
+namespace content { |
+ |
+// This interface wraps functionality, which is specific to frames, such as |
+// navigation. It provides communication with a corresponding RenderFrameHost |
+// in the browser process. |
+class CONTENT_EXPORT RenderFrame : public IPC::Listener, |
+ public IPC::Sender { |
+ protected: |
+ virtual ~RenderFrame() {} |
+ |
+ private: |
+ // This interface should only be implemented inside content. |
+ friend class RenderFrameImpl; |
+ RenderFrame() {} |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ |