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