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

Unified Diff: remoting/host/mouse_clamping_filter.h

Issue 11761019: Tiny little refactoring of DesktopEnvironment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/host/local_desktop_environment.cc ('k') | remoting/host/mouse_clamping_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/mouse_clamping_filter.h
diff --git a/remoting/host/mouse_clamping_filter.h b/remoting/host/mouse_clamping_filter.h
index 02ff17a214cb80255670012c92bd773fd2fe3581..ceca553566f9ef2231e87f4fd822eb3c8502d065 100644
--- a/remoting/host/mouse_clamping_filter.h
+++ b/remoting/host/mouse_clamping_filter.h
@@ -10,14 +10,14 @@
namespace remoting {
-class VideoFrameCapturer;
+class DesktopEnvironment;
// Filtering InputStub implementation which clamps mouse each mouse event to
// the current dimensions of a VideoFrameCapturer instance before passing
// them on to the target |input_stub|.
class MouseClampingFilter : public protocol::MouseInputFilter {
public:
- MouseClampingFilter(VideoFrameCapturer* capturer,
+ MouseClampingFilter(DesktopEnvironment* desktop_environment,
protocol::InputStub* input_stub);
virtual ~MouseClampingFilter();
@@ -25,7 +25,7 @@ class MouseClampingFilter : public protocol::MouseInputFilter {
virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
private:
- VideoFrameCapturer* capturer_;
+ DesktopEnvironment* desktop_environment_;
DISALLOW_COPY_AND_ASSIGN(MouseClampingFilter);
};
« no previous file with comments | « remoting/host/local_desktop_environment.cc ('k') | remoting/host/mouse_clamping_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698