summaryrefslogtreecommitdiffstats
path: root/remoting/host/client_session.h
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/client_session.h
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/client_session.h')
-rw-r--r--remoting/host/client_session.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 6d32adf..5ed34f3 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -78,10 +78,11 @@ class ClientSession
const std::string& channel_name,
const protocol::TransportRoute& route) = 0;
- // Called when the initial client dimensions are received, and when they
- // change.
- virtual void OnClientDimensionsChanged(ClientSession* client,
- const SkISize& size) = 0;
+ // Called when the initial client resolution is received, and when it
+ // changes.
+ virtual void OnClientResolutionChanged(ClientSession* client,
+ const SkISize& size,
+ const SkIPoint& dpi) = 0;
protected:
virtual ~EventHandler() {}
@@ -102,8 +103,8 @@ class ClientSession
const base::TimeDelta& max_duration);
// protocol::HostStub interface.
- virtual void NotifyClientDimensions(
- const protocol::ClientDimensions& dimensions) OVERRIDE;
+ virtual void NotifyClientResolution(
+ const protocol::ClientResolution& resolution) OVERRIDE;
virtual void ControlVideo(
const protocol::VideoControl& video_control) OVERRIDE;
virtual void ControlAudio(