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

Unified Diff: remoting/tools/me2me_virtual_host.py

Issue 11566037: Increase default maximum desktop size and make it configurable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed debug print Created 8 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/tools/me2me_virtual_host.py
diff --git a/remoting/tools/me2me_virtual_host.py b/remoting/tools/me2me_virtual_host.py
index 57688f2404d6e8e3a5342f1a025bb8480188dc7b..b862b38a62b5f184fe27a3738c8ffe4dd366a6bf 100755
--- a/remoting/tools/me2me_virtual_host.py
+++ b/remoting/tools/me2me_virtual_host.py
@@ -34,6 +34,7 @@ import uuid
XSESSION_COMMAND = None
LOG_FILE_ENV_VAR = "CHROME_REMOTE_DESKTOP_LOG_FILE"
+MAXIMUM_SIZE_ENV_VAR = "CHROME_REMOTE_DESKTOP_MAXIMUM_DESTOP_SIZE"
Wez 2012/12/14 19:07:00 typo: DESTOP
Jamie 2012/12/14 19:29:16 Done.
SCRIPT_PATH = sys.path[0]
@@ -748,7 +749,9 @@ def waitpid_handle_exceptions(pid, deadline):
def main():
- DEFAULT_SIZE = "2560x1600"
+ DEFAULT_SIZE = "3840x1600"
Wez 2012/12/14 19:07:00 This is an insane default size, e.g. if the user c
Jamie 2012/12/14 19:29:16 We don't have a MAXIMUM_SIZE variable--it's comput
Wez 2012/12/14 19:30:13 SGTM :)
Jamie 2012/12/14 19:42:58 Done.
+ if os.environ.has_key(MAXIMUM_SIZE_ENV_VAR):
+ DEFAULT_SIZE = os.environ[MAXIMUM_SIZE_ENV_VAR]
EPILOG = """This script is not intended for use by end-users. To configure
Chrome Remote Desktop, please install the app from the Chrome
Web Store: https://chrome.google.com/remotedesktop"""
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698