| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 void EndFrameSubscription() override; | 311 void EndFrameSubscription() override; |
| 312 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 312 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 313 void OnSwapCompositorFrame(uint32_t output_surface_id, | 313 void OnSwapCompositorFrame(uint32_t output_surface_id, |
| 314 cc::CompositorFrame frame) override; | 314 cc::CompositorFrame frame) override; |
| 315 void ClearCompositorFrame() override; | 315 void ClearCompositorFrame() override; |
| 316 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 316 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 317 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 317 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
| 318 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; | 318 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; |
| 319 | 319 |
| 320 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 320 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 321 void GetScreenInfo(blink::WebScreenInfo* results) override; | |
| 322 gfx::Rect GetBoundsInRootWindow() override; | 321 gfx::Rect GetBoundsInRootWindow() override; |
| 323 void LockCompositingSurface() override; | 322 void LockCompositingSurface() override; |
| 324 void UnlockCompositingSurface() override; | 323 void UnlockCompositingSurface() override; |
| 325 | 324 |
| 326 bool LockMouse() override; | 325 bool LockMouse() override; |
| 327 void UnlockMouse() override; | 326 void UnlockMouse() override; |
| 328 void GestureEventAck(const blink::WebGestureEvent& event, | 327 void GestureEventAck(const blink::WebGestureEvent& event, |
| 329 InputEventAckState ack_result) override; | 328 InputEventAckState ack_result) override; |
| 330 | 329 |
| 331 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 330 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 | 545 |
| 547 // Factory used to safely scope delayed calls to ShutdownHost(). | 546 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 548 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 547 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 549 | 548 |
| 550 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 549 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 551 }; | 550 }; |
| 552 | 551 |
| 553 } // namespace content | 552 } // namespace content |
| 554 | 553 |
| 555 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 554 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |