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

Unified Diff: remoting/host/chromoting_host.cc

Issue 12220092: Rename ClientDimensions to ClientResolution and add pixel-size and DPI fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typos in ChromotingInstance. Created 7 years, 10 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
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 51d50aa13df93beac5ae2561cc9e6e4bfa911246..848b926c7f8c014b48fde844b40ddac48123721b 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -266,11 +266,13 @@ void ChromotingHost::OnSessionRouteChange(
route));
}
-void ChromotingHost::OnClientDimensionsChanged(ClientSession* session,
- const SkISize& size) {
+void ChromotingHost::OnClientResolutionChanged(ClientSession* session,
+ const SkISize& size,
+ const SkIPoint& dpi) {
DCHECK(network_task_runner_->BelongsToCurrentThread());
FOR_EACH_OBSERVER(HostStatusObserver, status_observers_,
- OnClientDimensionsChanged(session->client_jid(), size));
+ OnClientResolutionChanged(session->client_jid(),
+ size, dpi));
}
void ChromotingHost::OnSessionManagerReady() {

Powered by Google App Engine
This is Rietveld 408576698