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