toolkit/xre/nsNativeAppSupportWin.h

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 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 /* This file has *public* stuff needed for the Win32 implementation of
     7  * the nsINativeAppSupport interface.  It has to be broken out into a
     8  * separate file in order to ensure that the generated .h file can be
     9  * used in a Win32 .rc file.  See /mozilla/xpfe/bootstrap/splash.rc.
    10  *
    11  * This file, and the generated .h, are only needed on Win32 platforms.
    12  */
    14 // Constants identifying Win32 "native" resources.
    16 #ifdef MOZ_PHOENIX
    18 // Splash screen dialog ID.
    19 #define IDD_SPLASH  100
    21 // Splash screen bitmap ID.
    22 #define IDB_SPLASH  101
    24 // DDE application name
    25 #define ID_DDE_APPLICATION_NAME 102
    27 #define IDI_APPICON 1
    28 #define IDI_DOCUMENT 2
    29 #define IDI_NEWWINDOW 3
    30 #define IDI_NEWTAB 4
    31 #define IDI_PBMODE 5
    32 #ifndef IDI_APPLICATION
    33 #define IDI_APPLICATION 32512
    34 #endif
    36 #endif
    38 // String that goes in the WinXP Start Menu.
    39 #define IDS_STARTMENU_APPNAME 103

mercurial