summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_mock_objects.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/host_mock_objects.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/host_mock_objects.h')
-rw-r--r--remoting/host/host_mock_objects.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index 1c32dab..1c4e88e 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -94,8 +94,9 @@ class MockClientSessionEventHandler : public ClientSession::EventHandler {
ClientSession* client,
const std::string& channel_name,
const protocol::TransportRoute& route));
- MOCK_METHOD2(OnClientDimensionsChanged, void(ClientSession* client,
- const SkISize& size));
+ MOCK_METHOD3(OnClientResolutionChanged, void(ClientSession* client,
+ const SkISize& size,
+ const SkIPoint& dpi));
private:
DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler);