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