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

Side by Side Diff: trunk/src/content/public/renderer/render_thread.h

Issue 352013002: Revert 279557 "Support exposing Mojo services between render fra..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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
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_PUBLIC_RENDERER_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 33
34 namespace v8 { 34 namespace v8 {
35 class Extension; 35 class Extension;
36 } 36 }
37 37
38 namespace content { 38 namespace content {
39 39
40 class RenderProcessObserver; 40 class RenderProcessObserver;
41 class ResourceDispatcherDelegate; 41 class ResourceDispatcherDelegate;
42 class ServiceRegistry;
43 42
44 class CONTENT_EXPORT RenderThread : public IPC::Sender { 43 class CONTENT_EXPORT RenderThread : public IPC::Sender {
45 public: 44 public:
46 // Returns the one render thread for this process. Note that this can only 45 // Returns the one render thread for this process. Note that this can only
47 // be accessed when running on the render thread itself. 46 // be accessed when running on the render thread itself.
48 static RenderThread* Get(); 47 static RenderThread* Get();
49 48
50 RenderThread(); 49 RenderThread();
51 virtual ~RenderThread(); 50 virtual ~RenderThread();
52 51
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual base::WaitableEvent* GetShutdownEvent() = 0; 129 virtual base::WaitableEvent* GetShutdownEvent() = 0;
131 130
132 #if defined(OS_WIN) 131 #if defined(OS_WIN)
133 // Request that the given font be loaded by the browser so it's cached by the 132 // Request that the given font be loaded by the browser so it's cached by the
134 // OS. Please see ChildProcessHost::PreCacheFont for details. 133 // OS. Please see ChildProcessHost::PreCacheFont for details.
135 virtual void PreCacheFont(const LOGFONT& log_font) = 0; 134 virtual void PreCacheFont(const LOGFONT& log_font) = 0;
136 135
137 // Release cached font. 136 // Release cached font.
138 virtual void ReleaseCachedFonts() = 0; 137 virtual void ReleaseCachedFonts() = 0;
139 #endif 138 #endif
140
141 // Returns the ServiceRegistry for this thread.
142 virtual ServiceRegistry* GetServiceRegistry() = 0;
143 }; 139 };
144 140
145 } // namespace content 141 } // namespace content
146 142
147 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 143 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « trunk/src/content/public/renderer/render_frame.h ('k') | trunk/src/content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698