LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMKeyEvent.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMKeyEvent.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMKeyEvent_h__
       6             : #define __gen_nsIDOMKeyEvent_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMUIEvent_h__
      10             : #include "nsIDOMUIEvent.h"
      11             : #endif
      12             : 
      13             : /* For IDL files that don't want to include root IDL files. */
      14             : #ifndef NS_NO_VTABLE
      15             : #define NS_NO_VTABLE
      16             : #endif
      17             : 
      18             : /* starting interface:    nsIDOMKeyEvent */
      19             : #define NS_IDOMKEYEVENT_IID_STR "2e52eb99-670d-469a-b51f-8efee2dd091d"
      20             : 
      21             : #define NS_IDOMKEYEVENT_IID \
      22             :   {0x2e52eb99, 0x670d, 0x469a, \
      23             :     { 0xb5, 0x1f, 0x8e, 0xfe, 0xe2, 0xdd, 0x09, 0x1d }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMKeyEvent : public nsIDOMUIEvent {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMKEYEVENT_IID)
      29             : 
      30             :   enum {
      31             :     DOM_VK_CANCEL = 3U,
      32             :     DOM_VK_HELP = 6U,
      33             :     DOM_VK_BACK_SPACE = 8U,
      34             :     DOM_VK_TAB = 9U,
      35             :     DOM_VK_CLEAR = 12U,
      36             :     DOM_VK_RETURN = 13U,
      37             :     DOM_VK_SHIFT = 16U,
      38             :     DOM_VK_CONTROL = 17U,
      39             :     DOM_VK_ALT = 18U,
      40             :     DOM_VK_PAUSE = 19U,
      41             :     DOM_VK_CAPS_LOCK = 20U,
      42             :     DOM_VK_KANA = 21U,
      43             :     DOM_VK_HANGUL = 21U,
      44             :     DOM_VK_EISU = 22U,
      45             :     DOM_VK_JUNJA = 23U,
      46             :     DOM_VK_FINAL = 24U,
      47             :     DOM_VK_HANJA = 25U,
      48             :     DOM_VK_KANJI = 25U,
      49             :     DOM_VK_ESCAPE = 27U,
      50             :     DOM_VK_CONVERT = 28U,
      51             :     DOM_VK_NONCONVERT = 29U,
      52             :     DOM_VK_ACCEPT = 30U,
      53             :     DOM_VK_MODECHANGE = 31U,
      54             :     DOM_VK_SPACE = 32U,
      55             :     DOM_VK_PAGE_UP = 33U,
      56             :     DOM_VK_PAGE_DOWN = 34U,
      57             :     DOM_VK_END = 35U,
      58             :     DOM_VK_HOME = 36U,
      59             :     DOM_VK_LEFT = 37U,
      60             :     DOM_VK_UP = 38U,
      61             :     DOM_VK_RIGHT = 39U,
      62             :     DOM_VK_DOWN = 40U,
      63             :     DOM_VK_SELECT = 41U,
      64             :     DOM_VK_PRINT = 42U,
      65             :     DOM_VK_EXECUTE = 43U,
      66             :     DOM_VK_PRINTSCREEN = 44U,
      67             :     DOM_VK_INSERT = 45U,
      68             :     DOM_VK_DELETE = 46U,
      69             :     DOM_VK_0 = 48U,
      70             :     DOM_VK_1 = 49U,
      71             :     DOM_VK_2 = 50U,
      72             :     DOM_VK_3 = 51U,
      73             :     DOM_VK_4 = 52U,
      74             :     DOM_VK_5 = 53U,
      75             :     DOM_VK_6 = 54U,
      76             :     DOM_VK_7 = 55U,
      77             :     DOM_VK_8 = 56U,
      78             :     DOM_VK_9 = 57U,
      79             :     DOM_VK_COLON = 58U,
      80             :     DOM_VK_SEMICOLON = 59U,
      81             :     DOM_VK_LESS_THAN = 60U,
      82             :     DOM_VK_EQUALS = 61U,
      83             :     DOM_VK_GREATER_THAN = 62U,
      84             :     DOM_VK_QUESTION_MARK = 63U,
      85             :     DOM_VK_AT = 64U,
      86             :     DOM_VK_A = 65U,
      87             :     DOM_VK_B = 66U,
      88             :     DOM_VK_C = 67U,
      89             :     DOM_VK_D = 68U,
      90             :     DOM_VK_E = 69U,
      91             :     DOM_VK_F = 70U,
      92             :     DOM_VK_G = 71U,
      93             :     DOM_VK_H = 72U,
      94             :     DOM_VK_I = 73U,
      95             :     DOM_VK_J = 74U,
      96             :     DOM_VK_K = 75U,
      97             :     DOM_VK_L = 76U,
      98             :     DOM_VK_M = 77U,
      99             :     DOM_VK_N = 78U,
     100             :     DOM_VK_O = 79U,
     101             :     DOM_VK_P = 80U,
     102             :     DOM_VK_Q = 81U,
     103             :     DOM_VK_R = 82U,
     104             :     DOM_VK_S = 83U,
     105             :     DOM_VK_T = 84U,
     106             :     DOM_VK_U = 85U,
     107             :     DOM_VK_V = 86U,
     108             :     DOM_VK_W = 87U,
     109             :     DOM_VK_X = 88U,
     110             :     DOM_VK_Y = 89U,
     111             :     DOM_VK_Z = 90U,
     112             :     DOM_VK_WIN = 91U,
     113             :     DOM_VK_CONTEXT_MENU = 93U,
     114             :     DOM_VK_SLEEP = 95U,
     115             :     DOM_VK_NUMPAD0 = 96U,
     116             :     DOM_VK_NUMPAD1 = 97U,
     117             :     DOM_VK_NUMPAD2 = 98U,
     118             :     DOM_VK_NUMPAD3 = 99U,
     119             :     DOM_VK_NUMPAD4 = 100U,
     120             :     DOM_VK_NUMPAD5 = 101U,
     121             :     DOM_VK_NUMPAD6 = 102U,
     122             :     DOM_VK_NUMPAD7 = 103U,
     123             :     DOM_VK_NUMPAD8 = 104U,
     124             :     DOM_VK_NUMPAD9 = 105U,
     125             :     DOM_VK_MULTIPLY = 106U,
     126             :     DOM_VK_ADD = 107U,
     127             :     DOM_VK_SEPARATOR = 108U,
     128             :     DOM_VK_SUBTRACT = 109U,
     129             :     DOM_VK_DECIMAL = 110U,
     130             :     DOM_VK_DIVIDE = 111U,
     131             :     DOM_VK_F1 = 112U,
     132             :     DOM_VK_F2 = 113U,
     133             :     DOM_VK_F3 = 114U,
     134             :     DOM_VK_F4 = 115U,
     135             :     DOM_VK_F5 = 116U,
     136             :     DOM_VK_F6 = 117U,
     137             :     DOM_VK_F7 = 118U,
     138             :     DOM_VK_F8 = 119U,
     139             :     DOM_VK_F9 = 120U,
     140             :     DOM_VK_F10 = 121U,
     141             :     DOM_VK_F11 = 122U,
     142             :     DOM_VK_F12 = 123U,
     143             :     DOM_VK_F13 = 124U,
     144             :     DOM_VK_F14 = 125U,
     145             :     DOM_VK_F15 = 126U,
     146             :     DOM_VK_F16 = 127U,
     147             :     DOM_VK_F17 = 128U,
     148             :     DOM_VK_F18 = 129U,
     149             :     DOM_VK_F19 = 130U,
     150             :     DOM_VK_F20 = 131U,
     151             :     DOM_VK_F21 = 132U,
     152             :     DOM_VK_F22 = 133U,
     153             :     DOM_VK_F23 = 134U,
     154             :     DOM_VK_F24 = 135U,
     155             :     DOM_VK_NUM_LOCK = 144U,
     156             :     DOM_VK_SCROLL_LOCK = 145U,
     157             :     DOM_VK_WIN_OEM_FJ_JISHO = 146U,
     158             :     DOM_VK_WIN_OEM_FJ_MASSHOU = 147U,
     159             :     DOM_VK_WIN_OEM_FJ_TOUROKU = 148U,
     160             :     DOM_VK_WIN_OEM_FJ_LOYA = 149U,
     161             :     DOM_VK_WIN_OEM_FJ_ROYA = 150U,
     162             :     DOM_VK_CIRCUMFLEX = 160U,
     163             :     DOM_VK_EXCLAMATION = 161U,
     164             :     DOM_VK_DOUBLE_QUOTE = 162U,
     165             :     DOM_VK_HASH = 163U,
     166             :     DOM_VK_DOLLAR = 164U,
     167             :     DOM_VK_PERCENT = 165U,
     168             :     DOM_VK_AMPERSAND = 166U,
     169             :     DOM_VK_UNDERSCORE = 167U,
     170             :     DOM_VK_OPEN_PAREN = 168U,
     171             :     DOM_VK_CLOSE_PAREN = 169U,
     172             :     DOM_VK_ASTERISK = 170U,
     173             :     DOM_VK_PLUS = 171U,
     174             :     DOM_VK_PIPE = 172U,
     175             :     DOM_VK_HYPHEN_MINUS = 173U,
     176             :     DOM_VK_OPEN_CURLY_BRACKET = 174U,
     177             :     DOM_VK_CLOSE_CURLY_BRACKET = 175U,
     178             :     DOM_VK_TILDE = 176U,
     179             :     DOM_VK_VOLUME_MUTE = 181U,
     180             :     DOM_VK_VOLUME_DOWN = 182U,
     181             :     DOM_VK_VOLUME_UP = 183U,
     182             :     DOM_VK_COMMA = 188U,
     183             :     DOM_VK_PERIOD = 190U,
     184             :     DOM_VK_SLASH = 191U,
     185             :     DOM_VK_BACK_QUOTE = 192U,
     186             :     DOM_VK_OPEN_BRACKET = 219U,
     187             :     DOM_VK_BACK_SLASH = 220U,
     188             :     DOM_VK_CLOSE_BRACKET = 221U,
     189             :     DOM_VK_QUOTE = 222U,
     190             :     DOM_VK_META = 224U,
     191             :     DOM_VK_ALTGR = 225U,
     192             :     DOM_VK_WIN_ICO_HELP = 227U,
     193             :     DOM_VK_WIN_ICO_00 = 228U,
     194             :     DOM_VK_WIN_ICO_CLEAR = 230U,
     195             :     DOM_VK_WIN_OEM_RESET = 233U,
     196             :     DOM_VK_WIN_OEM_JUMP = 234U,
     197             :     DOM_VK_WIN_OEM_PA1 = 235U,
     198             :     DOM_VK_WIN_OEM_PA2 = 236U,
     199             :     DOM_VK_WIN_OEM_PA3 = 237U,
     200             :     DOM_VK_WIN_OEM_WSCTRL = 238U,
     201             :     DOM_VK_WIN_OEM_CUSEL = 239U,
     202             :     DOM_VK_WIN_OEM_ATTN = 240U,
     203             :     DOM_VK_WIN_OEM_FINISH = 241U,
     204             :     DOM_VK_WIN_OEM_COPY = 242U,
     205             :     DOM_VK_WIN_OEM_AUTO = 243U,
     206             :     DOM_VK_WIN_OEM_ENLW = 244U,
     207             :     DOM_VK_WIN_OEM_BACKTAB = 245U,
     208             :     DOM_VK_ATTN = 246U,
     209             :     DOM_VK_CRSEL = 247U,
     210             :     DOM_VK_EXSEL = 248U,
     211             :     DOM_VK_EREOF = 249U,
     212             :     DOM_VK_PLAY = 250U,
     213             :     DOM_VK_ZOOM = 251U,
     214             :     DOM_VK_PA1 = 253U,
     215             :     DOM_VK_WIN_OEM_CLEAR = 254U
     216             :   };
     217             : 
     218             :   /* readonly attribute unsigned long charCode; */
     219             :   NS_IMETHOD GetCharCode(uint32_t *aCharCode) = 0;
     220             : 
     221             :   /* readonly attribute unsigned long keyCode; */
     222             :   NS_IMETHOD GetKeyCode(uint32_t *aKeyCode) = 0;
     223             : 
     224             :   /* readonly attribute boolean altKey; */
     225             :   NS_IMETHOD GetAltKey(bool *aAltKey) = 0;
     226             : 
     227             :   /* readonly attribute boolean ctrlKey; */
     228             :   NS_IMETHOD GetCtrlKey(bool *aCtrlKey) = 0;
     229             : 
     230             :   /* readonly attribute boolean shiftKey; */
     231             :   NS_IMETHOD GetShiftKey(bool *aShiftKey) = 0;
     232             : 
     233             :   /* readonly attribute boolean metaKey; */
     234             :   NS_IMETHOD GetMetaKey(bool *aMetaKey) = 0;
     235             : 
     236             :   /* void initKeyEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in unsigned long keyCodeArg, in unsigned long charCodeArg); */
     237             :   NS_IMETHOD InitKeyEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, uint32_t keyCodeArg, uint32_t charCodeArg) = 0;
     238             : 
     239             :   /* bool getModifierState (in DOMString keyArg); */
     240             :   NS_IMETHOD GetModifierState(const nsAString & keyArg, bool *_retval) = 0;
     241             : 
     242             :   enum {
     243             :     DOM_KEY_LOCATION_STANDARD = 0U,
     244             :     DOM_KEY_LOCATION_LEFT = 1U,
     245             :     DOM_KEY_LOCATION_RIGHT = 2U,
     246             :     DOM_KEY_LOCATION_NUMPAD = 3U
     247             :   };
     248             : 
     249             :   /* readonly attribute unsigned long location; */
     250             :   NS_IMETHOD GetLocation(uint32_t *aLocation) = 0;
     251             : 
     252             :   /* readonly attribute boolean repeat; */
     253             :   NS_IMETHOD GetRepeat(bool *aRepeat) = 0;
     254             : 
     255             :   /* readonly attribute DOMString key; */
     256             :   NS_IMETHOD GetKey(nsAString & aKey) = 0;
     257             : 
     258             : };
     259             : 
     260             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMKeyEvent, NS_IDOMKEYEVENT_IID)
     261             : 
     262             : /* Use this macro when declaring classes that implement this interface. */
     263             : #define NS_DECL_NSIDOMKEYEVENT \
     264             :   NS_IMETHOD GetCharCode(uint32_t *aCharCode) override; \
     265             :   NS_IMETHOD GetKeyCode(uint32_t *aKeyCode) override; \
     266             :   NS_IMETHOD GetAltKey(bool *aAltKey) override; \
     267             :   NS_IMETHOD GetCtrlKey(bool *aCtrlKey) override; \
     268             :   NS_IMETHOD GetShiftKey(bool *aShiftKey) override; \
     269             :   NS_IMETHOD GetMetaKey(bool *aMetaKey) override; \
     270             :   NS_IMETHOD InitKeyEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, uint32_t keyCodeArg, uint32_t charCodeArg) override; \
     271             :   NS_IMETHOD GetModifierState(const nsAString & keyArg, bool *_retval) override; \
     272             :   NS_IMETHOD GetLocation(uint32_t *aLocation) override; \
     273             :   NS_IMETHOD GetRepeat(bool *aRepeat) override; \
     274             :   NS_IMETHOD GetKey(nsAString & aKey) override; 
     275             : 
     276             : /* Use this macro when declaring the members of this interface when the
     277             :    class doesn't implement the interface. This is useful for forwarding. */
     278             : #define NS_DECL_NON_VIRTUAL_NSIDOMKEYEVENT \
     279             :   nsresult GetCharCode(uint32_t *aCharCode); \
     280             :   nsresult GetKeyCode(uint32_t *aKeyCode); \
     281             :   nsresult GetAltKey(bool *aAltKey); \
     282             :   nsresult GetCtrlKey(bool *aCtrlKey); \
     283             :   nsresult GetShiftKey(bool *aShiftKey); \
     284             :   nsresult GetMetaKey(bool *aMetaKey); \
     285             :   nsresult InitKeyEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, uint32_t keyCodeArg, uint32_t charCodeArg); \
     286             :   nsresult GetModifierState(const nsAString & keyArg, bool *_retval); \
     287             :   nsresult GetLocation(uint32_t *aLocation); \
     288             :   nsresult GetRepeat(bool *aRepeat); \
     289             :   nsresult GetKey(nsAString & aKey); 
     290             : 
     291             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     292             : #define NS_FORWARD_NSIDOMKEYEVENT(_to) \
     293             :   NS_IMETHOD GetCharCode(uint32_t *aCharCode) override { return _to GetCharCode(aCharCode); } \
     294             :   NS_IMETHOD GetKeyCode(uint32_t *aKeyCode) override { return _to GetKeyCode(aKeyCode); } \
     295             :   NS_IMETHOD GetAltKey(bool *aAltKey) override { return _to GetAltKey(aAltKey); } \
     296             :   NS_IMETHOD GetCtrlKey(bool *aCtrlKey) override { return _to GetCtrlKey(aCtrlKey); } \
     297             :   NS_IMETHOD GetShiftKey(bool *aShiftKey) override { return _to GetShiftKey(aShiftKey); } \
     298             :   NS_IMETHOD GetMetaKey(bool *aMetaKey) override { return _to GetMetaKey(aMetaKey); } \
     299             :   NS_IMETHOD InitKeyEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, uint32_t keyCodeArg, uint32_t charCodeArg) override { return _to InitKeyEvent(typeArg, canBubbleArg, cancelableArg, viewArg, ctrlKeyArg, altKeyArg, shiftKeyArg, metaKeyArg, keyCodeArg, charCodeArg); } \
     300             :   NS_IMETHOD GetModifierState(const nsAString & keyArg, bool *_retval) override { return _to GetModifierState(keyArg, _retval); } \
     301             :   NS_IMETHOD GetLocation(uint32_t *aLocation) override { return _to GetLocation(aLocation); } \
     302             :   NS_IMETHOD GetRepeat(bool *aRepeat) override { return _to GetRepeat(aRepeat); } \
     303             :   NS_IMETHOD GetKey(nsAString & aKey) override { return _to GetKey(aKey); } 
     304             : 
     305             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     306             : #define NS_FORWARD_SAFE_NSIDOMKEYEVENT(_to) \
     307             :   NS_IMETHOD GetCharCode(uint32_t *aCharCode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharCode(aCharCode); } \
     308             :   NS_IMETHOD GetKeyCode(uint32_t *aKeyCode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyCode(aKeyCode); } \
     309             :   NS_IMETHOD GetAltKey(bool *aAltKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAltKey(aAltKey); } \
     310             :   NS_IMETHOD GetCtrlKey(bool *aCtrlKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCtrlKey(aCtrlKey); } \
     311             :   NS_IMETHOD GetShiftKey(bool *aShiftKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShiftKey(aShiftKey); } \
     312             :   NS_IMETHOD GetMetaKey(bool *aMetaKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMetaKey(aMetaKey); } \
     313             :   NS_IMETHOD InitKeyEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, uint32_t keyCodeArg, uint32_t charCodeArg) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitKeyEvent(typeArg, canBubbleArg, cancelableArg, viewArg, ctrlKeyArg, altKeyArg, shiftKeyArg, metaKeyArg, keyCodeArg, charCodeArg); } \
     314             :   NS_IMETHOD GetModifierState(const nsAString & keyArg, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetModifierState(keyArg, _retval); } \
     315             :   NS_IMETHOD GetLocation(uint32_t *aLocation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
     316             :   NS_IMETHOD GetRepeat(bool *aRepeat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRepeat(aRepeat); } \
     317             :   NS_IMETHOD GetKey(nsAString & aKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKey(aKey); } 
     318             : 
     319             : #if 0
     320             : /* Use the code below as a template for the implementation class for this interface. */
     321             : 
     322             : /* Header file */
     323             : class nsDOMKeyEvent : public nsIDOMKeyEvent
     324             : {
     325             : public:
     326             :   NS_DECL_ISUPPORTS
     327             :   NS_DECL_NSIDOMKEYEVENT
     328             : 
     329             :   nsDOMKeyEvent();
     330             : 
     331             : private:
     332             :   ~nsDOMKeyEvent();
     333             : 
     334             : protected:
     335             :   /* additional members */
     336             : };
     337             : 
     338             : /* Implementation file */
     339             : NS_IMPL_ISUPPORTS(nsDOMKeyEvent, nsIDOMKeyEvent)
     340             : 
     341             : nsDOMKeyEvent::nsDOMKeyEvent()
     342             : {
     343             :   /* member initializers and constructor code */
     344             : }
     345             : 
     346             : nsDOMKeyEvent::~nsDOMKeyEvent()
     347             : {
     348             :   /* destructor code */
     349             : }
     350             : 
     351             : /* readonly attribute unsigned long charCode; */
     352             : NS_IMETHODIMP nsDOMKeyEvent::GetCharCode(uint32_t *aCharCode)
     353             : {
     354             :     return NS_ERROR_NOT_IMPLEMENTED;
     355             : }
     356             : 
     357             : /* readonly attribute unsigned long keyCode; */
     358             : NS_IMETHODIMP nsDOMKeyEvent::GetKeyCode(uint32_t *aKeyCode)
     359             : {
     360             :     return NS_ERROR_NOT_IMPLEMENTED;
     361             : }
     362             : 
     363             : /* readonly attribute boolean altKey; */
     364             : NS_IMETHODIMP nsDOMKeyEvent::GetAltKey(bool *aAltKey)
     365             : {
     366             :     return NS_ERROR_NOT_IMPLEMENTED;
     367             : }
     368             : 
     369             : /* readonly attribute boolean ctrlKey; */
     370             : NS_IMETHODIMP nsDOMKeyEvent::GetCtrlKey(bool *aCtrlKey)
     371             : {
     372             :     return NS_ERROR_NOT_IMPLEMENTED;
     373             : }
     374             : 
     375             : /* readonly attribute boolean shiftKey; */
     376             : NS_IMETHODIMP nsDOMKeyEvent::GetShiftKey(bool *aShiftKey)
     377             : {
     378             :     return NS_ERROR_NOT_IMPLEMENTED;
     379             : }
     380             : 
     381             : /* readonly attribute boolean metaKey; */
     382             : NS_IMETHODIMP nsDOMKeyEvent::GetMetaKey(bool *aMetaKey)
     383             : {
     384             :     return NS_ERROR_NOT_IMPLEMENTED;
     385             : }
     386             : 
     387             : /* void initKeyEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in unsigned long keyCodeArg, in unsigned long charCodeArg); */
     388             : NS_IMETHODIMP nsDOMKeyEvent::InitKeyEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, uint32_t keyCodeArg, uint32_t charCodeArg)
     389             : {
     390             :     return NS_ERROR_NOT_IMPLEMENTED;
     391             : }
     392             : 
     393             : /* bool getModifierState (in DOMString keyArg); */
     394             : NS_IMETHODIMP nsDOMKeyEvent::GetModifierState(const nsAString & keyArg, bool *_retval)
     395             : {
     396             :     return NS_ERROR_NOT_IMPLEMENTED;
     397             : }
     398             : 
     399             : /* readonly attribute unsigned long location; */
     400             : NS_IMETHODIMP nsDOMKeyEvent::GetLocation(uint32_t *aLocation)
     401             : {
     402             :     return NS_ERROR_NOT_IMPLEMENTED;
     403             : }
     404             : 
     405             : /* readonly attribute boolean repeat; */
     406             : NS_IMETHODIMP nsDOMKeyEvent::GetRepeat(bool *aRepeat)
     407             : {
     408             :     return NS_ERROR_NOT_IMPLEMENTED;
     409             : }
     410             : 
     411             : /* readonly attribute DOMString key; */
     412             : NS_IMETHODIMP nsDOMKeyEvent::GetKey(nsAString & aKey)
     413             : {
     414             :     return NS_ERROR_NOT_IMPLEMENTED;
     415             : }
     416             : 
     417             : /* End of implementation class template. */
     418             : #endif
     419             : 
     420             : 
     421             : #endif /* __gen_nsIDOMKeyEvent_h__ */

Generated by: LCOV version 1.13