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

Side by Side Diff: content/renderer/render_frame_impl.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
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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 319
320 // Functions to add and remove observers for this object. 320 // Functions to add and remove observers for this object.
321 void AddObserver(RenderFrameObserver* observer); 321 void AddObserver(RenderFrameObserver* observer);
322 void RemoveObserver(RenderFrameObserver* observer); 322 void RemoveObserver(RenderFrameObserver* observer);
323 323
324 // IPC message handlers ------------------------------------------------------ 324 // IPC message handlers ------------------------------------------------------
325 // 325 //
326 // The documentation for these functions should be in 326 // The documentation for these functions should be in
327 // content/common/*_messages.h for the message that the function is handling. 327 // content/common/*_messages.h for the message that the function is handling.
328 void OnSwapOut(); 328 void OnSwapOut();
329 void OnChildFrameProcessGone();
329 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params); 330 void OnBuffersSwapped(const FrameMsg_BuffersSwapped_Params& params);
330 void OnCompositorFrameSwapped(const IPC::Message& message); 331 void OnCompositorFrameSwapped(const IPC::Message& message);
331 332
332 // Stores the WebFrame we are associated with. 333 // Stores the WebFrame we are associated with.
333 blink::WebFrame* frame_; 334 blink::WebFrame* frame_;
334 335
335 base::WeakPtr<RenderViewImpl> render_view_; 336 base::WeakPtr<RenderViewImpl> render_view_;
336 int routing_id_; 337 int routing_id_;
337 bool is_swapped_out_; 338 bool is_swapped_out_;
338 bool is_detaching_; 339 bool is_detaching_;
(...skipping 10 matching lines...) Expand all
349 ObserverList<RenderFrameObserver> observers_; 350 ObserverList<RenderFrameObserver> observers_;
350 351
351 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; 352 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
352 353
353 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 354 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
354 }; 355 };
355 356
356 } // namespace content 357 } // namespace content
357 358
358 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 359 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/child_frame_compositing_helper.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698