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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.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_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 125 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
126 void SetBackgroundColor(SkColor color) override; 126 void SetBackgroundColor(SkColor color) override;
127 void CopyFromCompositingSurface( 127 void CopyFromCompositingSurface(
128 const gfx::Rect& src_subrect, 128 const gfx::Rect& src_subrect,
129 const gfx::Size& dst_size, 129 const gfx::Size& dst_size,
130 const ReadbackRequestCallback& callback, 130 const ReadbackRequestCallback& callback,
131 const SkColorType preferred_color_type) override; 131 const SkColorType preferred_color_type) override;
132 void CopyFromCompositingSurfaceToVideoFrame( 132 void CopyFromCompositingSurfaceToVideoFrame(
133 const gfx::Rect& src_subrect, 133 const gfx::Rect& src_subrect,
134 const scoped_refptr<media::VideoFrame>& target, 134 const scoped_refptr<media::VideoFrame>& target,
135 const base::Callback<void(bool)>& callback) override; 135 const base::Callback<void(const gfx::Rect&, bool)>& callback) override;
136 bool CanCopyToVideoFrame() const override; 136 bool CanCopyToVideoFrame() const override;
137 void GetScreenInfo(blink::WebScreenInfo* results) override; 137 void GetScreenInfo(blink::WebScreenInfo* results) override;
138 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 138 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
139 gfx::Rect GetBoundsInRootWindow() override; 139 gfx::Rect GetBoundsInRootWindow() override;
140 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 140 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
141 InputEventAckState ack_result) override; 141 InputEventAckState ack_result) override;
142 InputEventAckState FilterInputEvent( 142 InputEventAckState FilterInputEvent(
143 const blink::WebInputEvent& input_event) override; 143 const blink::WebInputEvent& input_event) override;
144 void OnSetNeedsFlushInput() override; 144 void OnSetNeedsFlushInput() override;
145 void GestureEventAck(const blink::WebGestureEvent& event, 145 void GestureEventAck(const blink::WebGestureEvent& event,
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 gfx::Vector2dF last_scroll_offset_; 420 gfx::Vector2dF last_scroll_offset_;
421 421
422 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 422 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
423 423
424 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 424 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
425 }; 425 };
426 426
427 } // namespace content 427 } // namespace content
428 428
429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698