OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(OS_MACOSX) | 9 #if defined(OS_MACOSX) |
10 #include <OpenGL/OpenGL.h> | 10 #include <OpenGL/OpenGL.h> |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 // this case is currently used for accelerated plugins. | 249 // this case is currently used for accelerated plugins. |
250 virtual void AcceleratedSurfaceBuffersSwapped( | 250 virtual void AcceleratedSurfaceBuffersSwapped( |
251 gfx::PluginWindowHandle window, | 251 gfx::PluginWindowHandle window, |
252 uint64 surface_id, | 252 uint64 surface_id, |
253 int renderer_id, | 253 int renderer_id, |
254 int32 route_id, | 254 int32 route_id, |
255 int gpu_host_id) = 0; | 255 int gpu_host_id) = 0; |
256 virtual void GpuRenderingStateDidChange() = 0; | 256 virtual void GpuRenderingStateDidChange() = 0; |
257 #endif | 257 #endif |
258 | 258 |
259 #if defined(TOUCH_UI) | 259 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) |
260 virtual void AcceleratedSurfaceNew( | 260 virtual void AcceleratedSurfaceNew( |
261 int32 width, | 261 int32 width, |
262 int32 height, | 262 int32 height, |
263 uint64* surface_id, | 263 uint64* surface_id, |
264 TransportDIB::Handle* surface_handle) = 0; | 264 TransportDIB::Handle* surface_handle) = 0; |
265 virtual void AcceleratedSurfaceBuffersSwapped( | 265 virtual void AcceleratedSurfaceBuffersSwapped( |
266 uint64 surface_id, | 266 uint64 surface_id, |
267 int32 route_id, | 267 int32 route_id, |
268 int gpu_host_id) = 0; | 268 int gpu_host_id) = 0; |
269 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; | 269 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // mouse position just as mouse lock was entered; the movement they report | 350 // mouse position just as mouse lock was entered; the movement they report |
351 // indicates what the change in position of the mouse would be had it not been | 351 // indicates what the change in position of the mouse would be had it not been |
352 // locked. | 352 // locked. |
353 bool mouse_locked_; | 353 bool mouse_locked_; |
354 | 354 |
355 private: | 355 private: |
356 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); | 356 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); |
357 }; | 357 }; |
358 | 358 |
359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
OLD | NEW |