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 TransportDIB::Handle transport_dib) = 0; | 217 TransportDIB::Handle transport_dib) = 0; |
218 #endif | 218 #endif |
219 | 219 |
220 #if defined(USE_AURA) | 220 #if defined(USE_AURA) |
221 virtual void AcceleratedSurfaceNew( | 221 virtual void AcceleratedSurfaceNew( |
222 int32 width, | 222 int32 width, |
223 int32 height, | 223 int32 height, |
224 uint64* surface_id, | 224 uint64* surface_id, |
225 TransportDIB::Handle* surface_handle) = 0; | 225 TransportDIB::Handle* surface_handle) = 0; |
226 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; | 226 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; |
| 227 virtual void AcceleratedSurfaceSuggestDiscard(uint64 surface_id, |
| 228 int32 route_id, |
| 229 int gpu_host_id) = 0; |
227 #endif | 230 #endif |
228 | 231 |
229 #if defined(TOOLKIT_GTK) | 232 #if defined(TOOLKIT_GTK) |
230 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 233 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
231 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 234 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
232 #endif // defined(TOOLKIT_GTK) | 235 #endif // defined(TOOLKIT_GTK) |
233 | 236 |
234 #if defined(OS_WIN) && !defined(USE_AURA) | 237 #if defined(OS_WIN) && !defined(USE_AURA) |
235 virtual void WillWmDestroy() = 0; | 238 virtual void WillWmDestroy() = 0; |
236 #endif | 239 #endif |
(...skipping 27 matching lines...) Expand all Loading... |
264 virtual BrowserAccessibilityManager* | 267 virtual BrowserAccessibilityManager* |
265 GetBrowserAccessibilityManager() const = 0; | 268 GetBrowserAccessibilityManager() const = 0; |
266 virtual void OnAccessibilityNotifications( | 269 virtual void OnAccessibilityNotifications( |
267 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 270 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
268 } | 271 } |
269 }; | 272 }; |
270 | 273 |
271 } // namespace content | 274 } // namespace content |
272 | 275 |
273 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 276 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
OLD | NEW |