| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |