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

Unified Diff: content/public/browser/render_frame_host.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: Fixes based on initial feedback from Charlie. 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
Index: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
new file mode 100644
index 0000000000000000000000000000000000000000..a5290f373c02bad156928aa8168944cc8a8a1c92
--- /dev/null
+++ b/content/public/browser/render_frame_host.h
@@ -0,0 +1,27 @@
+// 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_BROWSER_RENDER_FRAME_HOST_H_
+#define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
+
+#include "content/common/content_export.h"
+#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
+
+namespace content {
+
+// The interface provides a communication conduit with a frame in the renderer.
+class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
+ public IPC::Sender {
+ public:
Charlie Reis 2013/05/30 18:26:59 Is this necessary when we don't have anything publ
nasko 2013/05/30 19:03:48 Done.
+
+ private:
+ // This interface should only be implemented inside content.
+ friend class RenderFrameHostImpl;
+ RenderFrameHost() {}
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698