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

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

Issue 26316005: Move out DidStartProvisionalLoad from WebContentsImpl into Navigator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NavigatorDelegate Created 7 years, 1 month 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 class RenderProcessHost;
15 class SiteInstance;
16
14 // The interface provides a communication conduit with a frame in the renderer. 17 // The interface provides a communication conduit with a frame in the renderer.
15 class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, 18 class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
16 public IPC::Sender { 19 public IPC::Sender {
17 public: 20 public:
18 virtual ~RenderFrameHost() {} 21 virtual ~RenderFrameHost() {}
19 22
23 virtual RenderProcessHost* GetProcess() const = 0;
Charlie Reis 2013/11/07 01:22:43 Do we need this? You can get the process from the
24
25 virtual SiteInstance* GetSiteInstance() const = 0;
26
20 private: 27 private:
21 // This interface should only be implemented inside content. 28 // This interface should only be implemented inside content.
22 friend class RenderFrameHostImpl; 29 friend class RenderFrameHostImpl;
23 RenderFrameHost() {} 30 RenderFrameHost() {}
24 }; 31 };
25 32
26 } // namespace content 33 } // namespace content
27 34
28 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 35 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« content/browser/web_contents/web_contents_impl.cc ('K') | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698