Chromium Code Reviews| Index: content/browser/media/capture/cursor_renderer_dummy.cc |
| diff --git a/content/browser/media/capture/cursor_renderer_dummy.cc b/content/browser/media/capture/cursor_renderer_dummy.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..40c3c6b6618d9b122cc240fa880cd998ba1ac923 |
| --- /dev/null |
| +++ b/content/browser/media/capture/cursor_renderer_dummy.cc |
| @@ -0,0 +1,33 @@ |
| +// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "content/browser/media/capture/cursor_renderer_dummy.h" |
| + |
| +namespace content { |
| + |
| +// 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.
|
| +// appropriately |
| +CursorRendererDummy::CursorRendererDummy(gfx::NativeView window) : |
| + weak_factory_(this) { |
| +} |
| + |
| +CursorRendererDummy::~CursorRendererDummy() { |
| +} |
| + |
| +void CursorRendererDummy::Clear() { |
| +} |
| + |
| +bool CursorRendererDummy::Update(const gfx::Rect& region_in_frame) { |
| + return false; |
| +} |
| + |
| +void CursorRendererDummy::RenderOnVideoFrame( |
| + const scoped_refptr<media::VideoFrame>& target) const { |
| +} |
| + |
| +base::WeakPtr<CursorRenderer> CursorRendererDummy::GetWeakPtr() { |
| + return weak_factory_.GetWeakPtr(); |
| +} |
| + |
| +} // namespace content |