Index: remoting/client/chromoting_view.cc |
diff --git a/remoting/client/chromoting_view.cc b/remoting/client/chromoting_view.cc |
index f985669a33b2ef5f33f8ace38cb7b921280084c0..95d2dfafb5bff9070caa58d68b8c6982699a0335 100644 |
--- a/remoting/client/chromoting_view.cc |
+++ b/remoting/client/chromoting_view.cc |
@@ -14,6 +14,14 @@ ChromotingView::ChromotingView() |
frame_height_(0) { |
} |
+ |
+// TODO(garykac): This assumes a single screen. This will need to be adjusted |
+// to add support for mulitple monitors. |
+void ChromotingView::GetScreenSize(int* width, int* height) { |
+ *width = frame_width_; |
+ *height = frame_height_; |
+} |
+ |
bool ChromotingView::SetupDecoder(UpdateStreamEncoding encoding) { |
if (encoding == EncodingInvalid) { |
LOG(ERROR) << "Cannot create encoder for EncodingInvalid"; |