| 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 { | |
| 26 class Message; | |
| 27 } | |
| 28 | |
| 29 namespace content { | 25 namespace content { |
| 30 class ResourceDispatcherHostImpl; | 26 class ResourceDispatcherHostImpl; |
| 31 class SessionStorageNamespace; | 27 class SessionStorageNamespace; |
| 32 | 28 |
| 33 // Instantiated per RenderProcessHost to provide various optimizations on | 29 // Instantiated per RenderProcessHost to provide various optimizations on |
| 34 // behalf of a RenderWidgetHost. This class bridges between the IO thread | 30 // behalf of a RenderWidgetHost. This class bridges between the IO thread |
| 35 // where the RenderProcessHost's MessageFilter lives and the UI thread where | 31 // where the RenderProcessHost's MessageFilter lives and the UI thread where |
| 36 // the RenderWidgetHost lives. | 32 // the RenderWidgetHost lives. |
| 37 // | 33 // |
| 38 // | 34 // |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 base::AtomicSequenceNumber next_routing_id_; | 136 base::AtomicSequenceNumber next_routing_id_; |
| 141 | 137 |
| 142 ResourceDispatcherHostImpl* resource_dispatcher_host_; | 138 ResourceDispatcherHostImpl* resource_dispatcher_host_; |
| 143 | 139 |
| 144 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); | 140 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); |
| 145 }; | 141 }; |
| 146 | 142 |
| 147 } // namespace content | 143 } // namespace content |
| 148 | 144 |
| 149 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ | 145 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ |
| OLD | NEW |