| 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" |
| 11 #include "ipc/ipc_listener.h" | 11 #include "ipc/ipc_listener.h" |
| 12 #include "ipc/ipc_sender.h" | 12 #include "ipc/ipc_sender.h" |
| 13 #include "third_party/WebKit/public/platform/WebFocusType.h" | 13 #include "third_party/WebKit/public/platform/WebFocusType.h" |
| 14 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" | 14 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
| 15 #include "third_party/WebKit/public/web/WebRemoteFrame.h" | 15 #include "third_party/WebKit/public/web/WebRemoteFrame.h" |
| 16 #include "third_party/WebKit/public/web/WebRemoteFrameClient.h" | 16 #include "third_party/WebKit/public/web/WebRemoteFrameClient.h" |
| 17 #include "url/origin.h" | 17 #include "url/origin.h" |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 class WebInputEvent; | |
| 21 struct WebRect; | 20 struct WebRect; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace cc { | 23 namespace cc { |
| 25 class SurfaceInfo; | 24 class SurfaceInfo; |
| 26 struct SurfaceSequence; | 25 struct SurfaceSequence; |
| 27 } | 26 } |
| 28 | 27 |
| 29 namespace content { | 28 namespace content { |
| 30 | 29 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 RenderWidget* render_widget() { return render_widget_; } | 128 RenderWidget* render_widget() { return render_widget_; } |
| 130 | 129 |
| 131 // blink::WebRemoteFrameClient implementation: | 130 // blink::WebRemoteFrameClient implementation: |
| 132 void frameDetached(DetachType type) override; | 131 void frameDetached(DetachType type) override; |
| 133 void forwardPostMessage(blink::WebLocalFrame* sourceFrame, | 132 void forwardPostMessage(blink::WebLocalFrame* sourceFrame, |
| 134 blink::WebRemoteFrame* targetFrame, | 133 blink::WebRemoteFrame* targetFrame, |
| 135 blink::WebSecurityOrigin target, | 134 blink::WebSecurityOrigin target, |
| 136 blink::WebDOMMessageEvent event) override; | 135 blink::WebDOMMessageEvent event) override; |
| 137 void navigate(const blink::WebURLRequest& request, | 136 void navigate(const blink::WebURLRequest& request, |
| 138 bool should_replace_current_entry) override; | 137 bool should_replace_current_entry) override; |
| 139 void forwardInputEvent(const blink::WebInputEvent* event) override; | |
| 140 void frameRectsChanged(const blink::WebRect& frame_rect) override; | 138 void frameRectsChanged(const blink::WebRect& frame_rect) override; |
| 141 void updateRemoteViewportIntersection( | 139 void updateRemoteViewportIntersection( |
| 142 const blink::WebRect& viewportIntersection) override; | 140 const blink::WebRect& viewportIntersection) override; |
| 143 void visibilityChanged(bool visible) override; | 141 void visibilityChanged(bool visible) override; |
| 144 void didChangeOpener(blink::WebFrame* opener) override; | 142 void didChangeOpener(blink::WebFrame* opener) override; |
| 145 void advanceFocus(blink::WebFocusType type, | 143 void advanceFocus(blink::WebFocusType type, |
| 146 blink::WebLocalFrame* source) override; | 144 blink::WebLocalFrame* source) override; |
| 147 void frameFocused() override; | 145 void frameFocused() override; |
| 148 | 146 |
| 149 // IPC handlers | 147 // IPC handlers |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 193 |
| 196 RenderViewImpl* render_view_; | 194 RenderViewImpl* render_view_; |
| 197 RenderWidget* render_widget_; | 195 RenderWidget* render_widget_; |
| 198 | 196 |
| 199 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 197 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 200 }; | 198 }; |
| 201 | 199 |
| 202 } // namespace | 200 } // namespace |
| 203 | 201 |
| 204 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 202 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |