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

Side by Side Diff: content/public/renderer/render_frame.h

Issue 137463002: RenderFrame: flesh out Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Bridge OnStop Created 6 years, 10 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 unified diff | Download patch
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_RENDERER_RENDER_FRAME_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_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"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 blink::WebFrame* frame, 70 blink::WebFrame* frame,
71 const WebPluginInfo& info, 71 const WebPluginInfo& info,
72 const blink::WebPluginParams& params) = 0; 72 const blink::WebPluginParams& params) = 0;
73 73
74 // The client should handle the navigation externally. 74 // The client should handle the navigation externally.
75 virtual void LoadURLExternally( 75 virtual void LoadURLExternally(
76 blink::WebFrame* frame, 76 blink::WebFrame* frame,
77 const blink::WebURLRequest& request, 77 const blink::WebURLRequest& request,
78 blink::WebNavigationPolicy policy) = 0; 78 blink::WebNavigationPolicy policy) = 0;
79 79
80 // OnStop notification from RenderView.
81 virtual void OnStop() = 0;
nasko 2014/01/28 20:41:39 This doesn't need to be public, it is just an IPC
Elly Fong-Jones 2014/01/28 21:34:20 Yes it does - it is not a "real" IPC endpoint but
82
80 protected: 83 protected:
81 virtual ~RenderFrame() {} 84 virtual ~RenderFrame() {}
82 85
83 private: 86 private:
84 // This interface should only be implemented inside content. 87 // This interface should only be implemented inside content.
85 friend class RenderFrameImpl; 88 friend class RenderFrameImpl;
86 RenderFrame() {} 89 RenderFrame() {}
87 }; 90 };
88 91
89 } // namespace content 92 } // namespace content
90 93
91 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 94 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698