| 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 <IOSurface/IOSurface.h> | 9 #include <IOSurface/IOSurface.h> |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 | 322 |
| 323 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 323 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 324 void GetScreenInfo(blink::WebScreenInfo* results) override; | 324 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 325 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 325 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 326 gfx::Rect GetBoundsInRootWindow() override; | 326 gfx::Rect GetBoundsInRootWindow() override; |
| 327 void LockCompositingSurface() override; | 327 void LockCompositingSurface() override; |
| 328 void UnlockCompositingSurface() override; | 328 void UnlockCompositingSurface() override; |
| 329 | 329 |
| 330 bool LockMouse() override; | 330 bool LockMouse() override; |
| 331 void UnlockMouse() override; | 331 void UnlockMouse() override; |
| 332 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
| 333 InputEventAckState ack_result) override; |
| 332 void GestureEventAck(const blink::WebGestureEvent& event, | 334 void GestureEventAck(const blink::WebGestureEvent& event, |
| 333 InputEventAckState ack_result) override; | 335 InputEventAckState ack_result) override; |
| 334 | 336 |
| 335 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 337 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
| 336 override; | 338 override; |
| 337 | 339 |
| 338 uint32_t GetSurfaceIdNamespace() override; | 340 uint32_t GetSurfaceIdNamespace() override; |
| 339 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate, | 341 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate, |
| 340 const gfx::Point& point, | 342 const gfx::Point& point, |
| 341 gfx::Point* transformed_point) override; | 343 gfx::Point* transformed_point) override; |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 | 622 |
| 621 // Factory used to safely scope delayed calls to ShutdownHost(). | 623 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 622 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 624 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 623 | 625 |
| 624 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 626 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 625 }; | 627 }; |
| 626 | 628 |
| 627 } // namespace content | 629 } // namespace content |
| 628 | 630 |
| 629 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 631 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |