| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 didChangeOpener(blink::WebFrame* opener) override; | 135 void didChangeOpener(blink::WebFrame* opener) override; |
| 136 void advanceFocus(blink::WebFocusType type, | 136 void advanceFocus(blink::WebFocusType type, |
| 137 blink::WebLocalFrame* source) override; | 137 blink::WebLocalFrame* source) override; |
| 138 void frameFocused() override; | 138 void frameFocused() override; |
| 139 void triedDisplayingInsecureContent(const blink::WebSecurityOrigin&, |
| 140 const blink::WebURL&) override; |
| 141 void triedRunningInsecureContent(const blink::WebSecurityOrigin&, |
| 142 const blink::WebURL&) override; |
| 139 | 143 |
| 140 // IPC handlers | 144 // IPC handlers |
| 141 void OnDidStartLoading(); | 145 void OnDidStartLoading(); |
| 142 | 146 |
| 143 private: | 147 private: |
| 144 RenderFrameProxy(int routing_id, int frame_routing_id); | 148 RenderFrameProxy(int routing_id, int frame_routing_id); |
| 145 | 149 |
| 146 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); | 150 void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); |
| 147 | 151 |
| 148 // IPC::Listener | 152 // IPC::Listener |
| (...skipping 29 matching lines...) Expand all Loading... |
| 178 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 182 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 179 | 183 |
| 180 RenderViewImpl* render_view_; | 184 RenderViewImpl* render_view_; |
| 181 | 185 |
| 182 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 186 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 183 }; | 187 }; |
| 184 | 188 |
| 185 } // namespace | 189 } // namespace |
| 186 | 190 |
| 187 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 191 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |