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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
298 const gfx::Rect& src_rect, | 298 const gfx::Rect& src_rect, |
299 scoped_refptr<media::VideoFrame> target, | 299 scoped_refptr<media::VideoFrame> target, |
300 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; | 300 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; |
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 FocusedNodeChanged(bool is_editable_node, | 305 void FocusedNodeChanged(bool is_editable_node, |
306 const gfx::Rect& node_bounds_in_screen) override; | 306 const gfx::Rect& node_bounds_in_screen) override; |
307 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, | 307 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
308 cc::LocalSurfaceId local_surface_id, | |
Fady Samuel
2017/03/15 12:05:48
const cc::LocalSurfaceId&
Saman Sami
2017/03/16 18:33:07
Done.
| |
308 cc::CompositorFrame frame) override; | 309 cc::CompositorFrame frame) override; |
309 void ClearCompositorFrame() override; | 310 void ClearCompositorFrame() override; |
310 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 311 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
311 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 312 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
312 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; | 313 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; |
313 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; | 314 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
314 | 315 |
315 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 316 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
316 gfx::Rect GetBoundsInRootWindow() override; | 317 gfx::Rect GetBoundsInRootWindow() override; |
317 | 318 |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
552 | 553 |
553 // Factory used to safely scope delayed calls to ShutdownHost(). | 554 // Factory used to safely scope delayed calls to ShutdownHost(). |
554 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 555 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
555 | 556 |
556 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 557 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
557 }; | 558 }; |
558 | 559 |
559 } // namespace content | 560 } // namespace content |
560 | 561 |
561 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 562 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |