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

Unified Diff: remoting/client/frame_consumer_proxy.cc

Issue 10801003: Propagate DPI information to web-app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer feedback. Created 8 years, 5 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
« no previous file with comments | « remoting/client/frame_consumer_proxy.h ('k') | remoting/client/plugin/chromoting_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/frame_consumer_proxy.cc
diff --git a/remoting/client/frame_consumer_proxy.cc b/remoting/client/frame_consumer_proxy.cc
index 11ac1e31c79ff9e67ae95178f922393f5e052f91..cce34f148659d72f4d98e4291b689468b7a20314 100644
--- a/remoting/client/frame_consumer_proxy.cc
+++ b/remoting/client/frame_consumer_proxy.cc
@@ -42,15 +42,16 @@ void FrameConsumerProxy::ReturnBuffer(pp::ImageData* buffer) {
frame_consumer_->ReturnBuffer(buffer);
}
-void FrameConsumerProxy::SetSourceSize(const SkISize& source_size) {
+void FrameConsumerProxy::SetSourceSize(const SkISize& source_size,
+ const SkIPoint& source_dpi) {
if (!task_runner_->BelongsToCurrentThread()) {
task_runner_->PostTask(FROM_HERE, base::Bind(
- &FrameConsumerProxy::SetSourceSize, this, source_size));
+ &FrameConsumerProxy::SetSourceSize, this, source_size, source_dpi));
return;
}
if (frame_consumer_)
- frame_consumer_->SetSourceSize(source_size);
+ frame_consumer_->SetSourceSize(source_size, source_dpi);
}
void FrameConsumerProxy::Attach(
« no previous file with comments | « remoting/client/frame_consumer_proxy.h ('k') | remoting/client/plugin/chromoting_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698