Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |