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

Unified Diff: remoting/client/client_user_interface.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/client/chromoting_client.cc ('k') | remoting/client/jni/chromoting_jni_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/client_user_interface.h
diff --git a/remoting/client/client_user_interface.h b/remoting/client/client_user_interface.h
index be578d2ac7fa75579e27ee2c52c91218afd3d6e5..7b8edbe1d9b28b91d33197ebffbe11a04a6bd1fa 100644
--- a/remoting/client/client_user_interface.h
+++ b/remoting/client/client_user_interface.h
@@ -11,6 +11,11 @@
#include "remoting/protocol/connection_to_host.h"
#include "remoting/protocol/third_party_client_authenticator.h"
+namespace webrtc {
+class DesktopSize;
+class DesktopVector;
+} // namespace webrtc
+
namespace remoting {
namespace protocol {
@@ -48,6 +53,11 @@ class ClientUserInterface {
virtual void DeliverHostMessage(
const protocol::ExtensionMessage& message) = 0;
+ // Notify the client about screen dimensions. The |size| is in physical
+ // pixels.
+ virtual void SetDesktopSize(const webrtc::DesktopSize& size,
+ const webrtc::DesktopVector& dpi) = 0;
+
// Get the view's ClipboardStub implementation.
virtual protocol::ClipboardStub* GetClipboardStub() = 0;
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/jni/chromoting_jni_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698