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

Unified Diff: remoting/client/ui/desktop_viewport.h

Issue 2909703002: [CRD iOS] Preserve viewport state when toggling the soft keyboard (Closed)
Patch Set: Merge ToT Created 3 years, 7 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/client/ui/desktop_viewport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ui/desktop_viewport.h
diff --git a/remoting/client/ui/desktop_viewport.h b/remoting/client/ui/desktop_viewport.h
index c000ba4b05d02bacf946ee9eb0907dd4dc3f0ec6..f22451eb3c7e9d8396a329bd529e299e8fde931a 100644
--- a/remoting/client/ui/desktop_viewport.h
+++ b/remoting/client/ui/desktop_viewport.h
@@ -35,10 +35,11 @@ class DesktopViewport {
DesktopViewport();
~DesktopViewport();
- // Sets the |desktop_size_| and initializes the viewport when necessary.
+ // Sets the |desktop_size_| and (re)initializes the viewport.
void SetDesktopSize(int desktop_width, int desktop_height);
- // Sets the |surface_size_| and initializes the viewport when necessary.
+ // Sets the |surface_size_| and (re)initializes the viewport if both
+ // dimensions are changed.
void SetSurfaceSize(int surface_width, int surface_height);
// Translates the desktop on the surface's reference frame by <dx, dy>.
« no previous file with comments | « no previous file | remoting/client/ui/desktop_viewport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698