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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "base/atomic_sequence_num.h" | 12 #include "base/atomic_sequence_num.h" |
13 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/process/process.h" | 16 #include "base/process/process.h" |
17 #include "content/common/render_message_filter.mojom.h" | 17 #include "content/common/render_message_filter.mojom.h" |
18 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
19 #include "content/public/browser/content_browser_client.h" | 19 #include "content/public/browser/content_browser_client.h" |
20 #include "content/public/browser/global_request_id.h" | 20 #include "content/public/browser/global_request_id.h" |
21 #include "content/public/common/window_container_type.h" | 21 #include "content/public/common/window_container_type.h" |
22 #include "third_party/WebKit/public/web/WebPopupType.h" | 22 #include "third_party/WebKit/public/web/WebPopupType.h" |
23 #include "ui/gfx/native_widget_types.h" | 23 #include "ui/gfx/native_widget_types.h" |
24 | 24 |
25 namespace IPC { | 25 namespace IPC { |
26 class Message; | 26 class Message; |
27 } | 27 } |
28 | 28 |
29 namespace base { | |
30 class TimeDelta; | |
31 } | |
32 | |
33 namespace content { | 29 namespace content { |
34 class GpuProcessHost; | |
35 class ResourceDispatcherHostImpl; | 30 class ResourceDispatcherHostImpl; |
36 class SessionStorageNamespace; | 31 class SessionStorageNamespace; |
37 | 32 |
38 // Instantiated per RenderProcessHost to provide various optimizations on | 33 // Instantiated per RenderProcessHost to provide various optimizations on |
39 // behalf of a RenderWidgetHost. This class bridges between the IO thread | 34 // behalf of a RenderWidgetHost. This class bridges between the IO thread |
40 // where the RenderProcessHost's MessageFilter lives and the UI thread where | 35 // where the RenderProcessHost's MessageFilter lives and the UI thread where |
41 // the RenderWidgetHost lives. | 36 // the RenderWidgetHost lives. |
42 // | 37 // |
43 // | 38 // |
44 // OPTIMIZED TAB SWITCHING | 39 // OPTIMIZED TAB SWITCHING |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 base::AtomicSequenceNumber next_routing_id_; | 140 base::AtomicSequenceNumber next_routing_id_; |
146 | 141 |
147 ResourceDispatcherHostImpl* resource_dispatcher_host_; | 142 ResourceDispatcherHostImpl* resource_dispatcher_host_; |
148 | 143 |
149 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); | 144 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); |
150 }; | 145 }; |
151 | 146 |
152 } // namespace content | 147 } // namespace content |
153 | 148 |
154 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ | 149 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ |
OLD | NEW |