Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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_ |
| OLD | NEW |