diff options
Diffstat (limited to 'remoting/host/screen_resolution.h')
-rw-r--r-- | remoting/host/screen_resolution.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/host/screen_resolution.h b/remoting/host/screen_resolution.h index 81690db..8adc25e 100644 --- a/remoting/host/screen_resolution.h +++ b/remoting/host/screen_resolution.h @@ -32,6 +32,9 @@ class ScreenResolution { // IsValid() returns false. bool IsEmpty() const; + // Returns true if the dimensions and DPI of the two resolutions match. + bool Equals(const ScreenResolution& other) const; + private: webrtc::DesktopSize dimensions_; webrtc::DesktopVector dpi_; |