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

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

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: Inject document_idle scripts before window.onload Created 3 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
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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 void runScriptsAtDocumentElementAvailable( 565 void runScriptsAtDocumentElementAvailable(
566 blink::WebLocalFrame* frame) override; 566 blink::WebLocalFrame* frame) override;
567 void didReceiveTitle(blink::WebLocalFrame* frame, 567 void didReceiveTitle(blink::WebLocalFrame* frame,
568 const blink::WebString& title, 568 const blink::WebString& title,
569 blink::WebTextDirection direction) override; 569 blink::WebTextDirection direction) override;
570 void didChangeIcon(blink::WebLocalFrame* frame, 570 void didChangeIcon(blink::WebLocalFrame* frame,
571 blink::WebIconURL::Type icon_type) override; 571 blink::WebIconURL::Type icon_type) override;
572 void didFinishDocumentLoad(blink::WebLocalFrame* frame) override; 572 void didFinishDocumentLoad(blink::WebLocalFrame* frame) override;
573 void runScriptsAtDocumentReady(blink::WebLocalFrame* frame, 573 void runScriptsAtDocumentReady(blink::WebLocalFrame* frame,
574 bool document_is_empty) override; 574 bool document_is_empty) override;
575 void runScriptsAtDocumentIdle(blink::WebLocalFrame* frame) override;
575 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override; 576 void didHandleOnloadEvents(blink::WebLocalFrame* frame) override;
576 void didFailLoad(blink::WebLocalFrame* frame, 577 void didFailLoad(blink::WebLocalFrame* frame,
577 const blink::WebURLError& error, 578 const blink::WebURLError& error,
578 blink::WebHistoryCommitType commit_type) override; 579 blink::WebHistoryCommitType commit_type) override;
579 void didFinishLoad(blink::WebLocalFrame* frame) override; 580 void didFinishLoad(blink::WebLocalFrame* frame) override;
580 void didNavigateWithinPage(blink::WebLocalFrame* frame, 581 void didNavigateWithinPage(blink::WebLocalFrame* frame,
581 const blink::WebHistoryItem& item, 582 const blink::WebHistoryItem& item,
582 blink::WebHistoryCommitType commit_type, 583 blink::WebHistoryCommitType commit_type,
583 bool content_initiated) override; 584 bool content_initiated) override;
584 void didUpdateCurrentHistoryItem() override; 585 void didUpdateCurrentHistoryItem() override;
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 int enabled_bindings_ = 0; 1385 int enabled_bindings_ = 0;
1385 1386
1386 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1387 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1387 1388
1388 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1389 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1389 }; 1390 };
1390 1391
1391 } // namespace content 1392 } // namespace content
1392 1393
1393 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1394 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698