| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 void OnSwapCompositorFrame( | 315 void OnSwapCompositorFrame( |
| 316 uint32_t output_surface_id, | 316 uint32_t output_surface_id, |
| 317 std::unique_ptr<cc::CompositorFrame> frame) override; | 317 std::unique_ptr<cc::CompositorFrame> frame) override; |
| 318 void ClearCompositorFrame() override; | 318 void ClearCompositorFrame() override; |
| 319 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 319 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 320 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 320 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
| 321 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; | 321 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; |
| 322 | 322 |
| 323 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 323 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 324 void GetScreenInfo(blink::WebScreenInfo* results) override; | 324 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 325 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | |
| 326 gfx::Rect GetBoundsInRootWindow() override; | 325 gfx::Rect GetBoundsInRootWindow() override; |
| 327 void LockCompositingSurface() override; | 326 void LockCompositingSurface() override; |
| 328 void UnlockCompositingSurface() override; | 327 void UnlockCompositingSurface() override; |
| 329 | 328 |
| 330 bool LockMouse() override; | 329 bool LockMouse() override; |
| 331 void UnlockMouse() override; | 330 void UnlockMouse() override; |
| 332 void GestureEventAck(const blink::WebGestureEvent& event, | 331 void GestureEventAck(const blink::WebGestureEvent& event, |
| 333 InputEventAckState ack_result) override; | 332 InputEventAckState ack_result) override; |
| 334 | 333 |
| 335 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 334 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 | 616 |
| 618 // Factory used to safely scope delayed calls to ShutdownHost(). | 617 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 619 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 618 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 620 | 619 |
| 621 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 620 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 622 }; | 621 }; |
| 623 | 622 |
| 624 } // namespace content | 623 } // namespace content |
| 625 | 624 |
| 626 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 625 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |