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 #pragma once | |
8 | 7 |
9 #include "content/common/child_process.h" | 8 #include "content/common/child_process.h" |
10 #include "skia/ext/platform_canvas.h" | 9 #include "skia/ext/platform_canvas.h" |
11 | 10 |
12 class TransportDIB; | 11 class TransportDIB; |
13 | 12 |
14 namespace gfx { | 13 namespace gfx { |
15 class Rect; | 14 class Rect; |
16 } | 15 } |
17 | 16 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // be correct. | 59 // be correct. |
61 static RenderProcess* current() { | 60 static RenderProcess* current() { |
62 return static_cast<RenderProcess*>(ChildProcess::current()); | 61 return static_cast<RenderProcess*>(ChildProcess::current()); |
63 } | 62 } |
64 | 63 |
65 private: | 64 private: |
66 DISALLOW_COPY_AND_ASSIGN(RenderProcess); | 65 DISALLOW_COPY_AND_ASSIGN(RenderProcess); |
67 }; | 66 }; |
68 | 67 |
69 #endif // CONTENT_RENDERER_RENDER_PROCESS_H_ | 68 #endif // CONTENT_RENDERER_RENDER_PROCESS_H_ |
OLD | NEW |