OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 | 293 |
294 // The focused node changed to |node|. If focus was lost from this frame, | 294 // The focused node changed to |node|. If focus was lost from this frame, |
295 // |node| will be null. | 295 // |node| will be null. |
296 void FocusedNodeChanged(const blink::WebNode& node); | 296 void FocusedNodeChanged(const blink::WebNode& node); |
297 | 297 |
298 // TODO(dmazzoni): the only reason this is here is to plumb it through to | 298 // TODO(dmazzoni): the only reason this is here is to plumb it through to |
299 // RenderAccessibilityImpl. It should use the RenderFrameObserver method, once | 299 // RenderAccessibilityImpl. It should use the RenderFrameObserver method, once |
300 // blink has a separate accessibility tree per frame. | 300 // blink has a separate accessibility tree per frame. |
301 void FocusedNodeChangedForAccessibility(const blink::WebNode& node); | 301 void FocusedNodeChangedForAccessibility(const blink::WebNode& node); |
302 | 302 |
| 303 // A RenderView opened by this RenderFrame needs to be shown. |
| 304 void ShowCreatedWindow(bool opened_by_user_gesture, |
| 305 RenderWidget* render_widget_to_show, |
| 306 blink::WebNavigationPolicy policy, |
| 307 const gfx::Rect& initial_rect); |
| 308 |
303 // Called when this frame's widget is focused. | 309 // Called when this frame's widget is focused. |
304 void RenderWidgetSetFocus(bool enable); | 310 void RenderWidgetSetFocus(bool enable); |
305 | 311 |
306 // Called when the widget receives a mouse event. | 312 // Called when the widget receives a mouse event. |
307 void RenderWidgetWillHandleMouseEvent(); | 313 void RenderWidgetWillHandleMouseEvent(); |
308 | 314 |
309 #if BUILDFLAG(ENABLE_PLUGINS) | 315 #if BUILDFLAG(ENABLE_PLUGINS) |
310 // Get/set the plugin which will be used to handle document find requests. | 316 // Get/set the plugin which will be used to handle document find requests. |
311 void set_plugin_find_handler(PepperPluginInstanceImpl* plugin) { | 317 void set_plugin_find_handler(PepperPluginInstanceImpl* plugin) { |
312 plugin_find_handler_ = plugin; | 318 plugin_find_handler_ = plugin; |
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1342 bool browser_side_navigation_pending_ = false; | 1348 bool browser_side_navigation_pending_ = false; |
1343 | 1349 |
1344 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1350 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1345 | 1351 |
1346 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1352 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1347 }; | 1353 }; |
1348 | 1354 |
1349 } // namespace content | 1355 } // namespace content |
1350 | 1356 |
1351 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1357 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |