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

Unified Diff: remoting/host/elevated_controller.rc

Issue 10071025: [Chromoting] Make the Windows host controller ask the user to confirm host registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: remoting/host/elevated_controller.rc
diff --git a/remoting/host/elevated_controller.rc b/remoting/host/elevated_controller.rc
index 3d8618a72df331b2a1b603bdbbc96a2b51f5d1d5..6c6ae78f75b3cf1964bc4e783365d5532091c9ae 100644
--- a/remoting/host/elevated_controller.rc
+++ b/remoting/host/elevated_controller.rc
@@ -19,4 +19,47 @@ BEGIN
#endif
END
-#endif // English (U.S.) resources
+#include "elevated_controller_resource.h"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+IDD_VERIFY_CONFIG_DIALOG DIALOGEX 0, 0, 221, 120
+STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION
+EXSTYLE WS_EX_TOPMOST
alexeypa (please no reviews) 2012/04/12 21:20:41 This is usually a bad idea to make a modal dialog
simonmorris 2012/04/12 22:11:44 Without that style, the dialog may be hidden behin
alexeypa (please no reviews) 2012/04/12 23:10:33 As per our discussion. It is up to the user to dec
simonmorris 2012/04/13 00:11:50 Yes, but if the user doesn't realise that there is
alexeypa (please no reviews) 2012/04/13 17:34:29 The user doesn't need to realize that if he is wor
simonmorris 2012/04/13 17:46:04 The button doesn't flash when I test.
+CAPTION "kTitle"
+FONT 8, "MS Shell Dlg", 400, 0, 0x1
+BEGIN
+ EDITTEXT IDC_PIN,7,69,107,15,WS_TABSTOP
+ DEFPUSHBUTTON "kOK",IDOK,116,100,98,14,WS_TABSTOP
+ LTEXT "kConfirmConfigChange",IDC_MESSAGE,7,7,207,30
+ LTEXT "kEmail",IDC_EMAIL,7,38,207,30
+ PUSHBUTTON "kCancel",IDCANCEL,7,100,98,14,WS_TABSTOP
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// DESIGNINFO
+//
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO
+BEGIN
+ IDD_VERIFY_CONFIG_DIALOG, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 214
+ VERTGUIDE, 105
+ VERTGUIDE, 116
+ VERTGUIDE, 203
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 52
+ END
+END
+#endif // APSTUDIO_INVOKED
+
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | remoting/host/elevated_controller_module_win.cc » ('j') | remoting/host/elevated_controller_module_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698