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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 // Out-of-process child frames receive a signal from RenderWidgetCompositor | 92 // Out-of-process child frames receive a signal from RenderWidgetCompositor |
93 // when a compositor frame has committed. | 93 // when a compositor frame has committed. |
94 void DidCommitCompositorFrame(); | 94 void DidCommitCompositorFrame(); |
95 | 95 |
96 int routing_id() { return routing_id_; } | 96 int routing_id() { return routing_id_; } |
97 RenderViewImpl* render_view() { return render_view_; } | 97 RenderViewImpl* render_view() { return render_view_; } |
98 blink::WebRemoteFrame* web_frame() { return web_frame_; } | 98 blink::WebRemoteFrame* web_frame() { return web_frame_; } |
99 | 99 |
100 // blink::WebRemoteFrameClient implementation: | 100 // blink::WebRemoteFrameClient implementation: |
| 101 virtual void frameDetached(); |
101 virtual void postMessageEvent( | 102 virtual void postMessageEvent( |
102 blink::WebLocalFrame* sourceFrame, | 103 blink::WebLocalFrame* sourceFrame, |
103 blink::WebRemoteFrame* targetFrame, | 104 blink::WebRemoteFrame* targetFrame, |
104 blink::WebSecurityOrigin target, | 105 blink::WebSecurityOrigin target, |
105 blink::WebDOMMessageEvent event); | 106 blink::WebDOMMessageEvent event); |
106 virtual void initializeChildFrame( | 107 virtual void initializeChildFrame( |
107 const blink::WebRect& frame_rect, | 108 const blink::WebRect& frame_rect, |
108 float scale_factor); | 109 float scale_factor); |
109 virtual void navigate(const blink::WebURLRequest& request, | 110 virtual void navigate(const blink::WebURLRequest& request, |
110 bool should_replace_current_entry); | 111 bool should_replace_current_entry); |
(...skipping 25 matching lines...) Expand all Loading... |
136 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 137 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
137 | 138 |
138 RenderViewImpl* render_view_; | 139 RenderViewImpl* render_view_; |
139 | 140 |
140 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 141 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
141 }; | 142 }; |
142 | 143 |
143 } // namespace | 144 } // namespace |
144 | 145 |
145 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 146 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
OLD | NEW |