OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/weak_ptr.h" |
10 #include "base/message_loop_helpers.h" | 11 #include "base/message_loop_helpers.h" |
11 #include "content/common/gpu/gpu_process_launch_causes.h" | 12 #include "content/common/gpu/gpu_process_launch_causes.h" |
12 #include "content/public/browser/browser_message_filter.h" | 13 #include "content/public/browser/browser_message_filter.h" |
13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
14 | 15 |
15 class GpuProcessHost; | 16 class GpuProcessHost; |
16 struct GPUCreateCommandBufferConfig; | 17 struct GPUCreateCommandBufferConfig; |
17 class RenderWidgetHelper; | 18 class RenderWidgetHelper; |
18 | 19 |
19 namespace content { | 20 namespace content { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 55 |
55 int gpu_host_id_; | 56 int gpu_host_id_; |
56 int render_process_id_; | 57 int render_process_id_; |
57 | 58 |
58 scoped_refptr<RenderWidgetHelper> render_widget_helper_; | 59 scoped_refptr<RenderWidgetHelper> render_widget_helper_; |
59 | 60 |
60 DISALLOW_COPY_AND_ASSIGN(GpuMessageFilter); | 61 DISALLOW_COPY_AND_ASSIGN(GpuMessageFilter); |
61 }; | 62 }; |
62 | 63 |
63 #endif // CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ | 64 #endif // CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ |
OLD | NEW |