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

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

Issue 10073023: TabContents -> WebContentsImpl, part 14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/dom_automation_controller.h ('k') | content/renderer/render_view_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 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 60
61 namespace v8 { 61 namespace v8 {
62 class Extension; 62 class Extension;
63 } 63 }
64 64
65 // The RenderThreadImpl class represents a background thread where RenderView 65 // The RenderThreadImpl class represents a background thread where RenderView
66 // instances live. The RenderThread supports an API that is used by its 66 // instances live. The RenderThread supports an API that is used by its
67 // consumer to talk indirectly to the RenderViews and supporting objects. 67 // consumer to talk indirectly to the RenderViews and supporting objects.
68 // Likewise, it provides an API for the RenderViews to talk back to the main 68 // Likewise, it provides an API for the RenderViews to talk back to the main
69 // process (i.e., their corresponding TabContents). 69 // process (i.e., their corresponding WebContentsImpl).
70 // 70 //
71 // Most of the communication occurs in the form of IPC messages. They are 71 // Most of the communication occurs in the form of IPC messages. They are
72 // routed to the RenderThread according to the routing IDs of the messages. 72 // routed to the RenderThread according to the routing IDs of the messages.
73 // The routing IDs correspond to RenderView instances. 73 // The routing IDs correspond to RenderView instances.
74 class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread, 74 class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread,
75 public ChildThread, 75 public ChildThread,
76 public GpuChannelHostFactory { 76 public GpuChannelHostFactory {
77 public: 77 public:
78 static RenderThreadImpl* current(); 78 static RenderThreadImpl* current();
79 79
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 bool compositor_initialized_; 275 bool compositor_initialized_;
276 scoped_ptr<CompositorThread> compositor_thread_; 276 scoped_ptr<CompositorThread> compositor_thread_;
277 277
278 ObserverList<content::RenderProcessObserver> observers_; 278 ObserverList<content::RenderProcessObserver> observers_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 280 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
281 }; 281 };
282 282
283 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 283 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/dom_automation_controller.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698