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

Unified Diff: remoting/host/setup/win/host_configurer.rc

Issue 11090063: [Chromoting] Add a simple Windows app that registers and starts a host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
Index: remoting/host/setup/win/host_configurer.rc
diff --git a/remoting/host/setup/win/host_configurer.rc b/remoting/host/setup/win/host_configurer.rc
new file mode 100644
index 0000000000000000000000000000000000000000..a6e23e0e63a13010add9774c934aef59c0292a8c
--- /dev/null
+++ b/remoting/host/setup/win/host_configurer.rc
@@ -0,0 +1,47 @@
+#include <windows.h>
+
+#include "host_configurer_resource.h"
+
+IDD_MAIN DIALOGEX 0, 0, 180, 74
+STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+FONT 8, "MS Sans Serif"
+{
+PUSHBUTTON "Start host" IDC_START_HOST, 65, 8, 50, 14
Sergey Ulanov 2012/10/11 01:15:24 These strings need to be localizeable. It might be
alexeypa (please no reviews) 2012/10/11 16:57:52 If we are going to do localization in Windows way,
alexeypa (please no reviews) 2012/10/11 16:57:52 nit: indentation.
simonmorris 2012/10/11 21:27:35 This can be addressed in a separate CL, when we've
simonmorris 2012/10/11 21:27:35 This can be addressed in a separate CL, when we've
simonmorris 2012/10/11 21:27:35 Done.
Sergey Ulanov 2012/10/15 23:44:26 That's ok, but it's better to think about it soone
+PUSHBUTTON "Change PIN" IDC_CHANGE_PIN 65, 30, 50, 14
+PUSHBUTTON "Stop host" IDC_STOP_HOST 65, 52, 50, 14
+}
+
+IDD_START_HOST DIALOGEX 0, 0, 350, 120
+STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+FONT 8, "MS Sans Serif"
+{
+LTEXT "Host name", IDC_HOST_NAME_LABEL, 8, 10, 50, 14
+EDITTEXT IDC_HOST_NAME, 60, 8, 150, 14
+LTEXT "PIN", IDC_PIN_LABEL, 8, 30, 50, 14
+EDITTEXT IDC_PIN, 60, 28, 70, 14, ES_PASSWORD | ES_NUMBER
+LTEXT "Confirm PIN", IDC_CONFIRM_PIN_LABEL, 8, 50, 50, 14
+EDITTEXT IDC_CONFIRM_PIN, 60, 48, 70, 14, ES_PASSWORD | ES_NUMBER
+CHECKBOX "", IDC_CONSENT, 8, 68, 350, 30
+PUSHBUTTON "OK" IDOK, 8, 100, 50, 14
+PUSHBUTTON "Cancel" IDCANCEL, 66, 100, 50, 14
+}
+
+STRINGTABLE
+{
+#ifdef OFFICIAL_BUILD
+IDS_TITLE, "Chrome Remote Desktop Host Configurer"
Sergey Ulanov 2012/10/11 01:15:24 These will need to me moved to string_resources.gr
alexeypa (please no reviews) 2012/10/11 16:57:52 Let's talk offline about this. There are some Wind
simonmorris 2012/10/11 21:27:35 This can be addressed in a separate CL, when we've
simonmorris 2012/10/11 21:27:35 This can be addressed in a separate CL, when we've
+IDS_CONSENT, "Help us improve Chrome Remote Desktop by allowing us to collect \
+ usage statistics and crash reports."
+#else
+IDS_TITLE, "Chromoting Host Configurer"
+IDS_CONSENT, "Help us improve Chromoting by allowing us to collect \
+ usage statistics and crash reports."
+#endif
+IDS_SAME_PIN, "Please enter the same PIN in both boxes."
+IDS_HOST_START_SUCCEEDED, "The host has started."
+IDS_HOST_START_FAILED, "Couldn't start the host."
+IDS_INVALID_PIN, "Please choose a PIN of at least 6 digits."
+IDS_USE_BROWSER, "After you press OK, a browser will start. \
+ Use it to sign on to your Google account, and to give \
+ the host the permissions it needs."
+}

Powered by Google App Engine
This is Rietveld 408576698