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

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

Issue 8081014: Initialize and set compositor thread in WebKit initialization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: initialize WebThreadImpl directly Created 9 years, 2 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 | « no previous file | content/renderer/render_thread.cc » ('j') | content/renderer/render_thread.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class MessageLoopProxy; 49 class MessageLoopProxy;
50 class Thread; 50 class Thread;
51 } 51 }
52 52
53 namespace IPC { 53 namespace IPC {
54 struct ChannelHandle; 54 struct ChannelHandle;
55 } 55 }
56 56
57 namespace WebKit { 57 namespace WebKit {
58 class WebStorageEventDispatcher; 58 class WebStorageEventDispatcher;
59 class WebThread;
59 } 60 }
60 61
61 namespace v8 { 62 namespace v8 {
62 class Extension; 63 class Extension;
63 } 64 }
64 65
65 // The RenderThreadBase is the minimal interface that a RenderView/Widget 66 // The RenderThreadBase is the minimal interface that a RenderView/Widget
66 // expects from a render thread. The interface basically abstracts a way to send 67 // expects from a render thread. The interface basically abstracts a way to send
67 // and receive messages. 68 // and receive messages.
68 // 69 //
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 270
270 // The channel from the renderer process to the GPU process. 271 // The channel from the renderer process to the GPU process.
271 scoped_refptr<GpuChannelHost> gpu_channel_; 272 scoped_refptr<GpuChannelHost> gpu_channel_;
272 273
273 // A lazily initiated thread on which file operations are run. 274 // A lazily initiated thread on which file operations are run.
274 scoped_ptr<base::Thread> file_thread_; 275 scoped_ptr<base::Thread> file_thread_;
275 276
276 // Map of registered v8 extensions. The key is the extension name. 277 // Map of registered v8 extensions. The key is the extension name.
277 std::set<std::string> v8_extensions_; 278 std::set<std::string> v8_extensions_;
278 279
280 scoped_ptr<WebKit::WebThread> compositor_thread_;
darin (slow to review) 2011/09/30 06:05:15 This may be better as a WebThreadImpl since we'll
281
279 ObserverList<RenderProcessObserver> observers_; 282 ObserverList<RenderProcessObserver> observers_;
280 283
281 DISALLOW_COPY_AND_ASSIGN(RenderThread); 284 DISALLOW_COPY_AND_ASSIGN(RenderThread);
282 }; 285 };
283 286
284 #endif // CONTENT_RENDERER_RENDER_THREAD_H_ 287 #endif // CONTENT_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_thread.cc » ('j') | content/renderer/render_thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698