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

Unified Diff: remoting/protocol/client_video_dispatcher.h

Issue 1844143002: Add VideoLayout message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « remoting/protocol/client_stub.h ('k') | remoting/protocol/client_video_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_video_dispatcher.h
diff --git a/remoting/protocol/client_video_dispatcher.h b/remoting/protocol/client_video_dispatcher.h
index b6cc348900aaa3795fbab2711b0c43c76a5d7ce5..717500da48940aa714707b1d8615c0bdf9e6ec3f 100644
--- a/remoting/protocol/client_video_dispatcher.h
+++ b/remoting/protocol/client_video_dispatcher.h
@@ -10,16 +10,19 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "remoting/base/constants.h"
#include "remoting/protocol/channel_dispatcher_base.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace remoting {
namespace protocol {
+class ClientStub;
class VideoStub;
class ClientVideoDispatcher : public ChannelDispatcherBase {
public:
- explicit ClientVideoDispatcher(VideoStub* video_stub);
+ ClientVideoDispatcher(VideoStub* video_stub, ClientStub* client_stub);
~ClientVideoDispatcher() override;
private:
@@ -34,6 +37,11 @@ class ClientVideoDispatcher : public ChannelDispatcherBase {
PendingFramesList pending_frames_;
VideoStub* video_stub_;
+ ClientStub* client_stub_;
+
+ webrtc::DesktopSize screen_size_;
+ webrtc::DesktopVector screen_dpi_ =
+ webrtc::DesktopVector(kDefaultDpi, kDefaultDpi);
base::WeakPtrFactory<ClientVideoDispatcher> weak_factory_;
« no previous file with comments | « remoting/protocol/client_stub.h ('k') | remoting/protocol/client_video_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698