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

Side by Side Diff: extensions/renderer/extension_frame_helper.h

Issue 2661743002: PlzNavigate: Invoke didStartProvisionalLoad() when the renderer initiates a navigation in startLoad( (Closed)
Patch Set: Remove CHECK for redirect chain as the redirects may not be populated for provisional loads for ren… 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | extensions/renderer/extension_frame_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_ 5 #ifndef EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
6 #define EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_ 6 #define EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void ScheduleAtDocumentEnd(const base::Closure& callback); 83 void ScheduleAtDocumentEnd(const base::Closure& callback);
84 84
85 private: 85 private:
86 // RenderFrameObserver implementation. 86 // RenderFrameObserver implementation.
87 void DidCreateDocumentElement() override; 87 void DidCreateDocumentElement() override;
88 void DidCreateNewDocument() override; 88 void DidCreateNewDocument() override;
89 void DidMatchCSS( 89 void DidMatchCSS(
90 const blink::WebVector<blink::WebString>& newly_matching_selectors, 90 const blink::WebVector<blink::WebString>& newly_matching_selectors,
91 const blink::WebVector<blink::WebString>& stopped_matching_selectors) 91 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
92 override; 92 override;
93 void DidStartProvisionalLoad() override; 93 void DidStartProvisionalLoad(blink::WebDataSource* data_source) override;
94 void DidCreateScriptContext(v8::Local<v8::Context>, 94 void DidCreateScriptContext(v8::Local<v8::Context>,
95 int world_id) override; 95 int world_id) override;
96 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override; 96 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override;
97 bool OnMessageReceived(const IPC::Message& message) override; 97 bool OnMessageReceived(const IPC::Message& message) override;
98 void OnDestruct() override; 98 void OnDestruct() override;
99 99
100 // IPC handlers. 100 // IPC handlers.
101 void OnExtensionValidateMessagePort(const PortId& id); 101 void OnExtensionValidateMessagePort(const PortId& id);
102 void OnExtensionDispatchOnConnect( 102 void OnExtensionDispatchOnConnect(
103 const PortId& target_port_id, 103 const PortId& target_port_id,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 bool delayed_main_world_script_initialization_ = false; 144 bool delayed_main_world_script_initialization_ = false;
145 145
146 base::WeakPtrFactory<ExtensionFrameHelper> weak_ptr_factory_; 146 base::WeakPtrFactory<ExtensionFrameHelper> weak_ptr_factory_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(ExtensionFrameHelper); 148 DISALLOW_COPY_AND_ASSIGN(ExtensionFrameHelper);
149 }; 149 };
150 150
151 } // namespace extensions 151 } // namespace extensions
152 152
153 #endif // EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_ 153 #endif // EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | extensions/renderer/extension_frame_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698