Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
|
miu
2015/10/23 01:55:13
Suggestion: Generally, we don't write "empty" impl
Irfan
2015/10/26 23:10:31
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_DUMMY_H_ | |
| 6 #define CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_DUMMY_H_ | |
| 7 | |
| 8 #include "content/browser/media/capture/cursor_renderer.h" | |
| 9 | |
| 10 #include "base/macros.h" | |
| 11 #include "base/memory/ref_counted.h" | |
| 12 #include "base/memory/weak_ptr.h" | |
| 13 #include "content/common/content_export.h" | |
| 14 #include "media/base/video_frame.h" | |
| 15 #include "ui/gfx/native_widget_types.h" | |
| 16 | |
| 17 namespace content { | |
| 18 | |
| 19 class CONTENT_EXPORT CursorRendererDummy : public CursorRenderer { | |
| 20 public: | |
| 21 explicit CursorRendererDummy(gfx::NativeWindow window); | |
| 22 ~CursorRendererDummy() override; | |
| 23 void Clear() override; | |
| 24 bool Update(const gfx::Rect& region_in_frame) override; | |
| 25 void RenderOnVideoFrame( | |
| 26 const scoped_refptr<media::VideoFrame>& target) const override; | |
| 27 base::WeakPtr<CursorRenderer> GetWeakPtr() override; | |
| 28 private: | |
|
xjz
2015/10/22 17:08:42
nit: one blank line above.
Irfan
2015/10/26 23:10:31
doesnt exist anymore
| |
| 29 base::WeakPtrFactory<CursorRendererDummy> weak_factory_; | |
| 30 DISALLOW_COPY_AND_ASSIGN(CursorRendererDummy); | |
| 31 }; | |
| 32 | |
| 33 } // namespace content | |
| 34 | |
| 35 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_CURSOR_RENDERER_DUMMY_H_ | |
| OLD | NEW |