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

Side by Side Diff: remoting/protocol/client_control_dispatcher.cc

Issue 1844143002: Add VideoLayout message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « remoting/proto/internal.proto ('k') | remoting/protocol/client_stub.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/client_control_dispatcher.h" 5 #include "remoting/protocol/client_control_dispatcher.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 clipboard_stub_->InjectClipboardEvent(message->clipboard_event()); 125 clipboard_stub_->InjectClipboardEvent(message->clipboard_event());
126 } else if (message->has_capabilities()) { 126 } else if (message->has_capabilities()) {
127 client_stub_->SetCapabilities(message->capabilities()); 127 client_stub_->SetCapabilities(message->capabilities());
128 } else if (message->has_cursor_shape()) { 128 } else if (message->has_cursor_shape()) {
129 if (CursorShapeIsValid(message->cursor_shape())) 129 if (CursorShapeIsValid(message->cursor_shape()))
130 client_stub_->SetCursorShape(message->cursor_shape()); 130 client_stub_->SetCursorShape(message->cursor_shape());
131 } else if (message->has_pairing_response()) { 131 } else if (message->has_pairing_response()) {
132 client_stub_->SetPairingResponse(message->pairing_response()); 132 client_stub_->SetPairingResponse(message->pairing_response());
133 } else if (message->has_extension_message()) { 133 } else if (message->has_extension_message()) {
134 client_stub_->DeliverHostMessage(message->extension_message()); 134 client_stub_->DeliverHostMessage(message->extension_message());
135 } else if (message->has_video_layout()) {
136 client_stub_->SetVideoLayout(message->video_layout());
135 } else { 137 } else {
136 LOG(WARNING) << "Unknown control message received."; 138 LOG(WARNING) << "Unknown control message received.";
137 } 139 }
138 } 140 }
139 141
140 } // namespace protocol 142 } // namespace protocol
141 } // namespace remoting 143 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/proto/internal.proto ('k') | remoting/protocol/client_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698