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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 int32 width, | 213 int32 width, |
214 int32 height, | 214 int32 height, |
215 TransportDIB::Handle transport_dib) = 0; | 215 TransportDIB::Handle transport_dib) = 0; |
216 #endif | 216 #endif |
217 | 217 |
218 #if defined(USE_AURA) | 218 #if defined(USE_AURA) |
219 virtual void AcceleratedSurfaceNew( | 219 virtual void AcceleratedSurfaceNew( |
220 int32 width_in_pixel, | 220 int32 width_in_pixel, |
221 int32 height_in_pixel, | 221 int32 height_in_pixel, |
222 uint64* surface_id, | 222 uint64* surface_id, |
223 TransportDIB::Handle* surface_handle) = 0; | 223 TransportDIB::Handle* surface_handle, |
| 224 int32 route_id) = 0; |
224 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; | 225 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; |
225 #endif | 226 #endif |
226 | 227 |
227 #if defined(TOOLKIT_GTK) | 228 #if defined(TOOLKIT_GTK) |
228 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 229 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
229 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 230 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
230 #endif // defined(TOOLKIT_GTK) | 231 #endif // defined(TOOLKIT_GTK) |
231 | 232 |
232 #if defined(OS_WIN) && !defined(USE_AURA) | 233 #if defined(OS_WIN) && !defined(USE_AURA) |
233 virtual void WillWmDestroy() = 0; | 234 virtual void WillWmDestroy() = 0; |
(...skipping 28 matching lines...) Expand all Loading... |
262 virtual BrowserAccessibilityManager* | 263 virtual BrowserAccessibilityManager* |
263 GetBrowserAccessibilityManager() const = 0; | 264 GetBrowserAccessibilityManager() const = 0; |
264 virtual void OnAccessibilityNotifications( | 265 virtual void OnAccessibilityNotifications( |
265 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 266 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
266 } | 267 } |
267 }; | 268 }; |
268 | 269 |
269 } // namespace content | 270 } // namespace content |
270 | 271 |
271 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 272 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
OLD | NEW |