[Win] Implement Authentication dialog in MiniBrowser
[WebKit-https.git] / Tools / MiniBrowser / win / MiniBrowserLib.rc
1 // Microsoft Visual C++ generated resource script.\r
2 //\r
3 #include "MiniBrowserLibResource.h"\r
4 \r
5 #define APSTUDIO_READONLY_SYMBOLS\r
6 /////////////////////////////////////////////////////////////////////////////\r
7 //\r
8 // Generated from the TEXTINCLUDE 2 resource.\r
9 //\r
10 #define APSTUDIO_HIDDEN_SYMBOLS\r
11 #include "windows.h"\r
12 #undef APSTUDIO_HIDDEN_SYMBOLS\r
13 \r
14 /////////////////////////////////////////////////////////////////////////////\r
15 #undef APSTUDIO_READONLY_SYMBOLS\r
16 \r
17 /////////////////////////////////////////////////////////////////////////////\r
18 // English (United States) resources\r
19 \r
20 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r
21 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r
22 #pragma code_page(1252)\r
23 \r
24 /////////////////////////////////////////////////////////////////////////////\r
25 //\r
26 // Icon\r
27 //\r
28 \r
29 // Icon with lowest ID value placed first to ensure application icon\r
30 // remains consistent on all systems.\r
31 IDI_MINIBROWSER         ICON                    "MiniBrowser.ico"\r
32 \r
33 IDI_SMALL               ICON                    "small.ico"\r
34 \r
35 \r
36 /////////////////////////////////////////////////////////////////////////////\r
37 //\r
38 // Menu\r
39 //\r
40 \r
41 IDC_MINIBROWSER MENU\r
42 BEGIN\r
43     POPUP "&File"\r
44     BEGIN\r
45         MENUITEM "&Print\tCtrl-P",              IDM_PRINT\r
46         MENUITEM "E&xit",                       IDM_EXIT\r
47     END\r
48     POPUP "&View"\r
49     BEGIN\r
50         MENUITEM "Actual Size",                 IDM_ACTUAL_SIZE\r
51         MENUITEM "Zoom In\tCtrl++",             IDM_ZOOM_IN\r
52         MENUITEM "Zoom Out\tCtrl+-",            IDM_ZOOM_OUT\r
53         MENUITEM "Invert Colors",               IDM_INVERT_COLORS\r
54     END\r
55     POPUP "&History"\r
56     BEGIN\r
57         MENUITEM "Back",                        IDM_HISTORY_BACKWARD\r
58         MENUITEM "Forward",                     IDM_HISTORY_FORWARD\r
59         MENUITEM SEPARATOR\r
60         MENUITEM "Unused History 0",            IDM_HISTORY_LINK0\r
61         MENUITEM "Unused History 1",            IDM_HISTORY_LINK1\r
62         MENUITEM "Unused History 2",            IDM_HISTORY_LINK2\r
63         MENUITEM "Unused History 3",            IDM_HISTORY_LINK3\r
64         MENUITEM "Unused History 4",            IDM_HISTORY_LINK4\r
65         MENUITEM "Unused History 5",            IDM_HISTORY_LINK5\r
66         MENUITEM "Unused History 6",            IDM_HISTORY_LINK6\r
67         MENUITEM "Unused History 7",            IDM_HISTORY_LINK7\r
68         MENUITEM "Unused History 8",            IDM_HISTORY_LINK8\r
69         MENUITEM "Unused History 9",            IDM_HISTORY_LINK9\r
70     END\r
71     POPUP "D&evelop"\r
72     BEGIN\r
73         MENUITEM "Show Web Inspector",          IDM_WEB_INSPECTOR\r
74         POPUP "User Agent"\r
75         BEGIN\r
76             MENUITEM "Default (Automatically Chosen)", IDM_UA_DEFAULT\r
77             MENUITEM SEPARATOR\r
78             MENUITEM "Safari 8.0",                  IDM_UA_SAFARI_8_0\r
79             MENUITEM SEPARATOR\r
80             MENUITEM "Safari iOS 8 - iPhone",       IDM_UA_SAFARI_IOS_8_IPHONE\r
81             MENUITEM "Safari iOS 8 - iPad",         IDM_UA_SAFARI_IOS_8_IPAD\r
82             MENUITEM SEPARATOR\r
83             MENUITEM "Internet Explorer 11.0",      IDM_UA_IE_11\r
84             MENUITEM SEPARATOR\r
85             MENUITEM "Google Chrome - Mac",         IDM_UA_CHROME_MAC\r
86             MENUITEM "Google Chrome - Windows",     IDM_UA_CHROME_WIN\r
87             MENUITEM SEPARATOR\r
88             MENUITEM "Firefox - Mac",               IDM_UA_FIREFOX_MAC\r
89             MENUITEM "Firefox - Windows",           IDM_UA_FIREFOX_WIN\r
90             MENUITEM SEPARATOR\r
91             MENUITEM "Other",                       IDM_UA_OTHER\r
92         END\r
93         MENUITEM SEPARATOR\r
94         MENUITEM "Disable Images",              IDM_DISABLE_IMAGES\r
95         MENUITEM "Disable Styles",              IDM_DISABLE_STYLES\r
96         MENUITEM "Disable JavaScript",          IDM_DISABLE_JAVASCRIPT\r
97         MENUITEM "Disable Local File Restrictions", IDM_DISABLE_LOCAL_FILE_RESTRICTIONS\r
98     END\r
99     POPUP "&Help"\r
100     BEGIN\r
101         MENUITEM "&About ...",                  IDM_ABOUT\r
102     END\r
103     POPUP "&Debug"\r
104     BEGIN\r
105         MENUITEM "Use AVFoundation",            IDM_AVFOUNDATION, CHECKED\r
106         MENUITEM "Use Accelerated Compositing", IDM_ACC_COMPOSITING, CHECKED\r
107         MENUITEM "Enable WebKit Full Screen",   IDM_WK_FULLSCREEN, CHECKED\r
108         MENUITEM SEPARATOR\r
109         MENUITEM "Show Compositing Borders",    IDM_COMPOSITING_BORDERS\r
110         MENUITEM "Show Tiled Drawing indicator", IDM_DEBUG_INFO_LAYER\r
111         MENUITEM SEPARATOR\r
112         MENUITEM "Show Caches Window",          IDM_CACHES\r
113         MENUITEM "Show Layer Tree",             IDM_SHOW_LAYER_TREE\r
114     END\r
115 END\r
116 \r
117 \r
118 /////////////////////////////////////////////////////////////////////////////\r
119 //\r
120 // Accelerator\r
121 //\r
122 \r
123 IDC_MINIBROWSER ACCELERATORS\r
124 BEGIN\r
125     "/",            IDM_ABOUT,              ASCII,  ALT, NOINVERT\r
126     "?",            IDM_ABOUT,              ASCII,  ALT, NOINVERT\r
127     VK_ADD,         IDM_ZOOM_IN,            VIRTKEY, CONTROL, NOINVERT\r
128     VK_SUBTRACT,    IDM_ZOOM_OUT,           VIRTKEY, CONTROL, NOINVERT\r
129 END\r
130 \r
131 \r
132 /////////////////////////////////////////////////////////////////////////////\r
133 //\r
134 // Dialog\r
135 //\r
136 \r
137 IDD_ABOUTBOX DIALOGEX 22, 17, 230, 75\r
138 STYLE DS_SETFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU\r
139 CAPTION "About"\r
140 FONT 8, "System", 0, 0, 0x0\r
141 BEGIN\r
142     ICON            IDI_MINIBROWSER,IDC_MYICON,14,9,20,20\r
143     LTEXT           "MiniBrowser Version 1.0",IDC_STATIC,49,10,119,8,SS_NOPREFIX\r
144     LTEXT           "Copyright (C) 2015",IDC_STATIC,49,20,119,8\r
145     DEFPUSHBUTTON   "OK",IDOK,195,6,30,11,WS_GROUP\r
146 END\r
147 \r
148 IDD_CACHES DIALOGEX 0, 0, 401, 456\r
149 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU\r
150 CAPTION "Dialog"\r
151 FONT 8, "MS Shell Dlg", 400, 0, 0x1\r
152 BEGIN\r
153     DEFPUSHBUTTON   "OK",IDOK,287,435,50,14\r
154     PUSHBUTTON      "Cancel",IDCANCEL,344,435,50,14\r
155     GROUPBOX        "FastMalloc",IDC_STATIC,208,14,186,67\r
156     GROUPBOX        "WebCore Cache",IDC_STATIC,17,83,376,105\r
157     GROUPBOX        "JavaScript Heap",IDC_STATIC,18,193,376,168\r
158     GROUPBOX        "Site Icon Database",IDC_STATIC,18,366,142,65\r
159     GROUPBOX        "Font and Glyph Caches",IDC_STATIC,168,366,226,66\r
160     GROUPBOX        "CFURLCache",IDC_STATIC,7,14,197,67\r
161     PUSHBUTTON      "Empty URLCache",IDC_EMPTY_URL_CACHE,131,63,69,14,WS_DISABLED\r
162     PUSHBUTTON      "Return Free Memory",IDC_RETURN_FREE_MEMORY,308,63,76,14,WS_DISABLED\r
163     PUSHBUTTON      "Empty WebCore Cache",IDC_EMPTY_WEBCORE_CACHE,21,170,83,14,WS_DISABLED\r
164     CONTROL         "Disable WebCore Cache",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,119,172,93,10\r
165     PUSHBUTTON      "Garbage Collect JavaScript Objects",IDC_GC_JSC,253,343,135,14,WS_DISABLED\r
166     RTEXT           "Reserved VM",IDC_STATIC,212,26,67,9\r
167     RTEXT           "0",IDC_RESERVED_VM,290,26,94,8\r
168     RTEXT           "Committed VM",IDC_STATIC,211,39,67,8\r
169     RTEXT           "0",IDC_COMMITTED_VM,290,39,94,8\r
170     RTEXT           "Free List Bytes",IDC_STATIC,211,52,67,8\r
171     RTEXT           "0",IDC_FREE_LIST_BYTES,290,52,94,8\r
172     RTEXT           "Images",IDC_STATIC,37,106,24,8\r
173     RTEXT           "CSS",IDC_STATIC,47,116,14,8\r
174     RTEXT           "XSL",IDC_STATIC,49,126,12,8\r
175     RTEXT           "JavaScript",IDC_STATIC,27,135,34,8\r
176     RTEXT           "Total",IDC_STATIC,43,146,17,8\r
177     LTEXT           "Objects",IDC_STATIC,111,96,26,8\r
178     LTEXT           "Bytes",IDC_STATIC,175,96,19,8\r
179     LTEXT           "Live",IDC_STATIC,232,96,14,8\r
180     LTEXT           "Decoded",IDC_STATIC,284,96,29,8\r
181     LTEXT           "Purgeable",IDC_STATIC,351,96,33,8\r
182     RTEXT           "0",IDC_IMAGES_OBJECT_COUNT,100,106,32,8\r
183     RTEXT           "0",IDC_CSS_OBJECT_COUNT,100,116,32,8\r
184     RTEXT           "0",IDC_XSL_OBJECT_COUNT,100,126,32,8\r
185     RTEXT           "0",IDC_JSC_OBJECT_COUNT,100,135,32,8\r
186     RTEXT           "0",IDC_TOTAL_OBJECT_COUNT,100,146,32,8\r
187     RTEXT           "0",IDC_IMAGES_BYTES,162,106,32,8\r
188     RTEXT           "0",IDC_CSS_BYTES,162,116,32,8\r
189     RTEXT           "0",IDC_XSL_BYTES,162,126,32,8\r
190     RTEXT           "0",IDC_JSC_BYTES,162,135,32,8\r
191     RTEXT           "0",IDC_TOTAL_BYTES,162,146,32,8\r
192     RTEXT           "0",IDC_IMAGES_LIVE_COUNT,221,106,32,8\r
193     RTEXT           "0",IDC_CSS_LIVE_COUNT,221,116,32,8\r
194     RTEXT           "0",IDC_XSL_LIVE_COUNT,221,126,32,8\r
195     RTEXT           "0",IDC_JSC_LIVE_COUNT,221,135,32,8\r
196     RTEXT           "0",IDC_TOTAL_LIVE_COUNT,221,146,32,8\r
197     RTEXT           "0",IDC_IMAGES_DECODED_COUNT,284,106,32,8\r
198     RTEXT           "0",IDC_CSS_DECODED_COUNT,284,116,32,8\r
199     RTEXT           "0",IDC_XSL_DECODED_COUNT,284,126,32,8\r
200     RTEXT           "0",IDC_JSC_DECODED_COUNT,284,135,32,8\r
201     RTEXT           "0",IDC_TOTAL_DECODED,284,146,32,8\r
202     RTEXT           "0",IDC_IMAGES_PURGEABLE_COUNT,354,106,32,8\r
203     RTEXT           "0",IDC_CSS_PURGEABLE_COUNT,354,116,32,8\r
204     RTEXT           "0",IDC_XSL_PURGEABLE_COUNT,354,126,32,8\r
205     RTEXT           "0",IDC_JSC_PURGEABLE_COUNT,354,135,32,8\r
206     RTEXT           "0",IDC_TOTAL_PURGEABLE,354,146,32,8\r
207     RTEXT           "Total Objects",IDC_STATIC,63,207,44,8\r
208     RTEXT           "Global Objects",IDC_STATIC,56,217,51,8\r
209     RTEXT           "Protected Objects",IDC_STATIC,48,227,59,8\r
210     RTEXT           "0",IDC_TOTAL_JSC_HEAP_OBJECTS,127,207,56,8\r
211     RTEXT           "0",IDC_GLOBAL_JSC_HEAP_OBJECTS,127,217,56,8\r
212     RTEXT           "0",IDC_PROTECTED_JSC_HEAP_OBJECTS,127,227,56,8\r
213     RTEXT           "Size",IDC_STATIC56,223,207,14,8\r
214     RTEXT           "Free",IDC_STATIC57,222,217,16,8\r
215     RTEXT           "0",IDC_JSC_HEAP_SIZE,270,207,56,8\r
216     RTEXT           "0",IDC_JSC_HEAP_FREE,270,217,56,8\r
217     PUSHBUTTON      "Purge Inactive Font Data",IDC_BUTTON5,293,415,95,14,WS_DISABLED\r
218     LTEXT           "Total Font Data Objects",IDC_STATIC,208,379,78,8\r
219     LTEXT           "Inactive Font Data Objects",IDC_STATIC,198,390,88,8\r
220     LTEXT           "Glyph Pages",IDC_STATIC,246,402,40,8\r
221     RTEXT           "0",IDC_TOTAL_FONT_OBJECTS,329,379,56,8\r
222     RTEXT           "0",IDC_INACTIVE_FONT_OBJECTS,329,390,56,8\r
223     RTEXT           "0",IDC_GLYPH_PAGES,329,402,56,8\r
224     LTEXT           "Page URL Mappings",IDC_STATIC,33,380,64,8\r
225     LTEXT           "Retained Page URLs",IDC_STATIC,31,390,66,8\r
226     LTEXT           "Site Icon Records",IDC_STATIC,40,400,57,8\r
227     LTEXT           "Site Icons with Data",IDC_STATIC,32,410,65,8\r
228     RTEXT           "0",IDC_PAGE_URL_MAPPINGS,101,380,52,8\r
229     RTEXT           "0",IDC_RETAINED_PAGE_URLS,101,390,52,8\r
230     RTEXT           "0",IDC_SITE_ICON_RECORDS,101,400,52,8\r
231     RTEXT           "0",IDC_SITE_ICONS_WITH_DATA,101,410,52,8\r
232 END\r
233 \r
234 IDD_USER_AGENT DIALOGEX 0, 0, 309, 176\r
235 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU\r
236 CAPTION "Dialog"\r
237 FONT 8, "MS Shell Dlg", 400, 0, 0x1\r
238 BEGIN\r
239     LTEXT           "Type a custom user agent string for this page.",IDC_Message,7,7,295,19\r
240     EDITTEXT        IDC_USER_AGENT_INPUT,7,34,295,117,ES_AUTOHSCROLL\r
241     DEFPUSHBUTTON   "OK",IDOK,198,155,50,14\r
242     PUSHBUTTON      "Cancel",IDCANCEL,252,155,50,14\r
243 END\r
244 \r
245 IDD_AUTH DIALOGEX 0, 0, 231, 99\r
246 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU\r
247 CAPTION "Authentication Required"\r
248 FONT 8, "MS Shell Dlg", 400, 0, 0x1\r
249 BEGIN\r
250     DEFPUSHBUTTON   "Sign In",IDOK,116,78,50,14\r
251     PUSHBUTTON      "Cancel",IDCANCEL,174,78,50,14\r
252     RTEXT           "User Name:",IDC_STATIC,7,21,57,8\r
253     EDITTEXT        IDC_AUTH_USER,67,19,157,14,ES_AUTOHSCROLL\r
254     RTEXT           "Password:",IDC_STATIC,7,46,57,8\r
255     EDITTEXT        IDC_AUTH_PASSWORD,67,44,157,14,ES_PASSWORD | ES_AUTOHSCROLL\r
256 END\r
257 \r
258 \r
259 #ifdef APSTUDIO_INVOKED\r
260 /////////////////////////////////////////////////////////////////////////////\r
261 //\r
262 // TEXTINCLUDE\r
263 //\r
264 \r
265 1 TEXTINCLUDE \r
266 BEGIN\r
267     "MiniBrowserLibResource.h\0"\r
268 END\r
269 \r
270 2 TEXTINCLUDE \r
271 BEGIN\r
272     "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"\r
273     "#include ""windows.h""\r\n"\r
274     "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"\r
275     "\0"\r
276 END\r
277 \r
278 3 TEXTINCLUDE \r
279 BEGIN\r
280     "\r\n"\r
281     "\0"\r
282 END\r
283 \r
284 #endif    // APSTUDIO_INVOKED\r
285 \r
286 \r
287 /////////////////////////////////////////////////////////////////////////////\r
288 //\r
289 // DESIGNINFO\r
290 //\r
291 \r
292 #ifdef APSTUDIO_INVOKED\r
293 GUIDELINES DESIGNINFO\r
294 BEGIN\r
295     IDD_ABOUTBOX, DIALOG\r
296     BEGIN\r
297     END\r
298 \r
299     IDD_CACHES, DIALOG\r
300     BEGIN\r
301         LEFTMARGIN, 7\r
302         RIGHTMARGIN, 394\r
303         TOPMARGIN, 7\r
304         BOTTOMMARGIN, 449\r
305     END\r
306 \r
307     IDD_USER_AGENT, DIALOG\r
308     BEGIN\r
309         LEFTMARGIN, 7\r
310         RIGHTMARGIN, 302\r
311         TOPMARGIN, 7\r
312         BOTTOMMARGIN, 169\r
313     END\r
314 \r
315     IDD_AUTH, DIALOG\r
316     BEGIN\r
317         LEFTMARGIN, 7\r
318         RIGHTMARGIN, 224\r
319         VERTGUIDE, 64\r
320         VERTGUIDE, 67\r
321         TOPMARGIN, 7\r
322         BOTTOMMARGIN, 92\r
323         HORZGUIDE, 25\r
324         HORZGUIDE, 50\r
325     END\r
326 END\r
327 #endif    // APSTUDIO_INVOKED\r
328 \r
329 \r
330 /////////////////////////////////////////////////////////////////////////////\r
331 //\r
332 // String Table\r
333 //\r
334 \r
335 STRINGTABLE\r
336 BEGIN\r
337     IDS_APP_TITLE           "MiniBrowser"\r
338     IDC_MINIBROWSER         "MINIBROWSER"\r
339 END\r
340 \r
341 #endif    // English (United States) resources\r
342 /////////////////////////////////////////////////////////////////////////////\r
343 \r
344 \r
345 \r
346 #ifndef APSTUDIO_INVOKED\r
347 /////////////////////////////////////////////////////////////////////////////\r
348 //\r
349 // Generated from the TEXTINCLUDE 3 resource.\r
350 //\r
351 \r
352 \r
353 /////////////////////////////////////////////////////////////////////////////\r
354 #endif    // not APSTUDIO_INVOKED\r
355 \r