| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 bool ShouldRouteEvent(const blink::WebInputEvent& event) const; | 338 bool ShouldRouteEvent(const blink::WebInputEvent& event) const; |
| 339 void ProcessMouseEvent(const blink::WebMouseEvent& event, | 339 void ProcessMouseEvent(const blink::WebMouseEvent& event, |
| 340 const ui::LatencyInfo& latency) override; | 340 const ui::LatencyInfo& latency) override; |
| 341 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, | 341 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, |
| 342 const ui::LatencyInfo& latency) override; | 342 const ui::LatencyInfo& latency) override; |
| 343 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 343 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
| 344 const ui::LatencyInfo& latency) override; | 344 const ui::LatencyInfo& latency) override; |
| 345 void ProcessGestureEvent(const blink::WebGestureEvent& event, | 345 void ProcessGestureEvent(const blink::WebGestureEvent& event, |
| 346 const ui::LatencyInfo& latency) override; | 346 const ui::LatencyInfo& latency) override; |
| 347 void TransformPointToLocalCoordSpace(const gfx::Point& point, | 347 void TransformPointToLocalCoordSpace(const gfx::Point& point, |
| 348 cc::SurfaceId original_surface, | 348 const cc::SurfaceId& original_surface, |
| 349 gfx::Point* transformed_point) override; | 349 gfx::Point* transformed_point) override; |
| 350 | 350 |
| 351 // IPC::Sender implementation. | 351 // IPC::Sender implementation. |
| 352 bool Send(IPC::Message* message) override; | 352 bool Send(IPC::Message* message) override; |
| 353 | 353 |
| 354 // display::DisplayObserver implementation. | 354 // display::DisplayObserver implementation. |
| 355 void OnDisplayAdded(const display::Display& new_display) override; | 355 void OnDisplayAdded(const display::Display& new_display) override; |
| 356 void OnDisplayRemoved(const display::Display& old_display) override; | 356 void OnDisplayRemoved(const display::Display& old_display) override; |
| 357 void OnDisplayMetricsChanged(const display::Display& display, | 357 void OnDisplayMetricsChanged(const display::Display& display, |
| 358 uint32_t metrics) override; | 358 uint32_t metrics) override; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 | 540 |
| 541 // Factory used to safely scope delayed calls to ShutdownHost(). | 541 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 542 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 542 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 543 | 543 |
| 544 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 544 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 545 }; | 545 }; |
| 546 | 546 |
| 547 } // namespace content | 547 } // namespace content |
| 548 | 548 |
| 549 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 549 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |