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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/atomic_sequence_num.h" | 10 #include "base/atomic_sequence_num.h" |
11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/process/process.h" | 13 #include "base/process/process.h" |
14 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
15 #include "content/public/browser/content_browser_client.h" | 15 #include "content/public/browser/content_browser_client.h" |
16 #include "content/public/browser/global_request_id.h" | 16 #include "content/public/browser/global_request_id.h" |
17 #include "content/public/common/window_container_type.h" | 17 #include "content/public/common/window_container_type.h" |
18 #include "third_party/WebKit/public/web/WebPopupType.h" | 18 #include "third_party/WebKit/public/web/WebPopupType.h" |
19 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
20 #include "ui/surface/transport_dib.h" | 20 #include "ui/surface/transport_dib.h" |
21 | 21 |
22 namespace IPC { | 22 namespace IPC { |
23 class Message; | 23 class Message; |
24 } | 24 } |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class TimeDelta; | 27 class TimeDelta; |
28 } | 28 } |
29 | 29 |
30 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; | |
31 struct ViewHostMsg_CreateWindow_Params; | 30 struct ViewHostMsg_CreateWindow_Params; |
32 struct ViewMsg_SwapOut_Params; | 31 struct ViewMsg_SwapOut_Params; |
33 | 32 |
34 namespace content { | 33 namespace content { |
35 class GpuProcessHost; | 34 class GpuProcessHost; |
36 class ResourceDispatcherHostImpl; | 35 class ResourceDispatcherHostImpl; |
37 class SessionStorageNamespace; | 36 class SessionStorageNamespace; |
38 | 37 |
39 // Instantiated per RenderProcessHost to provide various optimizations on | 38 // Instantiated per RenderProcessHost to provide various optimizations on |
40 // behalf of a RenderWidgetHost. This class bridges between the IO thread | 39 // behalf of a RenderWidgetHost. This class bridges between the IO thread |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 base::AtomicSequenceNumber next_routing_id_; | 179 base::AtomicSequenceNumber next_routing_id_; |
181 | 180 |
182 ResourceDispatcherHostImpl* resource_dispatcher_host_; | 181 ResourceDispatcherHostImpl* resource_dispatcher_host_; |
183 | 182 |
184 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); | 183 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); |
185 }; | 184 }; |
186 | 185 |
187 } // namespace content | 186 } // namespace content |
188 | 187 |
189 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ | 188 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ |
OLD | NEW |