| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 virtual bool ShouldReportDetailedMessageForSource( | 251 virtual bool ShouldReportDetailedMessageForSource( |
| 252 const base::string16& source) const; | 252 const base::string16& source) const; |
| 253 | 253 |
| 254 // Returns true if we should apply the cross-site document blocking policy to | 254 // Returns true if we should apply the cross-site document blocking policy to |
| 255 // this renderer process. Currently, we apply the policy only to a renderer | 255 // this renderer process. Currently, we apply the policy only to a renderer |
| 256 // process running on a normal page from the web. | 256 // process running on a normal page from the web. |
| 257 virtual bool ShouldEnableSiteIsolationPolicy() const; | 257 virtual bool ShouldEnableSiteIsolationPolicy() const; |
| 258 | 258 |
| 259 // Creates a permission client proxy for in-renderer worker. | 259 // Creates a permission client proxy for in-renderer worker. |
| 260 virtual blink::WebWorkerPermissionClientProxy* | 260 virtual blink::WebWorkerPermissionClientProxy* |
| 261 CreateWorkerPermissionClientProxy(RenderView* render_view, | 261 CreateWorkerPermissionClientProxy(RenderFrame* render_frame, |
| 262 blink::WebFrame* frame); | 262 blink::WebFrame* frame); |
| 263 }; | 263 }; |
| 264 | 264 |
| 265 } // namespace content | 265 } // namespace content |
| 266 | 266 |
| 267 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 267 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |