| 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 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 312 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 313 | 313 |
| 314 void DrawAcceleratedSurfaceInstance( | 314 void DrawAcceleratedSurfaceInstance( |
| 315 CGLContextObj context, | 315 CGLContextObj context, |
| 316 gfx::PluginWindowHandle plugin_handle, | 316 gfx::PluginWindowHandle plugin_handle, |
| 317 NSSize size); | 317 NSSize size); |
| 318 // Forces the textures associated with any accelerated plugin instances | 318 // Forces the textures associated with any accelerated plugin instances |
| 319 // to be reloaded. | 319 // to be reloaded. |
| 320 void ForceTextureReload(); | 320 void ForceTextureReload(); |
| 321 | 321 |
| 322 virtual void ProcessTouchAck(bool processed) OVERRIDE; | |
| 323 virtual void SetHasHorizontalScrollbar( | 322 virtual void SetHasHorizontalScrollbar( |
| 324 bool has_horizontal_scrollbar) OVERRIDE; | 323 bool has_horizontal_scrollbar) OVERRIDE; |
| 325 virtual void SetScrollOffsetPinning( | 324 virtual void SetScrollOffsetPinning( |
| 326 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 325 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 327 virtual bool LockMouse() OVERRIDE; | 326 virtual bool LockMouse() OVERRIDE; |
| 328 virtual void UnlockMouse() OVERRIDE; | 327 virtual void UnlockMouse() OVERRIDE; |
| 329 virtual void UnhandledWheelEvent( | 328 virtual void UnhandledWheelEvent( |
| 330 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 329 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 331 | 330 |
| 332 // Forwards the mouse event to the renderer. | 331 // Forwards the mouse event to the renderer. |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 | 474 |
| 476 // The current caret bounds. | 475 // The current caret bounds. |
| 477 gfx::Rect caret_rect_; | 476 gfx::Rect caret_rect_; |
| 478 | 477 |
| 479 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 478 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 480 }; | 479 }; |
| 481 | 480 |
| 482 } // namespace content | 481 } // namespace content |
| 483 | 482 |
| 484 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |