Chromium Code Reviews| Index: content/renderer/renderer_blink_platform_impl.h |
| diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h |
| index 9d881bffbe0027d20161cac9aadab7e6c18f331d..f8f93cd6a5f4904bfe7975f0b287cae7e5daea40 100644 |
| --- a/content/renderer/renderer_blink_platform_impl.h |
| +++ b/content/renderer/renderer_blink_platform_impl.h |
| @@ -44,6 +44,7 @@ class PlatformEventObserverBase; |
| class QuotaMessageFilter; |
| class RendererClipboardClient; |
| class RenderView; |
| +class TaskQueueManager; |
| class ThreadSafeSender; |
| class WebClipboardImpl; |
| class WebDatabaseObserverImpl; |
| @@ -58,6 +59,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
| plugin_refresh_allowed_ = plugin_refresh_allowed; |
| } |
| // Platform methods: |
| + virtual void callOnMainThread(void (*func)(void*), void* context); |
|
alexclarke
2014/10/13 10:06:22
Personally I'm OK with a naked function pointer, b
Sami
2014/10/13 18:16:21
This is an existing function that's called from Bl
|
| virtual blink::WebClipboard* clipboard(); |
| virtual blink::WebMimeRegistry* mimeRegistry(); |
| virtual blink::WebFileUtilities* fileUtilities(); |
| @@ -181,6 +183,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
| return web_database_observer_impl_.get(); |
| } |
| + TaskQueueManager* task_queue_manager() { return task_queue_manager_.get(); } |
| + |
| private: |
| bool CheckPreparsedJsCachingEnabled() const; |
| @@ -193,6 +197,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
| // them to the registered listener. |
| void SendFakeDeviceEventDataForTesting(blink::WebPlatformEventType type); |
| + scoped_ptr<TaskQueueManager> task_queue_manager_; |
| + |
| scoped_ptr<RendererClipboardClient> clipboard_client_; |
| scoped_ptr<WebClipboardImpl> clipboard_; |