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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 namespace cc { 49 namespace cc {
50 class CopyOutputRequest; 50 class CopyOutputRequest;
51 class CopyOutputResult; 51 class CopyOutputResult;
52 class DelegatedFrameData; 52 class DelegatedFrameData;
53 } 53 }
54 54
55 namespace gfx { 55 namespace gfx {
56 class Canvas; 56 class Canvas;
57 class Display; 57 class Display;
58 class Rect;
58 } 59 }
59 60
60 namespace gpu { 61 namespace gpu {
61 struct Mailbox; 62 struct Mailbox;
62 } 63 }
63 64
64 namespace ui { 65 namespace ui {
65 class CompositorLock; 66 class CompositorLock;
66 class InputMethod; 67 class InputMethod;
67 class LocatedEvent; 68 class LocatedEvent;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void SelectionBoundsChanged( 147 void SelectionBoundsChanged(
147 const ViewHostMsg_SelectionBounds_Params& params) override; 148 const ViewHostMsg_SelectionBounds_Params& params) override;
148 void CopyFromCompositingSurface( 149 void CopyFromCompositingSurface(
149 const gfx::Rect& src_subrect, 150 const gfx::Rect& src_subrect,
150 const gfx::Size& dst_size, 151 const gfx::Size& dst_size,
151 const ReadbackRequestCallback& callback, 152 const ReadbackRequestCallback& callback,
152 const SkColorType preferred_color_type) override; 153 const SkColorType preferred_color_type) override;
153 void CopyFromCompositingSurfaceToVideoFrame( 154 void CopyFromCompositingSurfaceToVideoFrame(
154 const gfx::Rect& src_subrect, 155 const gfx::Rect& src_subrect,
155 const scoped_refptr<media::VideoFrame>& target, 156 const scoped_refptr<media::VideoFrame>& target,
156 const base::Callback<void(bool)>& callback) override; 157 const base::Callback<void(const gfx::Rect&, bool)>& callback) override;
157 bool CanCopyToVideoFrame() const override; 158 bool CanCopyToVideoFrame() const override;
158 void BeginFrameSubscription( 159 void BeginFrameSubscription(
159 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 160 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
160 void EndFrameSubscription() override; 161 void EndFrameSubscription() override;
161 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 162 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
162 void GetScreenInfo(blink::WebScreenInfo* results) override; 163 void GetScreenInfo(blink::WebScreenInfo* results) override;
163 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 164 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
164 gfx::Rect GetBoundsInRootWindow() override; 165 gfx::Rect GetBoundsInRootWindow() override;
165 void WheelEventAck(const blink::WebMouseWheelEvent& event, 166 void WheelEventAck(const blink::WebMouseWheelEvent& event,
166 InputEventAckState ack_result) override; 167 InputEventAckState ack_result) override;
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 float device_scale_factor_; 671 float device_scale_factor_;
671 672
672 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 673 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
673 674
674 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 675 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
675 }; 676 };
676 677
677 } // namespace content 678 } // namespace content
678 679
679 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 680 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698