diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 00:56:18 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 00:56:18 +0000 |
commit | 86cbe6bb069e557edbf00d4464fdcaae48fee0f4 (patch) | |
tree | 628639ab01ab4a58496204f2eb43f172645ce5f6 /remoting/remoting.gyp | |
parent | c65e2cc1411776492160cc34ca9bc433a94a8a8a (diff) | |
download | chromium_src-86cbe6bb069e557edbf00d4464fdcaae48fee0f4.zip chromium_src-86cbe6bb069e557edbf00d4464fdcaae48fee0f4.tar.gz chromium_src-86cbe6bb069e557edbf00d4464fdcaae48fee0f4.tar.bz2 |
This CL moves much of the input tracking logic out of ClientSession, which means:
* We can re-use existing client-side input pipeline components.
* Individual features of the input pipeline are isolated from one another.
* It'll be easier to move some portions of the pipeline into ChromotingHost, where they belong.
The CL makes the following changes:
* Moves KeyEventTracker to InputEventTracker and has it release mouse buttons as well as keys.
* Moves blocking of events when there is local input to a new RemoteInputFilter component.
* Simplifies ClientSession to enable/disable events by setting and clearing the output InputStub on an InputFilter.
* Simplifies ClientSession's SetDisableInputs() (used to temporarily disable inputs during the Continue dialog for IT2Me) to use the InputFilter mechanism.
* Releases keys and buttons when entering the input-blocking state.
BUG=118511
Review URL: http://codereview.chromium.org/9465035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting.gyp')
-rw-r--r-- | remoting/remoting.gyp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp index 2b3cf7e..7757e99 100644 --- a/remoting/remoting.gyp +++ b/remoting/remoting.gyp @@ -819,6 +819,8 @@ 'host/policy_hack/nat_policy_win.cc', 'host/register_support_host_request.cc', 'host/register_support_host_request.h', + 'host/remote_input_filter.cc', + 'host/remote_input_filter.h', 'host/screen_recorder.cc', 'host/screen_recorder.h', 'host/server_log_entry.cc', @@ -1130,8 +1132,8 @@ 'protocol/jingle_session.h', 'protocol/jingle_session_manager.cc', 'protocol/jingle_session_manager.h', - 'protocol/key_event_tracker.cc', - 'protocol/key_event_tracker.h', + 'protocol/input_event_tracker.cc', + 'protocol/input_event_tracker.h', 'protocol/libjingle_transport_factory.cc', 'protocol/libjingle_transport_factory.h', 'protocol/me2me_host_authenticator_factory.cc', @@ -1263,6 +1265,7 @@ 'host/capturer_linux_unittest.cc', 'host/capturer_mac_unittest.cc', 'host/capturer_win_unittest.cc', + 'host/remote_input_filter_unittest.cc', 'host/test_key_pair.h', 'jingle_glue/fake_signal_strategy.cc', 'jingle_glue/fake_signal_strategy.h', @@ -1281,7 +1284,7 @@ 'protocol/fake_session.h', 'protocol/jingle_messages_unittest.cc', 'protocol/jingle_session_unittest.cc', - 'protocol/key_event_tracker_unittest.cc', + 'protocol/input_event_tracker_unittest.cc', 'protocol/message_decoder_unittest.cc', 'protocol/message_reader_unittest.cc', 'protocol/negotiating_authenticator_unittest.cc', |