Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | #include "resource.h" |
michael@0 | 2 | #include "../../../GuiCommon.rc" |
michael@0 | 3 | |
michael@0 | 4 | #define xSize2 172 |
michael@0 | 5 | #define ySize2 42 |
michael@0 | 6 | #define xSize (xSize2 + marg + marg) |
michael@0 | 7 | #define ySize (ySize2 + marg + marg) |
michael@0 | 8 | |
michael@0 | 9 | #define bYPos (ySize - marg - bYSize) |
michael@0 | 10 | #define bXPos (xSize - marg - bXSize) |
michael@0 | 11 | |
michael@0 | 12 | |
michael@0 | 13 | IDD_DIALOG_PROGRESS DIALOG 0, 0, xSize, ySize MY_MODAL_DIALOG_STYLE |
michael@0 | 14 | CAPTION "Progress" |
michael@0 | 15 | MY_FONT |
michael@0 | 16 | BEGIN |
michael@0 | 17 | PUSHBUTTON "Cancel", IDCANCEL, bXPos, bYPos , bXSize, bYSize |
michael@0 | 18 | CONTROL "Progress1", IDC_PROGRESS1,"msctls_progress32",PBS_SMOOTH | WS_BORDER, |
michael@0 | 19 | marg,marg, xSize2, 14 |
michael@0 | 20 | END |