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

Unified Diff: remoting/capturer/video_frame_capturer.h

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/capturer/video_frame.cc ('k') | remoting/capturer/video_frame_capturer_fake.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/capturer/video_frame_capturer.h
diff --git a/remoting/host/video_frame_capturer.h b/remoting/capturer/video_frame_capturer.h
similarity index 93%
rename from remoting/host/video_frame_capturer.h
rename to remoting/capturer/video_frame_capturer.h
index ba8a5c7e5aec9d0a0ee9d1b54156d731b1afe761..927c6109bb714fa9e1815813b3a418ff6d4e5938 100644
--- a/remoting/host/video_frame_capturer.h
+++ b/remoting/capturer/video_frame_capturer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_HOST_VIDEO_FRAME_CAPTURER_H_
-#define REMOTING_HOST_VIDEO_FRAME_CAPTURER_H_
+#ifndef REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_
+#define REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_
#include "base/basictypes.h"
#include "base/callback.h"
@@ -13,11 +13,8 @@
namespace remoting {
-namespace protocol {
-class CursorShapeInfo;
-}
-
class CaptureData;
+struct MouseCursorShape;
class SharedBufferFactory;
// Class used to capture video frames asynchronously.
@@ -64,8 +61,9 @@ class VideoFrameCapturer {
scoped_refptr<CaptureData> capture_data) = 0;
// Called when the cursor shape has changed.
+ // TODO(sergeyu): Move cursor shape capturing to a separate class.
virtual void OnCursorShapeChanged(
- scoped_ptr<protocol::CursorShapeInfo> cursor_shape) = 0;
+ scoped_ptr<MouseCursorShape> cursor_shape) = 0;
};
virtual ~VideoFrameCapturer() {}
@@ -120,4 +118,4 @@ class VideoFrameCapturer {
} // namespace remoting
-#endif // REMOTING_HOST_VIDEO_FRAME_CAPTURER_H_
+#endif // REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_H_
« no previous file with comments | « remoting/capturer/video_frame.cc ('k') | remoting/capturer/video_frame_capturer_fake.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698