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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 int32 width, | 217 int32 width, |
218 int32 height, | 218 int32 height, |
219 TransportDIB::Handle transport_dib) = 0; | 219 TransportDIB::Handle transport_dib) = 0; |
220 #endif | 220 #endif |
221 | 221 |
222 #if defined(USE_AURA) | 222 #if defined(USE_AURA) |
223 virtual void AcceleratedSurfaceNew( | 223 virtual void AcceleratedSurfaceNew( |
224 int32 width_in_pixel, | 224 int32 width_in_pixel, |
225 int32 height_in_pixel, | 225 int32 height_in_pixel, |
226 uint64* surface_id, | 226 uint64* surface_id, |
227 TransportDIB::Handle* surface_handle) = 0; | 227 TransportDIB::Handle* surface_handle, |
| 228 int32 route_id, |
| 229 int gpu_host_id) = 0; |
228 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; | 230 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; |
| 231 virtual void AcceleratedSurfaceRequestReleaseFront(uint64 surface_id, |
| 232 int request_id, |
| 233 int retry_count, |
| 234 int32 route_id, |
| 235 int gpu_host_id) = 0; |
229 #endif | 236 #endif |
230 | 237 |
231 #if defined(TOOLKIT_GTK) | 238 #if defined(TOOLKIT_GTK) |
232 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 239 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
233 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 240 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
234 #endif // defined(TOOLKIT_GTK) | 241 #endif // defined(TOOLKIT_GTK) |
235 | 242 |
236 #if defined(OS_WIN) && !defined(USE_AURA) | 243 #if defined(OS_WIN) && !defined(USE_AURA) |
237 virtual void WillWmDestroy() = 0; | 244 virtual void WillWmDestroy() = 0; |
238 #endif | 245 #endif |
(...skipping 27 matching lines...) Expand all Loading... |
266 virtual BrowserAccessibilityManager* | 273 virtual BrowserAccessibilityManager* |
267 GetBrowserAccessibilityManager() const = 0; | 274 GetBrowserAccessibilityManager() const = 0; |
268 virtual void OnAccessibilityNotifications( | 275 virtual void OnAccessibilityNotifications( |
269 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 276 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
270 } | 277 } |
271 }; | 278 }; |
272 | 279 |
273 } // namespace content | 280 } // namespace content |
274 | 281 |
275 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 282 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
OLD | NEW |