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

Unified Diff: remoting/protocol/mouse_input_filter.h

Issue 23440046: Remove dependency on Skia from chromoting client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « remoting/protocol/input_event_tracker.cc ('k') | remoting/protocol/mouse_input_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/mouse_input_filter.h
diff --git a/remoting/protocol/mouse_input_filter.h b/remoting/protocol/mouse_input_filter.h
index f83af93e0b7e6af2e8f44980d4184be42d64ea61..47dae114cb67c8b25d41f00c091588f2816c643d 100644
--- a/remoting/protocol/mouse_input_filter.h
+++ b/remoting/protocol/mouse_input_filter.h
@@ -7,8 +7,7 @@
#include "base/compiler_specific.h"
#include "remoting/protocol/input_filter.h"
-#include "third_party/skia/include/core/SkTypes.h"
-#include "third_party/skia/include/core/SkSize.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace remoting {
namespace protocol {
@@ -23,17 +22,17 @@ class MouseInputFilter : public InputFilter {
virtual ~MouseInputFilter();
// Specify the input dimensions for mouse events.
- void set_input_size(const SkISize& size);
+ void set_input_size(const webrtc::DesktopSize& size);
// Specify the output dimensions.
- void set_output_size(const SkISize& size);
+ void set_output_size(const webrtc::DesktopSize& size);
// InputStub overrides.
virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
private:
- SkISize input_max_;
- SkISize output_max_;
+ webrtc::DesktopSize input_max_;
+ webrtc::DesktopSize output_max_;
DISALLOW_COPY_AND_ASSIGN(MouseInputFilter);
};
« no previous file with comments | « remoting/protocol/input_event_tracker.cc ('k') | remoting/protocol/mouse_input_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698