| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 // blink::WebRemoteFrameClient implementation: | 96 // blink::WebRemoteFrameClient implementation: |
| 97 virtual void postMessageEvent( | 97 virtual void postMessageEvent( |
| 98 blink::WebLocalFrame* sourceFrame, | 98 blink::WebLocalFrame* sourceFrame, |
| 99 blink::WebRemoteFrame* targetFrame, | 99 blink::WebRemoteFrame* targetFrame, |
| 100 blink::WebSecurityOrigin target, | 100 blink::WebSecurityOrigin target, |
| 101 blink::WebDOMMessageEvent event); | 101 blink::WebDOMMessageEvent event); |
| 102 virtual void initializeChildFrame( | 102 virtual void initializeChildFrame( |
| 103 const blink::WebRect& frame_rect, | 103 const blink::WebRect& frame_rect, |
| 104 float scale_factor); | 104 float scale_factor); |
| 105 virtual void navigate(const blink::WebURLRequest& request, |
| 106 bool should_replace_current_entry); |
| 105 | 107 |
| 106 private: | 108 private: |
| 107 RenderFrameProxy(int routing_id, int frame_routing_id); | 109 RenderFrameProxy(int routing_id, int frame_routing_id); |
| 108 | 110 |
| 109 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); | 111 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); |
| 110 | 112 |
| 111 // IPC::Listener | 113 // IPC::Listener |
| 112 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 114 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 113 | 115 |
| 114 // IPC handlers | 116 // IPC handlers |
| (...skipping 14 matching lines...) Expand all Loading... |
| 129 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 131 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 130 | 132 |
| 131 RenderViewImpl* render_view_; | 133 RenderViewImpl* render_view_; |
| 132 | 134 |
| 133 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 135 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 134 }; | 136 }; |
| 135 | 137 |
| 136 } // namespace | 138 } // namespace |
| 137 | 139 |
| 138 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 140 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |