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

Unified Diff: remoting/host/resizing_host_observer_unittest.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/resizing_host_observer_unittest.cc
diff --git a/remoting/host/resizing_host_observer_unittest.cc b/remoting/host/resizing_host_observer_unittest.cc
index 5e1d51991abf55be69c3800280042becf84f1823..7944a147c9861acf0972d84500385465efcf0afc 100644
--- a/remoting/host/resizing_host_observer_unittest.cc
+++ b/remoting/host/resizing_host_observer_unittest.cc
@@ -74,7 +74,8 @@ class ResizingHostObserverTest : public testing::Test {
}
SkISize GetBestSize(const SkISize& client_size) {
- resizing_host_observer_->OnClientDimensionsChanged("", client_size);
+ resizing_host_observer_->OnClientResolutionChanged(
+ "", client_size, SkIPoint());
Jamie 2013/02/11 23:25:58 Can you add a unit test to make sure that the DPI
Wez 2013/02/12 01:55:28 You mean when hooking up the host-side DPI-handlin
return desktop_resizer_->GetCurrentSize();
}

Powered by Google App Engine
This is Rietveld 408576698