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