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

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

Issue 1642283002: Deal with frame removal by content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more runScriptsAtDocumentElementAvailable + comments Created 4 years, 9 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 void didFailProvisionalLoad(blink::WebLocalFrame* frame, 479 void didFailProvisionalLoad(blink::WebLocalFrame* frame,
480 const blink::WebURLError& error, 480 const blink::WebURLError& error,
481 blink::WebHistoryCommitType commit_type) override; 481 blink::WebHistoryCommitType commit_type) override;
482 void didCommitProvisionalLoad( 482 void didCommitProvisionalLoad(
483 blink::WebLocalFrame* frame, 483 blink::WebLocalFrame* frame,
484 const blink::WebHistoryItem& item, 484 const blink::WebHistoryItem& item,
485 blink::WebHistoryCommitType commit_type) override; 485 blink::WebHistoryCommitType commit_type) override;
486 void didCreateNewDocument(blink::WebLocalFrame* frame) override; 486 void didCreateNewDocument(blink::WebLocalFrame* frame) override;
487 void didClearWindowObject(blink::WebLocalFrame* frame) override; 487 void didClearWindowObject(blink::WebLocalFrame* frame) override;
488 void didCreateDocumentElement(blink::WebLocalFrame* frame) override; 488 void didCreateDocumentElement(blink::WebLocalFrame* frame) override;
489 void runScriptsAtDocumentElementAvailable(
490 blink::WebLocalFrame* frame) override;
489 void didReceiveTitle(blink::WebLocalFrame* frame, 491 void didReceiveTitle(blink::WebLocalFrame* frame,
490 const blink::WebString& title, 492 const blink::WebString& title,
491 blink::WebTextDirection direction) override; 493 blink::WebTextDirection direction) override;
492 void didChangeIcon(blink::WebLocalFrame* frame, 494 void didChangeIcon(blink::WebLocalFrame* frame,
493 blink::WebIconURL::Type icon_type) override; 495 blink::WebIconURL::Type icon_type) override;
494 void didFinishDocumentLoad(blink::WebLocalFrame* frame, 496 void didFinishDocumentLoad(blink::WebLocalFrame* frame,
495 bool document_is_empty) override; 497 bool document_is_empty) override;
498 void runScriptsAtDocumentReady(blink::WebLocalFrame* frame) override;
496 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override; 499 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override;
497 void didFailLoad(blink::WebLocalFrame* frame, 500 void didFailLoad(blink::WebLocalFrame* frame,
498 const blink::WebURLError& error, 501 const blink::WebURLError& error,
499 blink::WebHistoryCommitType commit_type) override; 502 blink::WebHistoryCommitType commit_type) override;
500 void didFinishLoad(blink::WebLocalFrame* frame) override; 503 void didFinishLoad(blink::WebLocalFrame* frame) override;
501 void didNavigateWithinPage(blink::WebLocalFrame* frame, 504 void didNavigateWithinPage(blink::WebLocalFrame* frame,
502 const blink::WebHistoryItem& item, 505 const blink::WebHistoryItem& item,
503 blink::WebHistoryCommitType commit_type) override; 506 blink::WebHistoryCommitType commit_type) override;
504 void didUpdateCurrentHistoryItem() override; 507 void didUpdateCurrentHistoryItem() override;
505 void didChangeThemeColor() override; 508 void didChangeThemeColor() override;
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 #endif 1204 #endif
1202 1205
1203 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1206 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1204 1207
1205 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1208 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1206 }; 1209 };
1207 1210
1208 } // namespace content 1211 } // namespace content
1209 1212
1210 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1213 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698