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

Unified Diff: remoting/client/chromoting_client.cc

Issue 3038001: Reapply r51857 to start building chromoting plugin. Update for ppapi changes. (Closed)
Patch Set: rebased correctly. Created 10 years, 5 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.h ('k') | remoting/client/plugin/chromoting_plugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index cad19933250f281aae4cdcf5d06c9cd79535c662..39f18b451c7373fca688e2509e414c4ce6c4720d 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -8,9 +8,9 @@
#include "remoting/client/chromoting_view.h"
#include "remoting/client/host_connection.h"
-static const uint32 kCreatedColor = 0xff0000ff;
-static const uint32 kDisconnectedColor = 0xff00ff00;
-static const uint32 kFailedColor = 0xffff0000;
+static const uint32 kCreatedColor = 0xffccccff;
+static const uint32 kDisconnectedColor = 0xff00ccff;
+static const uint32 kFailedColor = 0xffcc00ff;
namespace remoting {
@@ -162,9 +162,9 @@ void ChromotingClient::DoHandleUpdate(HostMessage* msg) {
void ChromotingClient::DoEndUpdate(HostMessage* msg) {
DCHECK_EQ(message_loop(), MessageLoop::current());
- DCHECK(msg->has_update_stream_packet());
+ DCHECK(msg->has_end_update_stream());
- view_->HandleUpdateStreamPacket(msg);
+ view_->HandleEndUpdateStream(msg);
}
} // namespace remoting
« no previous file with comments | « remoting/client/chromoting_client.h ('k') | remoting/client/plugin/chromoting_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698