# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifdef XP_UNIX
#ifndef XP_MACOSX
#define XP_GNOME 1
#endif
#endif
#ifdef MOZ_SERVICES_SYNC
#endif
#ifndef XP_MACOSX
#endif
#
# Search Command Key Logic works like this:
#
# Unix: Ctrl+K (cross platform binding)
# Ctrl+J (in case of emacs Ctrl-K conflict)
# Mac: Cmd+K (cross platform binding)
# Cmd+Opt+F (platform convention)
# Win: Ctrl+K (cross platform binding)
# Ctrl+E (IE compat)
#
# We support Ctrl+K on all platforms now and advertise it in the menu since it is
# our standard - it is a "safe" choice since it is near no harmful keys like "W" as
# "E" is. People mourning the loss of Ctrl+K for emacs compat can switch their GTK
# system setting to use emacs emulation, and we should respect it. Focus-Search-Box
# is a fundamental keybinding and we are maintaining a XP binding so that it is easy
# for people to switch to Linux.
#
#ifdef XP_MACOSX
#endif
#ifdef XP_WIN
#endif
#ifdef XP_GNOME
#else
#endif
#ifdef XP_UNIX
#else
#endif
#ifndef XP_MACOSX
#else
#endif
#ifdef XP_UNIX
#endif
#ifndef XP_MACOSX
#else
#endif
#ifndef XP_WIN
#endif
# Accel+Shift+A-F are reserved on GTK
#ifndef MOZ_WIDGET_GTK
#else
#endif
#ifdef XP_WIN
# Cmd+I is conventially mapped to Info on MacOS X, thus it should not be
# overridden for other purposes there.
#endif
# Navigation cancel keys: Esc performs a cancel on loading (i.e.: stop button equivalent)
# Shift-Esc (and similar Shift-modified stop on Mac) performs a "superstop": this halts all
# networking requests, XHR, animated gifs, etc.
#ifdef XP_MACOSX
#endif
#ifdef XP_MACOSX
#endif
#ifdef XP_UNIX
#endif
#ifdef FULL_BROWSER_WINDOW
#endif
#ifdef XP_GNOME
#define NUM_SELECT_TAB_MODIFIER alt
#else
#define NUM_SELECT_TAB_MODIFIER accel
#endif
#expand
#expand
#expand
#expand
#expand
#expand
#expand
#expand
#expand
# Used by baseMenuOverlay
#ifdef XP_MACOSX
#endif