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

Unified Diff: content/public/renderer/render_frame.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: Removing routing ID expectations. Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/web_contents.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/public/browser/web_contents.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698