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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 void ForwardPostMessage(blink::WebLocalFrame* sourceFrame, | 133 void ForwardPostMessage(blink::WebLocalFrame* sourceFrame, |
134 blink::WebRemoteFrame* targetFrame, | 134 blink::WebRemoteFrame* targetFrame, |
135 blink::WebSecurityOrigin target, | 135 blink::WebSecurityOrigin target, |
136 blink::WebDOMMessageEvent event) override; | 136 blink::WebDOMMessageEvent event) override; |
137 void Navigate(const blink::WebURLRequest& request, | 137 void Navigate(const blink::WebURLRequest& request, |
138 bool should_replace_current_entry) override; | 138 bool should_replace_current_entry) 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 SetIsInert(bool) override; |
143 void DidChangeOpener(blink::WebFrame* opener) override; | 144 void DidChangeOpener(blink::WebFrame* opener) override; |
144 void AdvanceFocus(blink::WebFocusType type, | 145 void AdvanceFocus(blink::WebFocusType type, |
145 blink::WebLocalFrame* source) override; | 146 blink::WebLocalFrame* source) override; |
146 void FrameFocused() override; | 147 void FrameFocused() 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); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 198 |
198 RenderViewImpl* render_view_; | 199 RenderViewImpl* render_view_; |
199 RenderWidget* render_widget_; | 200 RenderWidget* render_widget_; |
200 | 201 |
201 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 202 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
202 }; | 203 }; |
203 | 204 |
204 } // namespace | 205 } // namespace |
205 | 206 |
206 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 207 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
OLD | NEW |