summaryrefslogtreecommitdiffstats
path: root/remoting/host/resizing_host_observer.cc
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 04:31:01 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 04:31:01 +0000
commit48a8ca3ed1782d239d38fef2ac03765f2d38eb5f (patch)
tree13a7c9f5106fd50b6e1c04c0bd2fb4bd18cff9c6 /remoting/host/resizing_host_observer.cc
parentb7ca2edf7bfebc4b3c831665b3579f07bfcab7ed (diff)
downloadchromium_src-48a8ca3ed1782d239d38fef2ac03765f2d38eb5f.zip
chromium_src-48a8ca3ed1782d239d38fef2ac03765f2d38eb5f.tar.gz
chromium_src-48a8ca3ed1782d239d38fef2ac03765f2d38eb5f.tar.bz2
Rename ClientDimensions to ClientResolution and add pixel-size and DPI fields.
This CL also updates the client and host protocol handlers to the new name. BUG=172404 Review URL: https://chromiumcodereview.appspot.com/12220092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/resizing_host_observer.cc')
-rw-r--r--remoting/host/resizing_host_observer.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/host/resizing_host_observer.cc b/remoting/host/resizing_host_observer.cc
index 039c94d..06d1187 100644
--- a/remoting/host/resizing_host_observer.cc
+++ b/remoting/host/resizing_host_observer.cc
@@ -126,8 +126,10 @@ class CandidateSize {
SkISize size_;
};
-void ResizingHostObserver::OnClientDimensionsChanged(
- const std::string& jid, const SkISize& preferred_size) {
+void ResizingHostObserver::OnClientResolutionChanged(
+ const std::string& jid,
+ const SkISize& preferred_size,
+ const SkIPoint& dpi) {
if (previous_size_.isZero() || preferred_size.isEmpty()) {
return;
}