Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_RENDER_FRAME_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 120 virtual void initializeChildFrame( | 120 virtual void initializeChildFrame( |
| 121 const blink::WebRect& frame_rect, | 121 const blink::WebRect& frame_rect, |
| 122 float scale_factor); | 122 float scale_factor); |
| 123 virtual void navigate(const blink::WebURLRequest& request, | 123 virtual void navigate(const blink::WebURLRequest& request, |
| 124 bool should_replace_current_entry); | 124 bool should_replace_current_entry); |
| 125 virtual void forwardInputEvent(const blink::WebInputEvent* event); | 125 virtual void forwardInputEvent(const blink::WebInputEvent* event); |
| 126 | 126 |
| 127 // IPC handlers | 127 // IPC handlers |
| 128 void OnDidStartLoading(); | 128 void OnDidStartLoading(); |
| 129 | 129 |
| 130 void SetWebRemoteFrame(blink::WebRemoteFrame* remote_frame); | |
|
Charlie Reis
2015/04/30 23:06:47
I don't yet understand why this needs to be expose
lazyboy
2015/05/05 07:28:15
As I'm using SwapOut, this isn't needed anymore, r
| |
| 131 | |
| 130 private: | 132 private: |
| 131 RenderFrameProxy(int routing_id, int frame_routing_id); | 133 RenderFrameProxy(int routing_id, int frame_routing_id); |
| 132 | 134 |
| 133 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); | 135 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); |
| 134 | 136 |
| 135 // IPC::Listener | 137 // IPC::Listener |
| 136 bool OnMessageReceived(const IPC::Message& msg) override; | 138 bool OnMessageReceived(const IPC::Message& msg) override; |
| 137 | 139 |
| 138 // IPC handlers | 140 // IPC handlers |
| 139 void OnDeleteProxy(); | 141 void OnDeleteProxy(); |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 157 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 159 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 158 | 160 |
| 159 RenderViewImpl* render_view_; | 161 RenderViewImpl* render_view_; |
| 160 | 162 |
| 161 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 163 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 162 }; | 164 }; |
| 163 | 165 |
| 164 } // namespace | 166 } // namespace |
| 165 | 167 |
| 166 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 168 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |