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

Unified Diff: trunk/src/remoting/protocol/mouse_input_filter.h

Issue 24217003: Revert 224101 "Remove dependency on Skia from chromoting client." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
Index: trunk/src/remoting/protocol/mouse_input_filter.h
===================================================================
--- trunk/src/remoting/protocol/mouse_input_filter.h (revision 224204)
+++ trunk/src/remoting/protocol/mouse_input_filter.h (working copy)
@@ -7,7 +7,8 @@
#include "base/compiler_specific.h"
#include "remoting/protocol/input_filter.h"
-#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
+#include "third_party/skia/include/core/SkTypes.h"
+#include "third_party/skia/include/core/SkSize.h"
namespace remoting {
namespace protocol {
@@ -22,17 +23,17 @@
virtual ~MouseInputFilter();
// Specify the input dimensions for mouse events.
- void set_input_size(const webrtc::DesktopSize& size);
+ void set_input_size(const SkISize& size);
// Specify the output dimensions.
- void set_output_size(const webrtc::DesktopSize& size);
+ void set_output_size(const SkISize& size);
// InputStub overrides.
virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
private:
- webrtc::DesktopSize input_max_;
- webrtc::DesktopSize output_max_;
+ SkISize input_max_;
+ SkISize output_max_;
DISALLOW_COPY_AND_ASSIGN(MouseInputFilter);
};
« no previous file with comments | « trunk/src/remoting/protocol/input_event_tracker.cc ('k') | trunk/src/remoting/protocol/mouse_input_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698