| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 #import <QuartzCore/CALayer.h> | 10 #import <QuartzCore/CALayer.h> |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 228 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| 229 int32 width, | 229 int32 width, |
| 230 int32 height, | 230 int32 height, |
| 231 uint64 io_surface_identifier); | 231 uint64 io_surface_identifier); |
| 232 virtual void AcceleratedSurfaceSetTransportDIB( | 232 virtual void AcceleratedSurfaceSetTransportDIB( |
| 233 gfx::PluginWindowHandle window, | 233 gfx::PluginWindowHandle window, |
| 234 int32 width, | 234 int32 width, |
| 235 int32 height, | 235 int32 height, |
| 236 TransportDIB::Handle transport_dib); | 236 TransportDIB::Handle transport_dib); |
| 237 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window); | 237 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window); |
| 238 virtual void GpuRenderingStateDidChange(); |
| 238 void DrawAcceleratedSurfaceInstance( | 239 void DrawAcceleratedSurfaceInstance( |
| 239 CGLContextObj context, gfx::PluginWindowHandle plugin_handle); | 240 CGLContextObj context, gfx::PluginWindowHandle plugin_handle); |
| 240 // Forces the textures associated with any accelerated plugin instances | 241 // Forces the textures associated with any accelerated plugin instances |
| 241 // to be reloaded. | 242 // to be reloaded. |
| 242 void ForceTextureReload(); | 243 void ForceTextureReload(); |
| 243 | 244 |
| 244 virtual void SetVisuallyDeemphasized(bool deemphasized); | 245 virtual void SetVisuallyDeemphasized(bool deemphasized); |
| 245 | 246 |
| 246 void KillSelf(); | 247 void KillSelf(); |
| 247 | 248 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 // Whether or not web accessibility is enabled. | 332 // Whether or not web accessibility is enabled. |
| 332 bool renderer_accessible_; | 333 bool renderer_accessible_; |
| 333 | 334 |
| 334 // selected text on the renderer. | 335 // selected text on the renderer. |
| 335 std::string selected_text_; | 336 std::string selected_text_; |
| 336 | 337 |
| 337 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 338 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 338 }; | 339 }; |
| 339 | 340 |
| 340 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 341 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |