| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 static int32 RoutingIDForCurrentContext(); | 90 static int32 RoutingIDForCurrentContext(); |
| 91 | 91 |
| 92 // content::RenderThread implementation: | 92 // content::RenderThread implementation: |
| 93 virtual bool Send(IPC::Message* msg) OVERRIDE; | 93 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 94 virtual MessageLoop* GetMessageLoop() OVERRIDE; | 94 virtual MessageLoop* GetMessageLoop() OVERRIDE; |
| 95 virtual IPC::SyncChannel* GetChannel() OVERRIDE; | 95 virtual IPC::SyncChannel* GetChannel() OVERRIDE; |
| 96 virtual std::string GetLocale() OVERRIDE; | 96 virtual std::string GetLocale() OVERRIDE; |
| 97 virtual void AddRoute(int32 routing_id, | 97 virtual void AddRoute(int32 routing_id, |
| 98 IPC::Channel::Listener* listener) OVERRIDE; | 98 IPC::Channel::Listener* listener) OVERRIDE; |
| 99 virtual void RemoveRoute(int32 routing_id) OVERRIDE; | 99 virtual void RemoveRoute(int32 routing_id) OVERRIDE; |
| 100 virtual int GenerateRoutingID() OVERRIDE; |
| 100 virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; | 101 virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; |
| 101 virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; | 102 virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; |
| 102 virtual void SetOutgoingMessageFilter( | 103 virtual void SetOutgoingMessageFilter( |
| 103 IPC::ChannelProxy::OutgoingMessageFilter* filter) OVERRIDE; | 104 IPC::ChannelProxy::OutgoingMessageFilter* filter) OVERRIDE; |
| 104 virtual void AddObserver(content::RenderProcessObserver* observer) OVERRIDE; | 105 virtual void AddObserver(content::RenderProcessObserver* observer) OVERRIDE; |
| 105 virtual void RemoveObserver( | 106 virtual void RemoveObserver( |
| 106 content::RenderProcessObserver* observer) OVERRIDE; | 107 content::RenderProcessObserver* observer) OVERRIDE; |
| 107 virtual void SetResourceDispatcherDelegate( | 108 virtual void SetResourceDispatcherDelegate( |
| 108 content::ResourceDispatcherDelegate* delegate) OVERRIDE; | 109 content::ResourceDispatcherDelegate* delegate) OVERRIDE; |
| 109 virtual void WidgetHidden() OVERRIDE; | 110 virtual void WidgetHidden() OVERRIDE; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 std::set<std::string> v8_extensions_; | 237 std::set<std::string> v8_extensions_; |
| 237 | 238 |
| 238 scoped_ptr<CompositorThread> compositor_thread_; | 239 scoped_ptr<CompositorThread> compositor_thread_; |
| 239 | 240 |
| 240 ObserverList<content::RenderProcessObserver> observers_; | 241 ObserverList<content::RenderProcessObserver> observers_; |
| 241 | 242 |
| 242 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 243 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 243 }; | 244 }; |
| 244 | 245 |
| 245 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 246 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |