| 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 304 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
| 305 void EndFrameSubscription() override; | 305 void EndFrameSubscription() override; |
| 306 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 306 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 307 void FocusedNodeChanged(bool is_editable_node, | 307 void FocusedNodeChanged(bool is_editable_node, |
| 308 const gfx::Rect& node_bounds_in_screen) override; | 308 const gfx::Rect& node_bounds_in_screen) override; |
| 309 void DidCreateNewRendererCompositorFrameSink( | 309 void DidCreateNewRendererCompositorFrameSink( |
| 310 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) | 310 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) |
| 311 override; | 311 override; |
| 312 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, | 312 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, |
| 313 cc::CompositorFrame frame) override; | 313 cc::CompositorFrame frame) override; |
| 314 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; | 314 void OnBeginFrameDidNotProduceFrame(const cc::BeginFrameAck& ack) 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 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; | 319 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
| 320 | 320 |
| 321 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 321 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 322 gfx::Rect GetBoundsInRootWindow() override; | 322 gfx::Rect GetBoundsInRootWindow() override; |
| 323 | 323 |
| 324 bool LockMouse() override; | 324 bool LockMouse() override; |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 | 567 |
| 568 // Factory used to safely scope delayed calls to ShutdownHost(). | 568 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 569 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 569 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 570 | 570 |
| 571 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 571 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 572 }; | 572 }; |
| 573 | 573 |
| 574 } // namespace content | 574 } // namespace content |
| 575 | 575 |
| 576 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 576 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |