| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_PROCESS_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_PROCESS_H_ |
| 6 #define CHROME_RENDERER_RENDER_PROCESS_H_ | 6 #define CONTENT_RENDERER_RENDER_PROCESS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/common/child_process.h" | 9 #include "content/common/child_process.h" |
| 10 #include "skia/ext/platform_canvas.h" | 10 #include "skia/ext/platform_canvas.h" |
| 11 | 11 |
| 12 class TransportDIB; | 12 class TransportDIB; |
| 13 | 13 |
| 14 namespace gfx { | 14 namespace gfx { |
| 15 class Rect; | 15 class Rect; |
| 16 } | 16 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // we're actually a renderer or a renderer test, this static cast will | 54 // we're actually a renderer or a renderer test, this static cast will |
| 55 // be correct. | 55 // be correct. |
| 56 static RenderProcess* current() { | 56 static RenderProcess* current() { |
| 57 return static_cast<RenderProcess*>(ChildProcess::current()); | 57 return static_cast<RenderProcess*>(ChildProcess::current()); |
| 58 } | 58 } |
| 59 | 59 |
| 60 private: | 60 private: |
| 61 DISALLOW_COPY_AND_ASSIGN(RenderProcess); | 61 DISALLOW_COPY_AND_ASSIGN(RenderProcess); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 #endif // CHROME_RENDERER_RENDER_PROCESS_H_ | 64 #endif // CONTENT_RENDERER_RENDER_PROCESS_H_ |
| OLD | NEW |