|
Refactoring of the client-side input pipeline and scaling dimension management.
The main changes are:
* Express key-release, mouse coordinate scaling and clamping as InputStubs.
* KeyEventTracker handles key release.
* MouseInputFilter handles mouse scaling & clamping.
* PepperInputHandler converts Pepper events to InputStub events.
* Replace scaling ratios with host and view dimensions.
This resulted in some related changes
* The DecoderVp8 enforces a <=1:1 output-size before converting the frame.
* The setScaleToFit() API now has no effect.
* ChromotingView has become a pure interface again.
Things this CL is currently missing:
* Unit-tests for the new components.
Future work:
* Move the non-Pepper-specific input pipeline components to ChromotingClient.
* Rework the decode / convert / scale / render pipeline.
BUG= 93552
TEST=remoting_unittests, and manual testing.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=115511
Total comments: 57
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+430 lines, -792 lines) |
Patch |
 |
M |
remoting/base/decoder.h
|
View
|
1
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
remoting/base/decoder_vp8.h
|
View
|
1
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/base/decoder_vp8.cc
|
View
|
1
2
3
|
5 chunks |
+24 lines, -32 lines |
0 comments
|
Download
|
 |
M |
remoting/base/util.h
|
View
|
1
2
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/base/util.cc
|
View
|
1
2
|
4 chunks |
+26 lines, -24 lines |
0 comments
|
Download
|
 |
M |
remoting/client/chromoting_client.h
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/client/chromoting_client.cc
|
View
|
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
remoting/client/chromoting_view.h
|
View
|
|
3 chunks |
+2 lines, -24 lines |
0 comments
|
Download
|
 |
D |
remoting/client/chromoting_view.cc
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
D |
remoting/client/input_handler.h
|
View
|
1
|
1 chunk |
+0 lines, -52 lines |
0 comments
|
Download
|
 |
D |
remoting/client/input_handler.cc
|
View
|
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
 |
A |
remoting/client/mouse_input_filter.h
|
View
|
1
2
3
4
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/client/mouse_input_filter.cc
|
View
|
1
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/chromoting_instance.h
|
View
|
1
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/chromoting_instance.cc
|
View
|
1
|
8 chunks |
+37 lines, -109 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/chromoting_scriptable_object.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/chromoting_scriptable_object.cc
|
View
|
1
|
2 chunks |
+5 lines, -15 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/pepper_input_handler.h
|
View
|
1
|
1 chunk |
+10 lines, -20 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/pepper_input_handler.cc
|
View
|
1
|
1 chunk |
+83 lines, -72 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/pepper_view.h
|
View
|
1
|
5 chunks |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/pepper_view.cc
|
View
|
1
|
3 chunks |
+6 lines, -22 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/pepper_view_proxy.h
|
View
|
1
|
1 chunk |
+0 lines, -87 lines |
0 comments
|
Download
|
 |
M |
remoting/client/plugin/pepper_view_proxy.cc
|
View
|
1
|
1 chunk |
+0 lines, -154 lines |
0 comments
|
Download
|
 |
M |
remoting/client/rectangle_update_decoder.h
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/client/rectangle_update_decoder.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
remoting/host/client_session.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/key_event_tracker.h
|
View
|
1
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/key_event_tracker.cc
|
View
|
1
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting.gyp
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|