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(OS_ANDROID) | |
138 // Given the id of a transport DIB, return a mapping to it or NULL on error. | |
139 TransportDIB* MapTransportDIB(TransportDIB::Id dib_id); | |
140 #endif | |
141 | |
142 // IO THREAD ONLY ----------------------------------------------------------- | 137 // IO THREAD ONLY ----------------------------------------------------------- |
143 | 138 |
144 // Called on the IO thread when a BackingStore message is received. | 139 // Called on the IO thread when a BackingStore message is received. |
145 void DidReceiveBackingStoreMsg(const IPC::Message& msg); | 140 void DidReceiveBackingStoreMsg(const IPC::Message& msg); |
146 | 141 |
147 void CreateNewWindow( | 142 void CreateNewWindow( |
148 const ViewHostMsg_CreateWindow_Params& params, | 143 const ViewHostMsg_CreateWindow_Params& params, |
149 bool no_javascript_access, | 144 bool no_javascript_access, |
150 base::ProcessHandle render_process, | 145 base::ProcessHandle render_process, |
151 int* route_id, | 146 int* route_id, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 base::AtomicSequenceNumber next_routing_id_; | 237 base::AtomicSequenceNumber next_routing_id_; |
243 | 238 |
244 ResourceDispatcherHostImpl* resource_dispatcher_host_; | 239 ResourceDispatcherHostImpl* resource_dispatcher_host_; |
245 | 240 |
246 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); | 241 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); |
247 }; | 242 }; |
248 | 243 |
249 } // namespace content | 244 } // namespace content |
250 | 245 |
251 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ | 246 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ |
OLD | NEW |