Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2506183002: Make window.open() IPCs be frame-based (Closed)
Patch Set: Rebase. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 // The focused node changed to |node|. If focus was lost from this frame, 299 // The focused node changed to |node|. If focus was lost from this frame,
300 // |node| will be null. 300 // |node| will be null.
301 void FocusedNodeChanged(const blink::WebNode& node); 301 void FocusedNodeChanged(const blink::WebNode& node);
302 302
303 // TODO(dmazzoni): the only reason this is here is to plumb it through to 303 // TODO(dmazzoni): the only reason this is here is to plumb it through to
304 // RenderAccessibilityImpl. It should use the RenderFrameObserver method, once 304 // RenderAccessibilityImpl. It should use the RenderFrameObserver method, once
305 // blink has a separate accessibility tree per frame. 305 // blink has a separate accessibility tree per frame.
306 void FocusedNodeChangedForAccessibility(const blink::WebNode& node); 306 void FocusedNodeChangedForAccessibility(const blink::WebNode& node);
307 307
308 // A RenderView opened by this RenderFrame needs to be shown.
309 void ShowCreatedWindow(bool opened_by_user_gesture,
310 RenderWidget* render_widget_to_show,
311 blink::WebNavigationPolicy policy,
312 const gfx::Rect& initial_rect);
313
308 // Called when this frame's widget is focused. 314 // Called when this frame's widget is focused.
309 void RenderWidgetSetFocus(bool enable); 315 void RenderWidgetSetFocus(bool enable);
310 316
311 // Called when the widget receives a mouse event. 317 // Called when the widget receives a mouse event.
312 void RenderWidgetWillHandleMouseEvent(); 318 void RenderWidgetWillHandleMouseEvent();
313 319
314 #if BUILDFLAG(ENABLE_PLUGINS) 320 #if BUILDFLAG(ENABLE_PLUGINS)
315 // Get/set the plugin which will be used to handle document find requests. 321 // Get/set the plugin which will be used to handle document find requests.
316 void set_plugin_find_handler(PepperPluginInstanceImpl* plugin) { 322 void set_plugin_find_handler(PepperPluginInstanceImpl* plugin) {
317 plugin_find_handler_ = plugin; 323 plugin_find_handler_ = plugin;
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 bool browser_side_navigation_pending_ = false; 1364 bool browser_side_navigation_pending_ = false;
1359 1365
1360 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1366 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1361 1367
1362 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1368 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1363 }; 1369 };
1364 1370
1365 } // namespace content 1371 } // namespace content
1366 1372
1367 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1373 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698