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 | 9 |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // Returns whether BrowserPlugin should be allowed within the |container|. | 228 // Returns whether BrowserPlugin should be allowed within the |container|. |
229 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; | 229 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; |
230 | 230 |
231 // Allow the embedder to specify a different renderer compositor MessageLoop. | 231 // Allow the embedder to specify a different renderer compositor MessageLoop. |
232 // If not NULL, the returned MessageLoop must be valid for the lifetime of | 232 // If not NULL, the returned MessageLoop must be valid for the lifetime of |
233 // RenderThreadImpl. If NULL, then a new thread will be created. | 233 // RenderThreadImpl. If NULL, then a new thread will be created. |
234 virtual base::MessageLoop* OverrideCompositorMessageLoop() const; | 234 virtual base::MessageLoop* OverrideCompositorMessageLoop() const; |
235 | 235 |
236 // Allow the embedder to disable input event filtering by the compositor. | 236 // Allow the embedder to disable input event filtering by the compositor. |
237 virtual bool ShouldCreateCompositorInputHandler() const; | 237 virtual bool ShouldCreateCompositorInputHandler() const; |
238 | |
239 // Check if we can allow RequestOSFileHandle API access for |url|. | |
240 virtual bool IsRequestOSFileHandleAllowedForURL(const GURL& url) const; | |
241 }; | 238 }; |
242 | 239 |
243 } // namespace content | 240 } // namespace content |
244 | 241 |
245 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 242 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |