| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 bool IsPluginAllowedToUseDevChannelAPIs() override; | 162 bool IsPluginAllowedToUseDevChannelAPIs() override; |
| 163 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; | 163 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; |
| 164 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 164 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
| 165 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( | 165 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
| 166 content::RenderFrame* render_frame, | 166 content::RenderFrame* render_frame, |
| 167 const std::string& mime_type, | 167 const std::string& mime_type, |
| 168 const GURL& original_url) override; | 168 const GURL& original_url) override; |
| 169 void RecordRappor(const std::string& metric, | 169 void RecordRappor(const std::string& metric, |
| 170 const std::string& sample) override; | 170 const std::string& sample) override; |
| 171 void RecordRapporURL(const std::string& metric, const GURL& url) override; | 171 void RecordRapporURL(const std::string& metric, const GURL& url) override; |
| 172 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient( | |
| 173 content::RenderFrame* render_frame) override; | |
| 174 void AddImageContextMenuProperties( | 172 void AddImageContextMenuProperties( |
| 175 const blink::WebURLResponse& response, | 173 const blink::WebURLResponse& response, |
| 176 std::map<std::string, std::string>* properties) override; | 174 std::map<std::string, std::string>* properties) override; |
| 177 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; | 175 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; |
| 178 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; | 176 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; |
| 179 void DidInitializeServiceWorkerContextOnWorkerThread( | 177 void DidInitializeServiceWorkerContextOnWorkerThread( |
| 180 v8::Local<v8::Context> context, | 178 v8::Local<v8::Context> context, |
| 181 int64_t service_worker_version_id, | 179 int64_t service_worker_version_id, |
| 182 const GURL& url) override; | 180 const GURL& url) override; |
| 183 void WillDestroyServiceWorkerContextOnWorkerThread( | 181 void WillDestroyServiceWorkerContextOnWorkerThread( |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 #endif | 253 #endif |
| 256 | 254 |
| 257 #if defined(OS_CHROMEOS) | 255 #if defined(OS_CHROMEOS) |
| 258 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; | 256 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; |
| 259 #endif | 257 #endif |
| 260 | 258 |
| 261 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); | 259 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); |
| 262 }; | 260 }; |
| 263 | 261 |
| 264 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 262 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |