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

Side by Side Diff: content/browser/media/capture/cursor_renderer_dummy.cc

Issue 1412173003: cast: support cursor rendering for tab capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing cursor renderer files in repo Created 5 years, 2 months 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
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/media/capture/cursor_renderer_dummy.h"
6
7 namespace content {
8
9 // TODO(isheriff): When we do have a MAC implementation, rename dummy
miu 2015/10/23 01:55:12 Oh. If this is why you wrote this class, you shou
Irfan 2015/10/26 23:10:31 Done.
10 // appropriately
11 CursorRendererDummy::CursorRendererDummy(gfx::NativeView window) :
12 weak_factory_(this) {
13 }
14
15 CursorRendererDummy::~CursorRendererDummy() {
16 }
17
18 void CursorRendererDummy::Clear() {
19 }
20
21 bool CursorRendererDummy::Update(const gfx::Rect& region_in_frame) {
22 return false;
23 }
24
25 void CursorRendererDummy::RenderOnVideoFrame(
26 const scoped_refptr<media::VideoFrame>& target) const {
27 }
28
29 base::WeakPtr<CursorRenderer> CursorRendererDummy::GetWeakPtr() {
30 return weak_factory_.GetWeakPtr();
31 }
32
33 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698