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

Unified Diff: remoting/host/host_status_observer.h

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/host_status_observer.h
diff --git a/remoting/host/host_status_observer.h b/remoting/host/host_status_observer.h
index a37e9e48f032c3b2f77edb226240acd26e1b826c..f2e2198c7788fbbb71bdd798dd0400fed17eee6b 100644
--- a/remoting/host/host_status_observer.h
+++ b/remoting/host/host_status_observer.h
@@ -46,9 +46,10 @@ class HostStatusObserver {
const std::string& channel_name,
const protocol::TransportRoute& route) {}
- // Called when the client view dimensions change.
- virtual void OnClientDimensionsChanged(const std::string& jid,
- const SkISize& size) {}
+ // Called when the client view size or pixel density change.
+ virtual void OnClientResolutionChanged(const std::string& jid,
+ const SkISize& size,
+ const SkIPoint& dpi) {}
// Called when hosting is started for an account.
virtual void OnStart(const std::string& xmpp_login) {}

Powered by Google App Engine
This is Rietveld 408576698