| Index: remoting/client/ui/desktop_viewport.h
|
| diff --git a/remoting/client/ui/desktop_viewport.h b/remoting/client/ui/desktop_viewport.h
|
| index 56c1a69f30879ad753062e130464d7e7379718da..c000ba4b05d02bacf946ee9eb0907dd4dc3f0ec6 100644
|
| --- a/remoting/client/ui/desktop_viewport.h
|
| +++ b/remoting/client/ui/desktop_viewport.h
|
| @@ -57,6 +57,9 @@ class DesktopViewport {
|
| // Returns the current center of the viewport on the desktop's coordinate.
|
| ViewMatrix::Point GetViewportCenter() const;
|
|
|
| + // Returns true if |point| is within the bounds of the desktop.
|
| + bool IsPointWithinDesktopBounds(const ViewMatrix::Point& point) const;
|
| +
|
| // Constrains |point| within the bounds of the desktop. Do nothing if the
|
| // desktop size is not set.
|
| ViewMatrix::Point ConstrainPointToDesktop(
|
|
|