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

Unified Diff: remoting/client/plugin/chromoting_instance.h

Issue 8985007: Refactoring of the client-side input pipeline and scaling dimension management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years 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/client/plugin/chromoting_instance.h
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
index 427d420aced3ec1483002edd6ea70a8be750fcb1..2b11b5a77ce4f961d2f0f3c7ea1012564f5ddfbc 100644
--- a/remoting/client/plugin/chromoting_instance.h
+++ b/remoting/client/plugin/chromoting_instance.h
@@ -32,14 +32,15 @@ namespace remoting {
namespace protocol {
class ConnectionToHost;
+class KeyEventTracker;
} // namespace protocol
class ChromotingClient;
class ChromotingStats;
class ClientContext;
-class InputHandler;
+class MouseInputFilter;
+class PepperInputHandler;
class PepperView;
-class PepperViewProxy;
class RectangleUpdateDecoder;
struct ClientConfig;
@@ -118,16 +119,10 @@ class ChromotingInstance : public pp::InstancePrivate {
// True if scale to fit is enabled.
bool scale_to_fit_;
- // PepperViewProxy is refcounted and used to interface between chromoting
- // objects and PepperView and perform thread switching. It wraps around
- // |view_| and receives method calls on chromoting threads. These method
- // calls are then delegates on the pepper thread. During destruction of
- // ChromotingInstance we need to detach PepperViewProxy from PepperView since
- // both ChromotingInstance and PepperView are destroyed and there will be
- // outstanding tasks on the pepper message loop.
- scoped_refptr<PepperViewProxy> view_proxy_;
scoped_refptr<RectangleUpdateDecoder> rectangle_decoder_;
- scoped_ptr<InputHandler> input_handler_;
+ scoped_ptr<MouseInputFilter> mouse_input_filter_;
+ scoped_ptr<protocol::KeyEventTracker> key_event_tracker_;
+ scoped_ptr<PepperInputHandler> input_handler_;
scoped_ptr<ChromotingClient> client_;
// XmppProxy is a refcounted interface used to perform thread-switching and

Powered by Google App Engine
This is Rietveld 408576698