| 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/macros.h" | 8 #include "base/macros.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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 void postMessageEvent(blink::WebLocalFrame* sourceFrame, | 125 void postMessageEvent(blink::WebLocalFrame* sourceFrame, |
| 126 blink::WebRemoteFrame* targetFrame, | 126 blink::WebRemoteFrame* targetFrame, |
| 127 blink::WebSecurityOrigin target, | 127 blink::WebSecurityOrigin target, |
| 128 blink::WebDOMMessageEvent event) override; | 128 blink::WebDOMMessageEvent event) override; |
| 129 void initializeChildFrame(const blink::WebRect& frame_rect, | 129 void initializeChildFrame(const blink::WebRect& frame_rect, |
| 130 float scale_factor) override; | 130 float scale_factor) override; |
| 131 void navigate(const blink::WebURLRequest& request, | 131 void navigate(const blink::WebURLRequest& request, |
| 132 bool should_replace_current_entry) override; | 132 bool should_replace_current_entry) override; |
| 133 void forwardInputEvent(const blink::WebInputEvent* event) override; | 133 void forwardInputEvent(const blink::WebInputEvent* event) override; |
| 134 void frameRectsChanged(const blink::WebRect& frame_rect) override; | 134 void frameRectsChanged(const blink::WebRect& frame_rect) override; |
| 135 void visibilityChanged(bool visible) override; |
| 135 void didChangeOpener(blink::WebFrame* opener) override; | 136 void didChangeOpener(blink::WebFrame* opener) override; |
| 136 void advanceFocus(blink::WebFocusType type, | 137 void advanceFocus(blink::WebFocusType type, |
| 137 blink::WebLocalFrame* source) override; | 138 blink::WebLocalFrame* source) override; |
| 138 void frameFocused() override; | 139 void frameFocused() override; |
| 139 | 140 |
| 140 // IPC handlers | 141 // IPC handlers |
| 141 void OnDidStartLoading(); | 142 void OnDidStartLoading(); |
| 142 | 143 |
| 143 private: | 144 private: |
| 144 RenderFrameProxy(int routing_id, int frame_routing_id); | 145 RenderFrameProxy(int routing_id, int frame_routing_id); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 179 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 179 | 180 |
| 180 RenderViewImpl* render_view_; | 181 RenderViewImpl* render_view_; |
| 181 | 182 |
| 182 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 183 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 183 }; | 184 }; |
| 184 | 185 |
| 185 } // namespace | 186 } // namespace |
| 186 | 187 |
| 187 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 188 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |