| 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 CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 class WebMediaStreamCenterClient; | 36 class WebMediaStreamCenterClient; |
| 37 class WebPlugin; | 37 class WebPlugin; |
| 38 class WebPluginContainer; | 38 class WebPluginContainer; |
| 39 class WebPrescientNetworking; | 39 class WebPrescientNetworking; |
| 40 class WebRTCPeerConnectionHandler; | 40 class WebRTCPeerConnectionHandler; |
| 41 class WebRTCPeerConnectionHandlerClient; | 41 class WebRTCPeerConnectionHandlerClient; |
| 42 class WebSpeechSynthesizer; | 42 class WebSpeechSynthesizer; |
| 43 class WebSpeechSynthesizerClient; | 43 class WebSpeechSynthesizerClient; |
| 44 class WebThemeEngine; | 44 class WebThemeEngine; |
| 45 class WebURLRequest; | 45 class WebURLRequest; |
| 46 class WebWorkerPermissionClientProxy; |
| 46 struct WebPluginParams; | 47 struct WebPluginParams; |
| 47 struct WebURLError; | 48 struct WebURLError; |
| 48 } | 49 } |
| 49 | 50 |
| 50 namespace content { | 51 namespace content { |
| 51 | 52 |
| 52 class RenderView; | 53 class RenderView; |
| 53 class SynchronousCompositor; | 54 class SynchronousCompositor; |
| 54 struct KeySystemInfo; | 55 struct KeySystemInfo; |
| 55 struct WebPluginInfo; | 56 struct WebPluginInfo; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 // trace) for console [logs|errors|exceptions]. |source| is the WebKit- | 259 // trace) for console [logs|errors|exceptions]. |source| is the WebKit- |
| 259 // reported source for the error; this can point to a page or a script, | 260 // reported source for the error; this can point to a page or a script, |
| 260 // and can be external or internal. | 261 // and can be external or internal. |
| 261 virtual bool ShouldReportDetailedMessageForSource( | 262 virtual bool ShouldReportDetailedMessageForSource( |
| 262 const base::string16& source) const; | 263 const base::string16& source) const; |
| 263 | 264 |
| 264 // Returns true if we should apply the cross-site document blocking policy to | 265 // Returns true if we should apply the cross-site document blocking policy to |
| 265 // this renderer process. Currently, we apply the policy only to a renderer | 266 // this renderer process. Currently, we apply the policy only to a renderer |
| 266 // process running on a normal page from the web. | 267 // process running on a normal page from the web. |
| 267 virtual bool ShouldEnableSiteIsolationPolicy() const; | 268 virtual bool ShouldEnableSiteIsolationPolicy() const; |
| 269 |
| 270 // Creates a permission client proxy for in-renderer worker. |
| 271 virtual WebKit::WebWorkerPermissionClientProxy* |
| 272 CreateWorkerPermissionClientProxy(RenderView* render_view, |
| 273 WebKit::WebFrame* frame); |
| 268 }; | 274 }; |
| 269 | 275 |
| 270 } // namespace content | 276 } // namespace content |
| 271 | 277 |
| 272 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 278 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |