| 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 <list> | 10 #include <list> |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 void GetScreenInfo(blink::WebScreenInfo* results) override; | 334 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 335 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 335 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 336 gfx::Rect GetBoundsInRootWindow() override; | 336 gfx::Rect GetBoundsInRootWindow() override; |
| 337 gfx::GLSurfaceHandle GetCompositingSurface() override; | 337 gfx::GLSurfaceHandle GetCompositingSurface() override; |
| 338 | 338 |
| 339 bool LockMouse() override; | 339 bool LockMouse() override; |
| 340 void UnlockMouse() override; | 340 void UnlockMouse() override; |
| 341 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 341 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
| 342 InputEventAckState ack_result) override; | 342 InputEventAckState ack_result) override; |
| 343 | 343 |
| 344 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override; |
| 345 |
| 344 uint32_t GetSurfaceIdNamespace() override; | 346 uint32_t GetSurfaceIdNamespace() override; |
| 345 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, | 347 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, |
| 346 gfx::Point* transformed_point) override; | 348 gfx::Point* transformed_point) override; |
| 347 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; | 349 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; |
| 348 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; | 350 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 349 | 351 |
| 350 // IPC::Sender implementation. | 352 // IPC::Sender implementation. |
| 351 bool Send(IPC::Message* message) override; | 353 bool Send(IPC::Message* message) override; |
| 352 | 354 |
| 353 // gfx::DisplayObserver implementation. | 355 // gfx::DisplayObserver implementation. |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 | 596 |
| 595 // Factory used to safely scope delayed calls to ShutdownHost(). | 597 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 596 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 598 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 597 | 599 |
| 598 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 600 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 599 }; | 601 }; |
| 600 | 602 |
| 601 } // namespace content | 603 } // namespace content |
| 602 | 604 |
| 603 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 605 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |