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(WebKit::WebInputEvent::Type type, | 281 virtual void ProcessTouchAck(bool processed) OVERRIDE; |
282 bool processed) OVERRIDE; | |
283 virtual void SetHasHorizontalScrollbar( | 282 virtual void SetHasHorizontalScrollbar( |
284 bool has_horizontal_scrollbar) OVERRIDE; | 283 bool has_horizontal_scrollbar) OVERRIDE; |
285 virtual void SetScrollOffsetPinning( | 284 virtual void SetScrollOffsetPinning( |
286 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 285 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
287 | 286 |
288 virtual bool LockMouse() OVERRIDE; | 287 virtual bool LockMouse() OVERRIDE; |
289 virtual void UnlockMouse() OVERRIDE; | 288 virtual void UnlockMouse() OVERRIDE; |
290 | 289 |
291 void KillSelf(); | 290 void KillSelf(); |
292 | 291 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 // hidden until the software backing store has been updated. This variable is | 399 // hidden until the software backing store has been updated. This variable is |
401 // set when the gpu widget needs to be hidden once a paint is completed. | 400 // set when the gpu widget needs to be hidden once a paint is completed. |
402 bool needs_gpu_visibility_update_after_repaint_; | 401 bool needs_gpu_visibility_update_after_repaint_; |
403 | 402 |
404 gfx::PluginWindowHandle compositing_surface_; | 403 gfx::PluginWindowHandle compositing_surface_; |
405 | 404 |
406 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 405 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
407 }; | 406 }; |
408 | 407 |
409 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 408 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |