OLD | NEW |
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_PROCESS_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_PROCESS_H_ |
6 #define CONTENT_RENDERER_RENDER_PROCESS_H_ | 6 #define CONTENT_RENDERER_RENDER_PROCESS_H_ |
7 | 7 |
8 #include "content/child/child_process.h" | 8 #include "content/child/child_process.h" |
9 #include "skia/ext/platform_canvas.h" | |
10 | |
11 class TransportDIB; | |
12 | |
13 namespace gfx { | |
14 class Rect; | |
15 } | |
16 | 9 |
17 namespace content { | 10 namespace content { |
18 | 11 |
19 // A abstract interface representing the renderer end of the browser<->renderer | 12 // A abstract interface representing the renderer end of the browser<->renderer |
20 // connection. The opposite end is the RenderProcessHost. This is a singleton | 13 // connection. The opposite end is the RenderProcessHost. This is a singleton |
21 // object for each renderer. | 14 // object for each renderer. |
22 // | 15 // |
23 // RenderProcessImpl implements this interface for the regular browser. | 16 // RenderProcessImpl implements this interface for the regular browser. |
24 // MockRenderProcess implements this interface for certain tests, especially | 17 // MockRenderProcess implements this interface for certain tests, especially |
25 // ones derived from RenderViewTest. | 18 // ones derived from RenderViewTest. |
(...skipping 16 matching lines...) Expand all Loading... |
42 return static_cast<RenderProcess*>(ChildProcess::current()); | 35 return static_cast<RenderProcess*>(ChildProcess::current()); |
43 } | 36 } |
44 | 37 |
45 private: | 38 private: |
46 DISALLOW_COPY_AND_ASSIGN(RenderProcess); | 39 DISALLOW_COPY_AND_ASSIGN(RenderProcess); |
47 }; | 40 }; |
48 | 41 |
49 } // namespace content | 42 } // namespace content |
50 | 43 |
51 #endif // CONTENT_RENDERER_RENDER_PROCESS_H_ | 44 #endif // CONTENT_RENDERER_RENDER_PROCESS_H_ |
OLD | NEW |