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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: comments addressed Created 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 const std::string& mime_type, 170 const std::string& mime_type,
171 const GURL& original_url) override; 171 const GURL& original_url) override;
172 void RecordRappor(const std::string& metric, 172 void RecordRappor(const std::string& metric,
173 const std::string& sample) override; 173 const std::string& sample) override;
174 void RecordRapporURL(const std::string& metric, const GURL& url) override; 174 void RecordRapporURL(const std::string& metric, const GURL& url) override;
175 void AddImageContextMenuProperties( 175 void AddImageContextMenuProperties(
176 const blink::WebURLResponse& response, 176 const blink::WebURLResponse& response,
177 std::map<std::string, std::string>* properties) override; 177 std::map<std::string, std::string>* properties) override;
178 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; 178 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override;
179 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; 179 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override;
180 void RunScriptsAtDocumentIdle(content::RenderFrame* render_frame) override;
180 void DidInitializeServiceWorkerContextOnWorkerThread( 181 void DidInitializeServiceWorkerContextOnWorkerThread(
181 v8::Local<v8::Context> context, 182 v8::Local<v8::Context> context,
182 int64_t service_worker_version_id, 183 int64_t service_worker_version_id,
183 const GURL& url) override; 184 const GURL& url) override;
184 void WillDestroyServiceWorkerContextOnWorkerThread( 185 void WillDestroyServiceWorkerContextOnWorkerThread(
185 v8::Local<v8::Context> context, 186 v8::Local<v8::Context> context,
186 int64_t service_worker_version_id, 187 int64_t service_worker_version_id,
187 const GURL& url) override; 188 const GURL& url) override;
188 bool ShouldEnforceWebRTCRoutingPreferences() override; 189 bool ShouldEnforceWebRTCRoutingPreferences() override;
189 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; 190 GURL OverrideFlashEmbedWithHTML(const GURL& url) override;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // Observes module load and unload events and notifies the ModuleDatabase in 268 // Observes module load and unload events and notifies the ModuleDatabase in
268 // the browser process. 269 // the browser process.
269 std::unique_ptr<ModuleWatcher> module_watcher_; 270 std::unique_ptr<ModuleWatcher> module_watcher_;
270 mojom::ModuleEventSinkPtr module_event_sink_; 271 mojom::ModuleEventSinkPtr module_event_sink_;
271 #endif 272 #endif
272 273
273 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); 274 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient);
274 }; 275 };
275 276
276 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 277 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/content_script_apitest.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698