| 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 virtual void AcceleratedSurfaceRelease() OVERRIDE; | 332 virtual void AcceleratedSurfaceRelease() OVERRIDE; |
| 333 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 333 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
| 334 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; | 334 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; |
| 335 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 335 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 336 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 336 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 337 | 337 |
| 338 virtual void SetScrollOffsetPinning( | 338 virtual void SetScrollOffsetPinning( |
| 339 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 339 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 340 virtual bool LockMouse() OVERRIDE; | 340 virtual bool LockMouse() OVERRIDE; |
| 341 virtual void UnlockMouse() OVERRIDE; | 341 virtual void UnlockMouse() OVERRIDE; |
| 342 virtual void UnhandledWheelEvent( | 342 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event, |
| 343 const blink::WebMouseWheelEvent& event) OVERRIDE; | 343 InputEventAckState ack_result) OVERRIDE; |
| 344 | 344 |
| 345 // IPC::Sender implementation. | 345 // IPC::Sender implementation. |
| 346 virtual bool Send(IPC::Message* message) OVERRIDE; | 346 virtual bool Send(IPC::Message* message) OVERRIDE; |
| 347 | 347 |
| 348 // SoftwareFrameManagerClient implementation: | 348 // SoftwareFrameManagerClient implementation: |
| 349 virtual void SoftwareFrameWasFreed( | 349 virtual void SoftwareFrameWasFreed( |
| 350 uint32 output_surface_id, unsigned frame_id) OVERRIDE; | 350 uint32 output_surface_id, unsigned frame_id) OVERRIDE; |
| 351 virtual void ReleaseReferencesToSoftwareFrame() OVERRIDE; | 351 virtual void ReleaseReferencesToSoftwareFrame() OVERRIDE; |
| 352 | 352 |
| 353 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; | 353 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 668 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
| 669 | 669 |
| 670 base::WeakPtrFactory<RenderWidgetHostViewMac> | 670 base::WeakPtrFactory<RenderWidgetHostViewMac> |
| 671 software_frame_weak_ptr_factory_; | 671 software_frame_weak_ptr_factory_; |
| 672 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 672 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 673 }; | 673 }; |
| 674 | 674 |
| 675 } // namespace content | 675 } // namespace content |
| 676 | 676 |
| 677 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 677 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |