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

Unified Diff: remoting/protocol/video_stream.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/video_frame_pump.cc ('k') | remoting/protocol/webrtc_video_capturer_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_stream.h
diff --git a/remoting/protocol/video_stream.h b/remoting/protocol/video_stream.h
index f81db85f81c2fce065ca2e9dd50c97b3f276ed94..3f7a27bd5d6aa13e2ede033a6784cdfaae41802b 100644
--- a/remoting/protocol/video_stream.h
+++ b/remoting/protocol/video_stream.h
@@ -13,6 +13,7 @@
namespace webrtc {
class DesktopSize;
+class DesktopVector;
} // namespace webrtc
namespace remoting {
@@ -20,8 +21,11 @@ namespace protocol {
class VideoStream {
public:
- // Callback used to notify about screen size changes.
- typedef base::Callback<void(const webrtc::DesktopSize& size)> SizeCallback;
+ // Callback used to notify about screen size changes. The size must be
+ // specified in DIPs.
+ typedef base::Callback<void(const webrtc::DesktopSize& size,
+ const webrtc::DesktopVector& dpi)>
+ SizeCallback;
VideoStream() {}
virtual ~VideoStream() {}
« no previous file with comments | « remoting/protocol/video_frame_pump.cc ('k') | remoting/protocol/webrtc_video_capturer_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698