mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
f23566bf16
bindings are now fully hierarchical. In addition, DOM windows, input fields and textareas can pull their key bindings from a separate XUL file. This allows configurable key bindings. Massive rewrite of the command dispatcher system. The command dispatcher now deals with DOM windows in addition to DOM elements. It now tracks both successfully and works in conjunction with the new focus/blur architecture. r=saari
60 lines
2.0 KiB
C++
60 lines
2.0 KiB
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
*
|
|
* The contents of this file are subject to the Netscape Public
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.mozilla.org/NPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*/
|
|
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
|
|
|
#ifndef nsIDOMXULEditorElement_h__
|
|
#define nsIDOMXULEditorElement_h__
|
|
|
|
#include "nsISupports.h"
|
|
#include "nsString.h"
|
|
#include "nsIScriptContext.h"
|
|
#include "nsIDOMXULElement.h"
|
|
|
|
class nsIEditorShell;
|
|
|
|
#define NS_IDOMXULEDITORELEMENT_IID \
|
|
{ 0x9a248050, 0x82d8, 0x11d3, \
|
|
{ 0xaf, 0x76, 0x0, 0xa0, 0x24, 0xff, 0xc0, 0x8c } }
|
|
|
|
class nsIDOMXULEditorElement : public nsIDOMXULElement {
|
|
public:
|
|
static const nsIID& GetIID() { static nsIID iid = NS_IDOMXULEDITORELEMENT_IID; return iid; }
|
|
|
|
NS_IMETHOD GetEditorShell(nsIEditorShell** aEditorShell)=0;
|
|
};
|
|
|
|
|
|
#define NS_DECL_IDOMXULEDITORELEMENT \
|
|
NS_IMETHOD GetEditorShell(nsIEditorShell** aEditorShell); \
|
|
|
|
|
|
|
|
#define NS_FORWARD_IDOMXULEDITORELEMENT(_to) \
|
|
NS_IMETHOD GetEditorShell(nsIEditorShell** aEditorShell) { return _to GetEditorShell(aEditorShell); } \
|
|
|
|
|
|
extern "C" NS_DOM nsresult NS_InitXULEditorElementClass(nsIScriptContext *aContext, void **aPrototype);
|
|
|
|
extern "C" NS_DOM nsresult NS_NewScriptXULEditorElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
|
|
|
#endif // nsIDOMXULEditorElement_h__
|