summaryrefslogtreecommitdiffstats
path: root/remoting/client/chromoting_client.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-20 01:37:36 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-20 01:37:36 +0000
commita971e180d64cf2575bfbc8f092c2674f735c3754 (patch)
tree6743ca1353c15ce05c95a03a27ec044a6c10d0ae /remoting/client/chromoting_client.h
parent76f6334342185167a22d829990103e7361c2f8d1 (diff)
downloadchromium_src-a971e180d64cf2575bfbc8f092c2674f735c3754.zip
chromium_src-a971e180d64cf2575bfbc8f092c2674f735c3754.tar.gz
chromium_src-a971e180d64cf2575bfbc8f092c2674f735c3754.tar.bz2
Rename ChromotingView to ClientUserInterface. Clean it up.
ChromotingView wasn't really doing what it was initially meant to do, now FrameProducer and FrameConsumer interfaces are used to process video stream. Renamed and simplified that interface. Also moved implementation from PepperView to ChromotingInstance. Review URL: https://chromiumcodereview.appspot.com/10703144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/chromoting_client.h')
-rw-r--r--remoting/client/chromoting_client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
index d15073f..d68ae3b 100644
--- a/remoting/client/chromoting_client.h
+++ b/remoting/client/chromoting_client.h
@@ -15,7 +15,6 @@
#include "base/time.h"
#include "remoting/client/client_config.h"
#include "remoting/client/chromoting_stats.h"
-#include "remoting/client/chromoting_view.h"
#include "remoting/protocol/audio_stub.h"
#include "remoting/protocol/client_stub.h"
#include "remoting/protocol/clipboard_stub.h"
@@ -35,6 +34,7 @@ class TransportFactory;
} // namespace protocol
class AudioPlayer;
+class ClientUserInterface;
class RectangleUpdateDecoder;
// TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder.
@@ -47,7 +47,7 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
ChromotingClient(const ClientConfig& config,
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
protocol::ConnectionToHost* connection,
- ChromotingView* view,
+ ClientUserInterface* user_interface,
RectangleUpdateDecoder* rectangle_decoder,
AudioPlayer* audio_player);
@@ -110,7 +110,7 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
ClientConfig config_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
protocol::ConnectionToHost* connection_;
- ChromotingView* view_;
+ ClientUserInterface* user_interface_;
RectangleUpdateDecoder* rectangle_decoder_;
AudioPlayer* audio_player_;