| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 328 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 329 BrowserAccessibilityDelegate* delegate) override; | 329 BrowserAccessibilityDelegate* delegate) override; |
| 330 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; | 330 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; |
| 331 bool PostProcessEventForPluginIme( | 331 bool PostProcessEventForPluginIme( |
| 332 const NativeWebKeyboardEvent& event) override; | 332 const NativeWebKeyboardEvent& event) override; |
| 333 | 333 |
| 334 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 334 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 335 void GetScreenInfo(blink::WebScreenInfo* results) override; | 335 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 336 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 336 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 337 gfx::Rect GetBoundsInRootWindow() override; | 337 gfx::Rect GetBoundsInRootWindow() override; |
| 338 gfx::GLSurfaceHandle GetCompositingSurface() override; | |
| 339 | 338 |
| 340 bool LockMouse() override; | 339 bool LockMouse() override; |
| 341 void UnlockMouse() override; | 340 void UnlockMouse() override; |
| 342 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 341 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
| 343 InputEventAckState ack_result) override; | 342 InputEventAckState ack_result) override; |
| 344 | 343 |
| 345 uint32_t GetSurfaceIdNamespace() override; | 344 uint32_t GetSurfaceIdNamespace() override; |
| 346 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, | 345 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, |
| 347 gfx::Point* transformed_point) override; | 346 gfx::Point* transformed_point) override; |
| 348 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; | 347 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 600 |
| 602 // Factory used to safely scope delayed calls to ShutdownHost(). | 601 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 603 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 602 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 604 | 603 |
| 605 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 604 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 606 }; | 605 }; |
| 607 | 606 |
| 608 } // namespace content | 607 } // namespace content |
| 609 | 608 |
| 610 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 609 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |