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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "ipc/ipc_listener.h" 9 #include "ipc/ipc_listener.h"
10 #include "ipc/ipc_sender.h" 10 #include "ipc/ipc_sender.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // The interface provides a communication conduit with a frame in the renderer. 14 // The interface provides a communication conduit with a frame in the renderer.
15 class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, 15 class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
16 public IPC::Sender { 16 public IPC::Sender {
17 public: 17 public:
18 virtual ~RenderFrameHost() {} 18 virtual ~RenderFrameHost() {}
19 19
20 // Returns the route id for this frame.
21 virtual int GetRoutingID() = 0;
22
20 private: 23 private:
21 // This interface should only be implemented inside content. 24 // This interface should only be implemented inside content.
22 friend class RenderFrameHostImpl; 25 friend class RenderFrameHostImpl;
23 RenderFrameHost() {} 26 RenderFrameHost() {}
24 }; 27 };
25 28
26 } // namespace content 29 } // namespace content
27 30
28 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 31 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/plugin_service_filter.h ('k') | content/public/browser/resource_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698