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 684143002: Invalidate the previous frame when the window object is cleared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use didCreateNewDocument notification 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 bool is_transition_navigation); 353 bool is_transition_navigation);
354 virtual void didReceiveServerRedirectForProvisionalLoad( 354 virtual void didReceiveServerRedirectForProvisionalLoad(
355 blink::WebLocalFrame* frame); 355 blink::WebLocalFrame* frame);
356 virtual void didFailProvisionalLoad( 356 virtual void didFailProvisionalLoad(
357 blink::WebLocalFrame* frame, 357 blink::WebLocalFrame* frame,
358 const blink::WebURLError& error); 358 const blink::WebURLError& error);
359 virtual void didCommitProvisionalLoad( 359 virtual void didCommitProvisionalLoad(
360 blink::WebLocalFrame* frame, 360 blink::WebLocalFrame* frame,
361 const blink::WebHistoryItem& item, 361 const blink::WebHistoryItem& item,
362 blink::WebHistoryCommitType commit_type); 362 blink::WebHistoryCommitType commit_type);
363 virtual void didCreateNewDocument(blink::WebLocalFrame* frame);
363 virtual void didClearWindowObject(blink::WebLocalFrame* frame); 364 virtual void didClearWindowObject(blink::WebLocalFrame* frame);
364 virtual void didCreateDocumentElement(blink::WebLocalFrame* frame); 365 virtual void didCreateDocumentElement(blink::WebLocalFrame* frame);
365 virtual void didReceiveTitle(blink::WebLocalFrame* frame, 366 virtual void didReceiveTitle(blink::WebLocalFrame* frame,
366 const blink::WebString& title, 367 const blink::WebString& title,
367 blink::WebTextDirection direction); 368 blink::WebTextDirection direction);
368 virtual void didChangeIcon(blink::WebLocalFrame* frame, 369 virtual void didChangeIcon(blink::WebLocalFrame* frame,
369 blink::WebIconURL::Type icon_type); 370 blink::WebIconURL::Type icon_type);
370 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame); 371 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame);
371 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame); 372 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame);
372 virtual void didFailLoad(blink::WebLocalFrame* frame, 373 virtual void didFailLoad(blink::WebLocalFrame* frame,
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 #endif 794 #endif
794 795
795 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 796 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
796 797
797 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 798 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
798 }; 799 };
799 800
800 } // namespace content 801 } // namespace content
801 802
802 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 803 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698