Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(868)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 1412173003: cast: support cursor rendering for tab capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable cursor rendering on windows until resources are available Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <list> 10 #include <list>
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 const gfx::Range& range) override; 310 const gfx::Range& range) override;
311 void SelectionBoundsChanged( 311 void SelectionBoundsChanged(
312 const ViewHostMsg_SelectionBounds_Params& params) override; 312 const ViewHostMsg_SelectionBounds_Params& params) override;
313 void CopyFromCompositingSurface(const gfx::Rect& src_subrect, 313 void CopyFromCompositingSurface(const gfx::Rect& src_subrect,
314 const gfx::Size& dst_size, 314 const gfx::Size& dst_size,
315 const ReadbackRequestCallback& callback, 315 const ReadbackRequestCallback& callback,
316 SkColorType preferred_color_type) override; 316 SkColorType preferred_color_type) override;
317 void CopyFromCompositingSurfaceToVideoFrame( 317 void CopyFromCompositingSurfaceToVideoFrame(
318 const gfx::Rect& src_subrect, 318 const gfx::Rect& src_subrect,
319 const scoped_refptr<media::VideoFrame>& target, 319 const scoped_refptr<media::VideoFrame>& target,
320 const base::Callback<void(bool)>& callback) override; 320 const base::Callback<void(const gfx::Rect&, bool)>& callback) override;
321 bool CanCopyToVideoFrame() const override; 321 bool CanCopyToVideoFrame() const override;
322 void BeginFrameSubscription( 322 void BeginFrameSubscription(
323 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 323 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
324 void EndFrameSubscription() override; 324 void EndFrameSubscription() override;
325 void OnSwapCompositorFrame(uint32 output_surface_id, 325 void OnSwapCompositorFrame(uint32 output_surface_id,
326 scoped_ptr<cc::CompositorFrame> frame) override; 326 scoped_ptr<cc::CompositorFrame> frame) override;
327 void ClearCompositorFrame() override; 327 void ClearCompositorFrame() override;
328 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 328 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
329 BrowserAccessibilityDelegate* delegate) override; 329 BrowserAccessibilityDelegate* delegate) override;
330 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; 330 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override;
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 601
602 // Factory used to safely scope delayed calls to ShutdownHost(). 602 // Factory used to safely scope delayed calls to ShutdownHost().
603 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 603 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
604 604
605 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 605 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
606 }; 606 };
607 607
608 } // namespace content 608 } // namespace content
609 609
610 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 610 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698