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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_PROCESS_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_PROCESS_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_PROCESS_IMPL_H_ |
7 | 7 |
8 #include "base/timer.h" | 8 #include "base/timer.h" |
9 #include "content/renderer/render_process.h" | 9 #include "content/renderer/render_process.h" |
10 | 10 |
11 namespace skia { | 11 namespace skia { |
12 class PlatformCanvas; | 12 class PlatformCanvas; |
13 } | 13 } |
14 | 14 |
| 15 namespace content { |
| 16 |
15 // Implementation of the RenderProcess interface for the regular browser. | 17 // Implementation of the RenderProcess interface for the regular browser. |
16 // See also MockRenderProcess which implements the active "RenderProcess" when | 18 // See also MockRenderProcess which implements the active "RenderProcess" when |
17 // running under certain unit tests. | 19 // running under certain unit tests. |
18 class RenderProcessImpl : public RenderProcess { | 20 class RenderProcessImpl : public RenderProcess { |
19 public: | 21 public: |
20 RenderProcessImpl(); | 22 RenderProcessImpl(); |
21 virtual ~RenderProcessImpl(); | 23 virtual ~RenderProcessImpl(); |
22 | 24 |
23 // RenderProcess implementation. | 25 // RenderProcess implementation. |
24 virtual skia::PlatformCanvas* GetDrawingCanvas( | 26 virtual skia::PlatformCanvas* GetDrawingCanvas( |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 69 |
68 bool in_process_plugins_; | 70 bool in_process_plugins_; |
69 | 71 |
70 // Bitwise-ORed set of extra bindings that have been enabled anywhere in this | 72 // Bitwise-ORed set of extra bindings that have been enabled anywhere in this |
71 // process. See BindingsPolicy for details. | 73 // process. See BindingsPolicy for details. |
72 int enabled_bindings_; | 74 int enabled_bindings_; |
73 | 75 |
74 DISALLOW_COPY_AND_ASSIGN(RenderProcessImpl); | 76 DISALLOW_COPY_AND_ASSIGN(RenderProcessImpl); |
75 }; | 77 }; |
76 | 78 |
| 79 } // namespace content |
| 80 |
77 #endif // CONTENT_RENDERER_RENDER_PROCESS_IMPL_H_ | 81 #endif // CONTENT_RENDERER_RENDER_PROCESS_IMPL_H_ |
OLD | NEW |