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

Unified Diff: remoting/base/capture_data.h

Issue 10736046: Add DPI information to video packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer comments. 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 | « no previous file | remoting/base/capture_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/capture_data.h
diff --git a/remoting/base/capture_data.h b/remoting/base/capture_data.h
index cea18ac4c2ca52c3f498efea1ff25fc384b71d58..7e65b373032b8948e0b6f923f589294a41178627 100644
--- a/remoting/base/capture_data.h
+++ b/remoting/base/capture_data.h
@@ -59,6 +59,10 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
client_sequence_number_ = client_sequence_number;
}
+ SkIPoint dpi() const { return dpi_; }
+
+ void set_dpi(const SkIPoint& dpi) { dpi_ = dpi; }
+
private:
friend class base::RefCountedThreadSafe<CaptureData>;
virtual ~CaptureData();
@@ -73,6 +77,9 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
// Sequence number supplied by client for performance tracking.
int64 client_sequence_number_;
+
+ // DPI for this frame.
+ SkIPoint dpi_;
};
} // namespace remoting
« no previous file with comments | « no previous file | remoting/base/capture_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698