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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 121 virtual void initializeChildFrame( | 121 virtual void initializeChildFrame( |
| 122 const blink::WebRect& frame_rect, | 122 const blink::WebRect& frame_rect, |
| 123 float scale_factor); | 123 float scale_factor); |
| 124 virtual void navigate(const blink::WebURLRequest& request, | 124 virtual void navigate(const blink::WebURLRequest& request, |
| 125 bool should_replace_current_entry); | 125 bool should_replace_current_entry); |
| 126 virtual void forwardInputEvent(const blink::WebInputEvent* event); | 126 virtual void forwardInputEvent(const blink::WebInputEvent* event); |
| 127 | 127 |
| 128 // IPC handlers | 128 // IPC handlers |
| 129 void OnDidStartLoading(); | 129 void OnDidStartLoading(); |
| 130 | 130 |
| 131 void SetWebRemoteFrame(blink::WebRemoteFrame* remote_frame); | |
|
nasko
2015/05/05 21:34:50
Why is this needed? I don't see any callers of thi
lazyboy
2015/05/05 22:33:53
Forgot to revert this one.
Done.
| |
| 132 | |
| 131 private: | 133 private: |
| 132 RenderFrameProxy(int routing_id, int frame_routing_id); | 134 RenderFrameProxy(int routing_id, int frame_routing_id); |
| 133 | 135 |
| 134 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); | 136 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); |
| 135 | 137 |
| 136 // IPC::Listener | 138 // IPC::Listener |
| 137 bool OnMessageReceived(const IPC::Message& msg) override; | 139 bool OnMessageReceived(const IPC::Message& msg) override; |
| 138 | 140 |
| 139 // IPC handlers | 141 // IPC handlers |
| 140 void OnDeleteProxy(); | 142 void OnDeleteProxy(); |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 159 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 161 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 160 | 162 |
| 161 RenderViewImpl* render_view_; | 163 RenderViewImpl* render_view_; |
| 162 | 164 |
| 163 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 165 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 164 }; | 166 }; |
| 165 | 167 |
| 166 } // namespace | 168 } // namespace |
| 167 | 169 |
| 168 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 170 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |