| 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_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 static void RegisterSchemes(); | 92 static void RegisterSchemes(); |
| 93 | 93 |
| 94 // content::RenderThread implementation: | 94 // content::RenderThread implementation: |
| 95 virtual bool Send(IPC::Message* msg) OVERRIDE; | 95 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 96 virtual MessageLoop* GetMessageLoop() OVERRIDE; | 96 virtual MessageLoop* GetMessageLoop() OVERRIDE; |
| 97 virtual IPC::SyncChannel* GetChannel() OVERRIDE; | 97 virtual IPC::SyncChannel* GetChannel() OVERRIDE; |
| 98 virtual std::string GetLocale() OVERRIDE; | 98 virtual std::string GetLocale() OVERRIDE; |
| 99 virtual IPC::SyncMessageFilter* GetSyncMessageFilter() OVERRIDE; | 99 virtual IPC::SyncMessageFilter* GetSyncMessageFilter() OVERRIDE; |
| 100 virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() | 100 virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() |
| 101 OVERRIDE; | 101 OVERRIDE; |
| 102 virtual void AddRoute(int32 routing_id, | 102 virtual void AddRoute(int32 routing_id, IPC::Listener* listener) OVERRIDE; |
| 103 IPC::Channel::Listener* listener) OVERRIDE; | |
| 104 virtual void RemoveRoute(int32 routing_id) OVERRIDE; | 103 virtual void RemoveRoute(int32 routing_id) OVERRIDE; |
| 105 virtual int GenerateRoutingID() OVERRIDE; | 104 virtual int GenerateRoutingID() OVERRIDE; |
| 106 virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; | 105 virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; |
| 107 virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; | 106 virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; |
| 108 virtual void SetOutgoingMessageFilter( | 107 virtual void SetOutgoingMessageFilter( |
| 109 IPC::ChannelProxy::OutgoingMessageFilter* filter) OVERRIDE; | 108 IPC::ChannelProxy::OutgoingMessageFilter* filter) OVERRIDE; |
| 110 virtual void AddObserver(content::RenderProcessObserver* observer) OVERRIDE; | 109 virtual void AddObserver(content::RenderProcessObserver* observer) OVERRIDE; |
| 111 virtual void RemoveObserver( | 110 virtual void RemoveObserver( |
| 112 content::RenderProcessObserver* observer) OVERRIDE; | 111 content::RenderProcessObserver* observer) OVERRIDE; |
| 113 virtual void SetResourceDispatcherDelegate( | 112 virtual void SetResourceDispatcherDelegate( |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 bool compositor_initialized_; | 290 bool compositor_initialized_; |
| 292 scoped_ptr<CompositorThread> compositor_thread_; | 291 scoped_ptr<CompositorThread> compositor_thread_; |
| 293 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; | 292 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; |
| 294 | 293 |
| 295 ObserverList<content::RenderProcessObserver> observers_; | 294 ObserverList<content::RenderProcessObserver> observers_; |
| 296 | 295 |
| 297 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 296 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 298 }; | 297 }; |
| 299 | 298 |
| 300 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 299 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |