| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 bool should_replace_current_entry) override; | 137 bool should_replace_current_entry) override; |
| 138 void forwardInputEvent(const blink::WebInputEvent* event) override; | 138 void forwardInputEvent(const blink::WebInputEvent* event) override; |
| 139 void frameRectsChanged(const blink::WebRect& frame_rect) override; | 139 void frameRectsChanged(const blink::WebRect& frame_rect) override; |
| 140 void updateRemoteViewportIntersection( | 140 void updateRemoteViewportIntersection( |
| 141 const blink::WebRect& viewportIntersection) override; | 141 const blink::WebRect& viewportIntersection) override; |
| 142 void visibilityChanged(bool visible) override; | 142 void visibilityChanged(bool visible) override; |
| 143 void didChangeOpener(blink::WebFrame* opener) override; | 143 void didChangeOpener(blink::WebFrame* opener) override; |
| 144 void advanceFocus(blink::WebFocusType type, | 144 void advanceFocus(blink::WebFocusType type, |
| 145 blink::WebLocalFrame* source) override; | 145 blink::WebLocalFrame* source) override; |
| 146 void frameFocused() override; | 146 void frameFocused() override; |
| 147 int print(const blink::WebRect& rect, int page_num) override; |
| 147 | 148 |
| 148 // IPC handlers | 149 // IPC handlers |
| 149 void OnDidStartLoading(); | 150 void OnDidStartLoading(); |
| 150 | 151 |
| 151 private: | 152 private: |
| 152 RenderFrameProxy(int routing_id); | 153 RenderFrameProxy(int routing_id); |
| 153 | 154 |
| 154 void Init(blink::WebRemoteFrame* frame, | 155 void Init(blink::WebRemoteFrame* frame, |
| 155 RenderViewImpl* render_view, | 156 RenderViewImpl* render_view, |
| 156 RenderWidget* render_widget); | 157 RenderWidget* render_widget); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 194 |
| 194 RenderViewImpl* render_view_; | 195 RenderViewImpl* render_view_; |
| 195 RenderWidget* render_widget_; | 196 RenderWidget* render_widget_; |
| 196 | 197 |
| 197 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 198 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 198 }; | 199 }; |
| 199 | 200 |
| 200 } // namespace | 201 } // namespace |
| 201 | 202 |
| 202 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 203 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |