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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // corresponding functions in RenderProcessHost. See those declarations | 127 // corresponding functions in RenderProcessHost. See those declarations |
128 // for documentation. | 128 // for documentation. |
129 void ResumeDeferredNavigation(const GlobalRequestID& request_id); | 129 void ResumeDeferredNavigation(const GlobalRequestID& request_id); |
130 bool WaitForBackingStoreMsg(int render_widget_id, | 130 bool WaitForBackingStoreMsg(int render_widget_id, |
131 const base::TimeDelta& max_delay, | 131 const base::TimeDelta& max_delay, |
132 IPC::Message* msg); | 132 IPC::Message* msg); |
133 // Called to resume the requests for a view after it's ready. The view was | 133 // Called to resume the requests for a view after it's ready. The view was |
134 // created by CreateNewWindow which initially blocked the requests. | 134 // created by CreateNewWindow which initially blocked the requests. |
135 void ResumeRequestsForView(int route_id); | 135 void ResumeRequestsForView(int route_id); |
136 | 136 |
137 #if defined(OS_POSIX) && !defined(TOOLKIT_GTK) && !defined(OS_ANDROID) | 137 #if defined(OS_POSIX) && !defined(OS_ANDROID) |
138 // Given the id of a transport DIB, return a mapping to it or NULL on error. | 138 // Given the id of a transport DIB, return a mapping to it or NULL on error. |
139 TransportDIB* MapTransportDIB(TransportDIB::Id dib_id); | 139 TransportDIB* MapTransportDIB(TransportDIB::Id dib_id); |
140 #endif | 140 #endif |
141 | 141 |
142 // IO THREAD ONLY ----------------------------------------------------------- | 142 // IO THREAD ONLY ----------------------------------------------------------- |
143 | 143 |
144 // Called on the IO thread when a BackingStore message is received. | 144 // Called on the IO thread when a BackingStore message is received. |
145 void DidReceiveBackingStoreMsg(const IPC::Message& msg); | 145 void DidReceiveBackingStoreMsg(const IPC::Message& msg); |
146 | 146 |
147 void CreateNewWindow( | 147 void CreateNewWindow( |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 base::AtomicSequenceNumber next_routing_id_; | 242 base::AtomicSequenceNumber next_routing_id_; |
243 | 243 |
244 ResourceDispatcherHostImpl* resource_dispatcher_host_; | 244 ResourceDispatcherHostImpl* resource_dispatcher_host_; |
245 | 245 |
246 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); | 246 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); |
247 }; | 247 }; |
248 | 248 |
249 } // namespace content | 249 } // namespace content |
250 | 250 |
251 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ | 251 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ |
OLD | NEW |