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

Unified Diff: remoting/webapp/app_remoting/js/app_connected_view.js

Issue 1109453005: [Chromoting] Extract shared viewport code into viewport.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/remoting_webapp_files.gypi ('k') | remoting/webapp/base/js/viewport.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/app_remoting/js/app_connected_view.js
diff --git a/remoting/webapp/app_remoting/js/app_connected_view.js b/remoting/webapp/app_remoting/js/app_connected_view.js
index a6765515931c4ff2c649e40abe9827826e69ae3d..73c308840c75abfff56082c91db00444f2c314d0 100644
--- a/remoting/webapp/app_remoting/js/app_connected_view.js
+++ b/remoting/webapp/app_remoting/js/app_connected_view.js
@@ -122,7 +122,7 @@ remoting.AppConnectedView.prototype.onDesktopSizeChanged_ =
var hostSize = { width: hostDesktop.width, height: hostDesktop.height };
var hostDpi = { x: hostDesktop.xDpi, y: hostDesktop.yDpi };
var clientArea = { width: window.innerWidth, height: window.innerHeight };
- var newSize = remoting.DesktopViewport.choosePluginSize(
+ var newSize = remoting.Viewport.choosePluginSize(
clientArea, window.devicePixelRatio,
hostSize, hostDpi, this.host_.options.desktopScale,
true /* fullscreen */ , true /* shrinkToFit */ );
« no previous file with comments | « remoting/remoting_webapp_files.gypi ('k') | remoting/webapp/base/js/viewport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698