widget/gtkxtbin/xembed.h

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     2  * vim: set expandtab shiftwidth=2 tabstop=2: */
     4 /* This Source Code Form is subject to the terms of the Mozilla Public
     5  * License, v. 2.0. If a copy of the MPL was not distributed with this
     6  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     8 /* XEMBED messages */
     9 #define XEMBED_EMBEDDED_NOTIFY          0
    10 #define XEMBED_WINDOW_ACTIVATE          1
    11 #define XEMBED_WINDOW_DEACTIVATE        2
    12 #define XEMBED_REQUEST_FOCUS            3
    13 #define XEMBED_FOCUS_IN                 4
    14 #define XEMBED_FOCUS_OUT                5
    15 #define XEMBED_FOCUS_NEXT               6
    16 #define XEMBED_FOCUS_PREV               7
    17 #define XEMBED_GRAB_KEY                 8
    18 #define XEMBED_UNGRAB_KEY               9
    19 #define XEMBED_MODALITY_ON              10
    20 #define XEMBED_MODALITY_OFF             11
    22 /* Non standard messages*/
    23 #define XEMBED_GTK_GRAB_KEY             108 
    24 #define XEMBED_GTK_UNGRAB_KEY           109
    26 /* Details for  XEMBED_FOCUS_IN: */
    27 #define XEMBED_FOCUS_CURRENT            0
    28 #define XEMBED_FOCUS_FIRST              1
    29 #define XEMBED_FOCUS_LAST               2
    31 /* Flags for _XEMBED_INFO */
    32 #define XEMBED_MAPPED                   (1 << 0)

mercurial