| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 void initializeChildFrame(float scale_factor) override; | 134 void initializeChildFrame(float scale_factor) override; |
| 135 void navigate(const blink::WebURLRequest& request, | 135 void navigate(const blink::WebURLRequest& request, |
| 136 bool should_replace_current_entry) override; | 136 bool should_replace_current_entry) override; |
| 137 void forwardInputEvent(const blink::WebInputEvent* event) override; | 137 void forwardInputEvent(const blink::WebInputEvent* event) override; |
| 138 void frameRectsChanged(const blink::WebRect& frame_rect) override; | 138 void frameRectsChanged(const blink::WebRect& frame_rect) override; |
| 139 void visibilityChanged(bool visible) override; | 139 void visibilityChanged(bool visible) override; |
| 140 void didChangeOpener(blink::WebFrame* opener) override; | 140 void didChangeOpener(blink::WebFrame* opener) override; |
| 141 void advanceFocus(blink::WebFocusType type, | 141 void advanceFocus(blink::WebFocusType type, |
| 142 blink::WebLocalFrame* source) override; | 142 blink::WebLocalFrame* source) override; |
| 143 void frameFocused() override; | 143 void frameFocused() override; |
| 144 void forwardContentSecurityPolicyViolation( |
| 145 const blink::WebString& directiveText, |
| 146 const blink::WebString& effectiveDirective, |
| 147 const blink::WebString& consoleMessage, |
| 148 const blink::WebURL& blockedURL, |
| 149 const blink::WebVector<blink::WebString>& reportEndpoints, |
| 150 const blink::WebString& header, |
| 151 blink::WebContentSecurityPolicyViolationType, |
| 152 bool followedRedirect, |
| 153 int contextLine) override; |
| 144 | 154 |
| 145 // IPC handlers | 155 // IPC handlers |
| 146 void OnDidStartLoading(); | 156 void OnDidStartLoading(); |
| 147 | 157 |
| 148 private: | 158 private: |
| 149 RenderFrameProxy(int routing_id, int frame_routing_id); | 159 RenderFrameProxy(int routing_id, int frame_routing_id); |
| 150 | 160 |
| 151 void Init(blink::WebRemoteFrame* frame, | 161 void Init(blink::WebRemoteFrame* frame, |
| 152 RenderViewImpl* render_view, | 162 RenderViewImpl* render_view, |
| 153 RenderWidget* render_widget); | 163 RenderWidget* render_widget); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 201 |
| 192 RenderViewImpl* render_view_; | 202 RenderViewImpl* render_view_; |
| 193 RenderWidget* render_widget_; | 203 RenderWidget* render_widget_; |
| 194 | 204 |
| 195 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 205 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 196 }; | 206 }; |
| 197 | 207 |
| 198 } // namespace | 208 } // namespace |
| 199 | 209 |
| 200 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 210 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |