Chromium Code Reviews| Index: remoting/host/capturer.h |
| diff --git a/remoting/host/capturer.h b/remoting/host/capturer.h |
| index 5379e7ddc0285ee7683df3c0c3cfeac824b16670..33db5dc469fdfc90b3333f1f504df96d23a2c662 100644 |
| --- a/remoting/host/capturer.h |
| +++ b/remoting/host/capturer.h |
| @@ -8,6 +8,7 @@ |
| #include "base/basictypes.h" |
| #include "base/callback.h" |
| #include "remoting/base/capture_data.h" |
| +#include "remoting/base/cursor_shape_data.h" |
|
Sergey Ulanov
2012/05/15 23:51:34
Can you forward-declare CursorShapeData?
Sergey Ulanov
2012/05/15 23:51:34
This file seems to be missing from this CL
garykac
2012/05/22 00:42:03
Done.
garykac
2012/05/22 00:42:03
Done. (for CaptureData as well)
|
| #include "third_party/skia/include/core/SkRegion.h" |
| namespace remoting { |
| @@ -49,6 +50,10 @@ class Capturer { |
| typedef base::Callback<void(scoped_refptr<CaptureData>)> |
| CaptureCompletedCallback; |
| + // CursorShapeChangedCallback is called when the cursor shape has changed. |
| + typedef base::Callback<void(scoped_refptr<CursorShapeData>)> |
| + CursorShapeChangedCallback; |
| + |
| virtual ~Capturer() {}; |
| // Create platform-specific capturer. |
| @@ -74,6 +79,10 @@ class Capturer { |
| // Called at the end of a capturing session. |
| virtual void Stop() = 0; |
| + // Set callback to be called when the cursor shape changes. |
| + virtual void SetCursorShapeChangedCallback( |
| + const CursorShapeChangedCallback& callback) = 0; |
| + |
| // Called when the screen configuration is changed. |
| virtual void ScreenConfigurationChanged() = 0; |