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.

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

mercurial