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/process_util.h" | 9 #include "base/process_util.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 int32 height, | 200 int32 height, |
201 TransportDIB::Handle transport_dib) = 0; | 201 TransportDIB::Handle transport_dib) = 0; |
202 #endif | 202 #endif |
203 | 203 |
204 #if defined(USE_AURA) | 204 #if defined(USE_AURA) |
205 virtual void AcceleratedSurfaceNew( | 205 virtual void AcceleratedSurfaceNew( |
206 int32 width, | 206 int32 width, |
207 int32 height, | 207 int32 height, |
208 uint64* surface_id, | 208 uint64* surface_id, |
209 TransportDIB::Handle* surface_handle) = 0; | 209 TransportDIB::Handle* surface_handle) = 0; |
210 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; | 210 virtual bool AcceleratedSurfaceRelease(uint64 surface_id) = 0; |
211 #endif | 211 #endif |
212 | 212 |
213 #if defined(TOOLKIT_GTK) | 213 #if defined(TOOLKIT_GTK) |
214 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 214 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
215 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 215 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
216 #endif // defined(TOOLKIT_GTK) | 216 #endif // defined(TOOLKIT_GTK) |
217 | 217 |
218 #if defined(OS_WIN) && !defined(USE_AURA) | 218 #if defined(OS_WIN) && !defined(USE_AURA) |
219 virtual void WillWmDestroy() = 0; | 219 virtual void WillWmDestroy() = 0; |
220 #endif | 220 #endif |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 virtual BrowserAccessibilityManager* | 253 virtual BrowserAccessibilityManager* |
254 GetBrowserAccessibilityManager() const = 0; | 254 GetBrowserAccessibilityManager() const = 0; |
255 virtual void OnAccessibilityNotifications( | 255 virtual void OnAccessibilityNotifications( |
256 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 256 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
257 } | 257 } |
258 }; | 258 }; |
259 | 259 |
260 } // namespace content | 260 } // namespace content |
261 | 261 |
262 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 262 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
OLD | NEW |