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

Unified Diff: remoting/host/desktop_session_agent.h

Issue 12594009: Converted LocalInputMonitor into a SessionController instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 7 years, 9 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/desktop_session_agent.h
diff --git a/remoting/host/desktop_session_agent.h b/remoting/host/desktop_session_agent.h
index 60583ca5bf6dc76af9da60428392a53209384c6d..e44910b3a79bcef0b368ff7084e8aeec5dcae99c 100644
--- a/remoting/host/desktop_session_agent.h
+++ b/remoting/host/desktop_session_agent.h
@@ -36,7 +36,6 @@ class AutoThreadTaskRunner;
class DesktopEnvironmentFactory;
class DisconnectWindow;
class EventExecutor;
-class LocalInputMonitor;
class RemoteInputFilter;
class ScreenResolution;
@@ -116,6 +115,7 @@ class DesktopSessionAgent
// SessionController::Delegate interface.
virtual void DisconnectSession() OVERRIDE;
virtual void OnLocalMouseMoved(const SkIPoint& position) OVERRIDE;
+ virtual void PauseSession(bool pause) OVERRIDE;
// Creates a connected IPC channel to be used to access the screen/audio
// recorders and input stubs.
@@ -216,10 +216,6 @@ class DesktopSessionAgent
// Executes keyboard, mouse and clipboard events.
scoped_ptr<EventExecutor> event_executor_;
- // Monitor local inputs to allow remote inputs to be blocked while the local
- // user is trying to do something.
- scoped_ptr<LocalInputMonitor> local_input_monitor_;
-
// Tracker used to release pressed keys and buttons when disconnecting.
scoped_ptr<protocol::InputEventTracker> input_tracker_;

Powered by Google App Engine
This is Rietveld 408576698