dom/plugins/ipc/hangui/HangUIDlg.rc

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #include "HangUIDlg.h"
     6 #include <windows.h>
     8 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
    10 /////////////////////////////////////////////////////////////////////////////
    11 //
    12 // Dialog
    13 //
    15 IDD_HANGUIDLG DIALOGEX 0, 0, 400, 75
    16 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
    17 CAPTION "Dialog"
    18 FONT 8, "MS Shell Dlg", 400, 0, 0x1
    19 BEGIN
    20     DEFPUSHBUTTON   "Continue",IDC_CONTINUE,283,51,50,18
    21     PUSHBUTTON      "Stop",IDC_STOP,341,51,50,18
    22     CONTROL         "Check1",IDC_NOFUTURE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,37,32,354,10
    23     LTEXT           "Static",IDC_MSG,37,7,353,24
    24     ICON            "",IDC_DLGICON,7,7,20,20
    25 END

mercurial