| 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 355   uint32_t GetSurfaceIdNamespace() override; | 355   uint32_t GetSurfaceIdNamespace() override; | 
| 356   uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate, | 356   uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate, | 
| 357                                      const gfx::Point& point, | 357                                      const gfx::Point& point, | 
| 358                                      gfx::Point* transformed_point) override; | 358                                      gfx::Point* transformed_point) override; | 
| 359   // Returns true when we can do SurfaceHitTesting for the event type. | 359   // Returns true when we can do SurfaceHitTesting for the event type. | 
| 360   bool ShouldRouteEvent(const blink::WebInputEvent& event) const; | 360   bool ShouldRouteEvent(const blink::WebInputEvent& event) const; | 
| 361   void ProcessMouseEvent(const blink::WebMouseEvent& event) override; | 361   void ProcessMouseEvent(const blink::WebMouseEvent& event) override; | 
| 362   void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; | 362   void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; | 
| 363   void ProcessTouchEvent(const blink::WebTouchEvent& event, | 363   void ProcessTouchEvent(const blink::WebTouchEvent& event, | 
| 364                          const ui::LatencyInfo& latency) override; | 364                          const ui::LatencyInfo& latency) override; | 
|  | 365   void ProcessGestureEvent(const blink::WebGestureEvent& event, | 
|  | 366                            const ui::LatencyInfo& latency) override; | 
| 365   void TransformPointToLocalCoordSpace(const gfx::Point& point, | 367   void TransformPointToLocalCoordSpace(const gfx::Point& point, | 
| 366                                        cc::SurfaceId original_surface, | 368                                        cc::SurfaceId original_surface, | 
| 367                                        gfx::Point* transformed_point) override; | 369                                        gfx::Point* transformed_point) override; | 
| 368 | 370 | 
| 369   // IPC::Sender implementation. | 371   // IPC::Sender implementation. | 
| 370   bool Send(IPC::Message* message) override; | 372   bool Send(IPC::Message* message) override; | 
| 371 | 373 | 
| 372   // gfx::DisplayObserver implementation. | 374   // gfx::DisplayObserver implementation. | 
| 373   void OnDisplayAdded(const gfx::Display& new_display) override; | 375   void OnDisplayAdded(const gfx::Display& new_display) override; | 
| 374   void OnDisplayRemoved(const gfx::Display& old_display) override; | 376   void OnDisplayRemoved(const gfx::Display& old_display) override; | 
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 619 | 621 | 
| 620   // Factory used to safely scope delayed calls to ShutdownHost(). | 622   // Factory used to safely scope delayed calls to ShutdownHost(). | 
| 621   base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 623   base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 
| 622 | 624 | 
| 623   DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 625   DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 
| 624 }; | 626 }; | 
| 625 | 627 | 
| 626 }  // namespace content | 628 }  // namespace content | 
| 627 | 629 | 
| 628 #endif  // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 630 #endif  // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 
| OLD | NEW | 
|---|