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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 void BeginFrameSubscription( | 301 void BeginFrameSubscription( |
302 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 302 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
303 void EndFrameSubscription() override; | 303 void EndFrameSubscription() override; |
304 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 304 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
305 void OnSwapCompositorFrame(uint32_t output_surface_id, | 305 void OnSwapCompositorFrame(uint32_t output_surface_id, |
306 cc::CompositorFrame frame) override; | 306 cc::CompositorFrame frame) override; |
307 void ClearCompositorFrame() override; | 307 void ClearCompositorFrame() override; |
308 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 308 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
309 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 309 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
310 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; | 310 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; |
| 311 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
311 | 312 |
312 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 313 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
313 gfx::Rect GetBoundsInRootWindow() override; | 314 gfx::Rect GetBoundsInRootWindow() override; |
314 void LockCompositingSurface() override; | 315 void LockCompositingSurface() override; |
315 void UnlockCompositingSurface() override; | 316 void UnlockCompositingSurface() override; |
316 | 317 |
317 bool LockMouse() override; | 318 bool LockMouse() override; |
318 void UnlockMouse() override; | 319 void UnlockMouse() override; |
319 void GestureEventAck(const blink::WebGestureEvent& event, | 320 void GestureEventAck(const blink::WebGestureEvent& event, |
320 InputEventAckState ack_result) override; | 321 InputEventAckState ack_result) override; |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 | 541 |
541 // Factory used to safely scope delayed calls to ShutdownHost(). | 542 // Factory used to safely scope delayed calls to ShutdownHost(). |
542 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 543 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
543 | 544 |
544 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 545 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
545 }; | 546 }; |
546 | 547 |
547 } // namespace content | 548 } // namespace content |
548 | 549 |
549 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 550 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |