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

Side by Side Diff: content/browser/frame_host/cross_process_frame_connector.h

Issue 147023002: Notify parent frame renderer when OOP child frame renderer crashes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Iframe displays green rectangle on child frame crash Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/frame_host/cross_process_frame_connector.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 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_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
7 7
8 #include "cc/output/compositor_frame.h" 8 #include "cc/output/compositor_frame.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 explicit CrossProcessFrameConnector( 63 explicit CrossProcessFrameConnector(
64 RenderFrameHostImpl* frame_proxy_in_parent_renderer); 64 RenderFrameHostImpl* frame_proxy_in_parent_renderer);
65 virtual ~CrossProcessFrameConnector(); 65 virtual ~CrossProcessFrameConnector();
66 66
67 bool OnMessageReceived(const IPC::Message &msg); 67 bool OnMessageReceived(const IPC::Message &msg);
68 68
69 // |view| corresponds to B2's RenderWidgetHostViewChildFrame in the example 69 // |view| corresponds to B2's RenderWidgetHostViewChildFrame in the example
70 // above. 70 // above.
71 void set_view(RenderWidgetHostViewChildFrame* view); 71 void set_view(RenderWidgetHostViewChildFrame* view);
72 72
73 void RenderProcessGone();
74
73 // 'Platform' functionality exposed to RenderWidgetHostViewChildFrame. 75 // 'Platform' functionality exposed to RenderWidgetHostViewChildFrame.
74 // These methods can forward messages to the child frame proxy in the parent 76 // These methods can forward messages to the child frame proxy in the parent
75 // frame's renderer or attempt to handle them within the browser process. 77 // frame's renderer or attempt to handle them within the browser process.
76 void ChildFrameBuffersSwapped( 78 void ChildFrameBuffersSwapped(
77 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 79 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
78 int gpu_host_id); 80 int gpu_host_id);
79 81
80 void ChildFrameCompositorFrameSwapped(uint32 output_surface_id, 82 void ChildFrameCompositorFrameSwapped(uint32 output_surface_id,
81 int host_id, 83 int host_id,
82 int route_id, 84 int route_id,
(...skipping 19 matching lines...) Expand all
102 // The RenderWidgetHostView for the frame. Initially NULL. 104 // The RenderWidgetHostView for the frame. Initially NULL.
103 RenderWidgetHostViewChildFrame* view_; 105 RenderWidgetHostViewChildFrame* view_;
104 106
105 gfx::Rect child_frame_rect_; 107 gfx::Rect child_frame_rect_;
106 }; 108 };
107 109
108 } // namespace content 110 } // namespace content
109 111
110 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 112 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
111 113
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/cross_process_frame_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698