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

Side by Side Diff: content/renderer/child_frame_compositing_helper.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 | « content/common/frame_messages.h ('k') | content/renderer/child_frame_compositing_helper.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_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 5 #ifndef CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
6 #define CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 6 #define CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void OnBuffersSwapped(const gfx::Size& size, 73 void OnBuffersSwapped(const gfx::Size& size,
74 const std::string& mailbox_name, 74 const std::string& mailbox_name,
75 int gpu_route_id, 75 int gpu_route_id,
76 int gpu_host_id, 76 int gpu_host_id,
77 float device_scale_factor); 77 float device_scale_factor);
78 void OnCompositorFrameSwapped(scoped_ptr<cc::CompositorFrame> frame, 78 void OnCompositorFrameSwapped(scoped_ptr<cc::CompositorFrame> frame,
79 int route_id, 79 int route_id,
80 uint32 output_surface_id, 80 uint32 output_surface_id,
81 int host_id); 81 int host_id);
82 void UpdateVisibility(bool); 82 void UpdateVisibility(bool);
83 void ChildFrameGone();
83 84
84 // cc::DelegatedFrameProviderClient implementation. 85 // cc::DelegatedFrameProviderClient implementation.
85 virtual void UnusedResourcesAreAvailable() OVERRIDE; 86 virtual void UnusedResourcesAreAvailable() OVERRIDE;
86 void SetContentsOpaque(bool); 87 void SetContentsOpaque(bool);
87 88
88 protected: 89 protected:
89 // Friend RefCounted so that the dtor can be non-public. 90 // Friend RefCounted so that the dtor can be non-public.
90 friend class base::RefCounted<ChildFrameCompositingHelper>; 91 friend class base::RefCounted<ChildFrameCompositingHelper>;
91 92
92 private: 93 private:
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 162
162 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; 163 scoped_refptr<BrowserPluginManager> browser_plugin_manager_;
163 RenderFrameImpl* render_frame_; 164 RenderFrameImpl* render_frame_;
164 165
165 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper); 166 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper);
166 }; 167 };
167 168
168 } // namespace content 169 } // namespace content
169 170
170 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 171 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/child_frame_compositing_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698