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

Unified Diff: remoting/host/capturer_win.cc

Issue 10382184: [Chromoting] Initial plumbing for cursor shape. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment for CaptureCursor Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/capturer_win.cc
diff --git a/remoting/host/capturer_win.cc b/remoting/host/capturer_win.cc
index e9b65264b0becc874c0b5ddf30ef0fe1ff2f14f4..06f4f3fe4d5b0b018a1e4427ee238d4653c941f5 100644
--- a/remoting/host/capturer_win.cc
+++ b/remoting/host/capturer_win.cc
@@ -41,6 +41,8 @@ class CapturerGdi : public Capturer {
// Capturer interface.
virtual void Start() OVERRIDE;
virtual void Stop() OVERRIDE;
+ virtual void SetCursorShapeChangedCallback(
+ const CursorShapeChangedCallback& callback);
virtual void ScreenConfigurationChanged() OVERRIDE;
virtual media::VideoFrame::Format pixel_format() const OVERRIDE;
virtual void ClearInvalidRegion() OVERRIDE;
@@ -243,6 +245,12 @@ void CapturerGdi::Stop() {
}
}
+void CapturerGdi::SetCursorShapeChangedCallback(
+ const CursorShapeChangedCallback& callback) {
+ // TODO(garykac) Implement this. Although as with the screen config changes,
+ // we'll need to poll to look for cursor shape changes.
+}
+
void CapturerGdi::ScreenConfigurationChanged() {
// We poll for screen configuration changes, so ignore notifications.
}

Powered by Google App Engine
This is Rietveld 408576698