Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 245443005: Move IPC::MessageFilter and router to a separate file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gn build Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/p2p/socket_dispatcher.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/memory_pressure_listener.h" 12 #include "base/memory/memory_pressure_listener.h"
13 #include "base/metrics/user_metrics_action.h" 13 #include "base/metrics/user_metrics_action.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/threading/thread_checker.h" 16 #include "base/threading/thread_checker.h"
17 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "content/child/child_thread.h" 19 #include "content/child/child_thread.h"
20 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
21 #include "content/common/gpu/client/gpu_channel_host.h" 21 #include "content/common/gpu/client/gpu_channel_host.h"
22 #include "content/public/renderer/render_thread.h" 22 #include "content/public/renderer/render_thread.h"
23 #include "ipc/ipc_channel_proxy.h"
24 #include "ui/gfx/native_widget_types.h" 23 #include "ui/gfx/native_widget_types.h"
25 24
26 #if defined(OS_MACOSX) 25 #if defined(OS_MACOSX)
27 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" 26 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
28 #endif 27 #endif
29 28
30 class GrContext; 29 class GrContext;
31 class SkBitmap; 30 class SkBitmap;
32 struct ViewMsg_New_Params; 31 struct ViewMsg_New_Params;
33 struct WorkerProcessMsg_CreateWorker_Params; 32 struct WorkerProcessMsg_CreateWorker_Params;
34 33
35 namespace blink { 34 namespace blink {
36 class WebGamepads; 35 class WebGamepads;
37 class WebGraphicsContext3D; 36 class WebGraphicsContext3D;
38 class WebMediaStreamCenter; 37 class WebMediaStreamCenter;
39 class WebMediaStreamCenterClient; 38 class WebMediaStreamCenterClient;
40 } 39 }
41 40
42 namespace base { 41 namespace base {
43 class MessageLoopProxy; 42 class MessageLoopProxy;
44 class Thread; 43 class Thread;
45 } 44 }
46 45
47 namespace cc { 46 namespace cc {
48 class ContextProvider; 47 class ContextProvider;
49 } 48 }
50 49
51 namespace IPC { 50 namespace IPC {
52 class ForwardingMessageFilter; 51 class ForwardingMessageFilter;
52 class MessageFilter;
53 } 53 }
54 54
55 namespace media { 55 namespace media {
56 class AudioHardwareConfig; 56 class AudioHardwareConfig;
57 class GpuVideoAcceleratorFactories; 57 class GpuVideoAcceleratorFactories;
58 } 58 }
59 59
60 namespace v8 { 60 namespace v8 {
61 class Extension; 61 class Extension;
62 } 62 }
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual bool Send(IPC::Message* msg) OVERRIDE; 129 virtual bool Send(IPC::Message* msg) OVERRIDE;
130 virtual base::MessageLoop* GetMessageLoop() OVERRIDE; 130 virtual base::MessageLoop* GetMessageLoop() OVERRIDE;
131 virtual IPC::SyncChannel* GetChannel() OVERRIDE; 131 virtual IPC::SyncChannel* GetChannel() OVERRIDE;
132 virtual std::string GetLocale() OVERRIDE; 132 virtual std::string GetLocale() OVERRIDE;
133 virtual IPC::SyncMessageFilter* GetSyncMessageFilter() OVERRIDE; 133 virtual IPC::SyncMessageFilter* GetSyncMessageFilter() OVERRIDE;
134 virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() 134 virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy()
135 OVERRIDE; 135 OVERRIDE;
136 virtual void AddRoute(int32 routing_id, IPC::Listener* listener) OVERRIDE; 136 virtual void AddRoute(int32 routing_id, IPC::Listener* listener) OVERRIDE;
137 virtual void RemoveRoute(int32 routing_id) OVERRIDE; 137 virtual void RemoveRoute(int32 routing_id) OVERRIDE;
138 virtual int GenerateRoutingID() OVERRIDE; 138 virtual int GenerateRoutingID() OVERRIDE;
139 virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; 139 virtual void AddFilter(IPC::MessageFilter* filter) OVERRIDE;
140 virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; 140 virtual void RemoveFilter(IPC::MessageFilter* filter) OVERRIDE;
141 virtual void AddObserver(RenderProcessObserver* observer) OVERRIDE; 141 virtual void AddObserver(RenderProcessObserver* observer) OVERRIDE;
142 virtual void RemoveObserver(RenderProcessObserver* observer) OVERRIDE; 142 virtual void RemoveObserver(RenderProcessObserver* observer) OVERRIDE;
143 virtual void SetResourceDispatcherDelegate( 143 virtual void SetResourceDispatcherDelegate(
144 ResourceDispatcherDelegate* delegate) OVERRIDE; 144 ResourceDispatcherDelegate* delegate) OVERRIDE;
145 virtual void EnsureWebKitInitialized() OVERRIDE; 145 virtual void EnsureWebKitInitialized() OVERRIDE;
146 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; 146 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE;
147 virtual void RecordComputedAction(const std::string& action) OVERRIDE; 147 virtual void RecordComputedAction(const std::string& action) OVERRIDE;
148 virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( 148 virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer(
149 size_t buffer_size) OVERRIDE; 149 size_t buffer_size) OVERRIDE;
150 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; 150 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE;
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 bool is_low_res_tiling_enabled_; 541 bool is_low_res_tiling_enabled_;
542 bool is_lcd_text_enabled_; 542 bool is_lcd_text_enabled_;
543 bool is_map_image_enabled_; 543 bool is_map_image_enabled_;
544 544
545 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 545 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
546 }; 546 };
547 547
548 } // namespace content 548 } // namespace content
549 549
550 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 550 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/p2p/socket_dispatcher.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698