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

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

Issue 684143002: Invalidate the previous frame when the window object is cleared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK_EQ(frame_, frame) -> DCHECK again Created 6 years, 1 month 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
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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 bool is_transition_navigation); 358 bool is_transition_navigation);
359 virtual void didReceiveServerRedirectForProvisionalLoad( 359 virtual void didReceiveServerRedirectForProvisionalLoad(
360 blink::WebLocalFrame* frame); 360 blink::WebLocalFrame* frame);
361 virtual void didFailProvisionalLoad( 361 virtual void didFailProvisionalLoad(
362 blink::WebLocalFrame* frame, 362 blink::WebLocalFrame* frame,
363 const blink::WebURLError& error); 363 const blink::WebURLError& error);
364 virtual void didCommitProvisionalLoad( 364 virtual void didCommitProvisionalLoad(
365 blink::WebLocalFrame* frame, 365 blink::WebLocalFrame* frame,
366 const blink::WebHistoryItem& item, 366 const blink::WebHistoryItem& item,
367 blink::WebHistoryCommitType commit_type); 367 blink::WebHistoryCommitType commit_type);
368 virtual void didCreateNewDocument(blink::WebLocalFrame* frame);
368 virtual void didClearWindowObject(blink::WebLocalFrame* frame); 369 virtual void didClearWindowObject(blink::WebLocalFrame* frame);
369 virtual void didCreateDocumentElement(blink::WebLocalFrame* frame); 370 virtual void didCreateDocumentElement(blink::WebLocalFrame* frame);
370 virtual void didReceiveTitle(blink::WebLocalFrame* frame, 371 virtual void didReceiveTitle(blink::WebLocalFrame* frame,
371 const blink::WebString& title, 372 const blink::WebString& title,
372 blink::WebTextDirection direction); 373 blink::WebTextDirection direction);
373 virtual void didChangeIcon(blink::WebLocalFrame* frame, 374 virtual void didChangeIcon(blink::WebLocalFrame* frame,
374 blink::WebIconURL::Type icon_type); 375 blink::WebIconURL::Type icon_type);
375 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame); 376 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame);
376 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame); 377 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame);
377 virtual void didFailLoad(blink::WebLocalFrame* frame, 378 virtual void didFailLoad(blink::WebLocalFrame* frame,
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 #endif 807 #endif
807 808
808 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 809 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
809 810
810 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 811 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
811 }; 812 };
812 813
813 } // namespace content 814 } // namespace content
814 815
815 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 816 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698