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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 int32 width, | 215 int32 width, |
216 int32 height, | 216 int32 height, |
217 uint64 io_surface_identifier) = 0; | 217 uint64 io_surface_identifier) = 0; |
218 virtual void AcceleratedSurfaceSetTransportDIB( | 218 virtual void AcceleratedSurfaceSetTransportDIB( |
219 gfx::PluginWindowHandle window, | 219 gfx::PluginWindowHandle window, |
220 int32 width, | 220 int32 width, |
221 int32 height, | 221 int32 height, |
222 TransportDIB::Handle transport_dib) = 0; | 222 TransportDIB::Handle transport_dib) = 0; |
223 #endif | 223 #endif |
224 | 224 |
| 225 #if defined(OS_ANDROID) |
| 226 virtual void DidSetNeedTouchEvents(bool need_touch_events) = 0; |
| 227 #endif |
| 228 |
225 virtual void AcceleratedSurfaceNew( | 229 virtual void AcceleratedSurfaceNew( |
226 int32 width_in_pixel, | 230 int32 width_in_pixel, |
227 int32 height_in_pixel, | 231 int32 height_in_pixel, |
228 uint64 surface_id) {} | 232 uint64 surface_id) {} |
229 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} | 233 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} |
230 | 234 |
231 #if defined(TOOLKIT_GTK) | 235 #if defined(TOOLKIT_GTK) |
232 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 236 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
233 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 237 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
234 #endif // defined(TOOLKIT_GTK) | 238 #endif // defined(TOOLKIT_GTK) |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 virtual BrowserAccessibilityManager* | 275 virtual BrowserAccessibilityManager* |
272 GetBrowserAccessibilityManager() const = 0; | 276 GetBrowserAccessibilityManager() const = 0; |
273 virtual void OnAccessibilityNotifications( | 277 virtual void OnAccessibilityNotifications( |
274 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 278 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
275 } | 279 } |
276 }; | 280 }; |
277 | 281 |
278 } // namespace content | 282 } // namespace content |
279 | 283 |
280 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 284 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
OLD | NEW |