| 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_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 | 10 |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 271 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 272 | 272 |
| 273 void DrawAcceleratedSurfaceInstance( | 273 void DrawAcceleratedSurfaceInstance( |
| 274 CGLContextObj context, | 274 CGLContextObj context, |
| 275 gfx::PluginWindowHandle plugin_handle, | 275 gfx::PluginWindowHandle plugin_handle, |
| 276 NSSize size); | 276 NSSize size); |
| 277 // Forces the textures associated with any accelerated plugin instances | 277 // Forces the textures associated with any accelerated plugin instances |
| 278 // to be reloaded. | 278 // to be reloaded. |
| 279 void ForceTextureReload(); | 279 void ForceTextureReload(); |
| 280 | 280 |
| 281 virtual void ProcessTouchAck(bool processed) OVERRIDE; | 281 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
| 282 bool processed) OVERRIDE; |
| 282 virtual void SetHasHorizontalScrollbar( | 283 virtual void SetHasHorizontalScrollbar( |
| 283 bool has_horizontal_scrollbar) OVERRIDE; | 284 bool has_horizontal_scrollbar) OVERRIDE; |
| 284 virtual void SetScrollOffsetPinning( | 285 virtual void SetScrollOffsetPinning( |
| 285 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 286 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 286 | 287 |
| 287 virtual bool LockMouse() OVERRIDE; | 288 virtual bool LockMouse() OVERRIDE; |
| 288 virtual void UnlockMouse() OVERRIDE; | 289 virtual void UnlockMouse() OVERRIDE; |
| 289 | 290 |
| 290 void KillSelf(); | 291 void KillSelf(); |
| 291 | 292 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 // hidden until the software backing store has been updated. This variable is | 400 // hidden until the software backing store has been updated. This variable is |
| 400 // set when the gpu widget needs to be hidden once a paint is completed. | 401 // set when the gpu widget needs to be hidden once a paint is completed. |
| 401 bool needs_gpu_visibility_update_after_repaint_; | 402 bool needs_gpu_visibility_update_after_repaint_; |
| 402 | 403 |
| 403 gfx::PluginWindowHandle compositing_surface_; | 404 gfx::PluginWindowHandle compositing_surface_; |
| 404 | 405 |
| 405 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 406 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 406 }; | 407 }; |
| 407 | 408 |
| 408 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 409 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |