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/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 class WebThemeEngine; | 44 class WebThemeEngine; |
45 class WebURLRequest; | 45 class WebURLRequest; |
46 struct WebPluginParams; | 46 struct WebPluginParams; |
47 struct WebURLError; | 47 struct WebURLError; |
48 } | 48 } |
49 | 49 |
50 namespace webkit { | 50 namespace webkit { |
51 namespace ppapi { | 51 namespace ppapi { |
52 class PpapiInterfaceFactoryManager; | 52 class PpapiInterfaceFactoryManager; |
53 } | 53 } |
54 struct WebPluginInfo; | |
55 } | 54 } |
56 | 55 |
57 namespace content { | 56 namespace content { |
58 | 57 |
59 class RenderView; | 58 class RenderView; |
60 class SynchronousCompositor; | 59 class SynchronousCompositor; |
| 60 struct WebPluginInfo; |
61 | 61 |
62 // Embedder API for participating in renderer logic. | 62 // Embedder API for participating in renderer logic. |
63 class CONTENT_EXPORT ContentRendererClient { | 63 class CONTENT_EXPORT ContentRendererClient { |
64 public: | 64 public: |
65 virtual ~ContentRendererClient() {} | 65 virtual ~ContentRendererClient() {} |
66 | 66 |
67 // Notifies us that the RenderThread has been created. | 67 // Notifies us that the RenderThread has been created. |
68 virtual void RenderThreadStarted() {} | 68 virtual void RenderThreadStarted() {} |
69 | 69 |
70 // Notifies that a new RenderView has been created. | 70 // Notifies that a new RenderView has been created. |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // Returns whether BrowserPlugin should be allowed within the |container|. | 243 // Returns whether BrowserPlugin should be allowed within the |container|. |
244 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; | 244 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; |
245 | 245 |
246 // Returns true if the page at |url| can use Pepper MediaStream APIs. | 246 // Returns true if the page at |url| can use Pepper MediaStream APIs. |
247 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const; | 247 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const; |
248 }; | 248 }; |
249 | 249 |
250 } // namespace content | 250 } // namespace content |
251 | 251 |
252 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 252 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |