зеркало из https://github.com/mozilla/gecko-dev.git
6d8d004613
Currently, edit commands for native key bindings are stored in widget. This is stateful and really complicated in content process because it needs to cache them. We can make this simpler if we make WidgetKeyboardEvent store edit commands for the key combination. Then, child process can handle it even if it's delayed event or it's a nested event. This patch adds arrays to WidgetKeyboardEvent to store edit commands which are initialized with nsIWidget::ExecuteNativeKeyBinding() and adds WidgetKeyboardEvent::ExecuteEditCommands() to execute stored edit commands as same as nsIWidget::ExecutenativeKeyBinding(). MozReview-Commit-ID: BGRvBrLz5lp --HG-- extra : rebase_source : b7ecd704d9c331ca1e0aedc66f230114015b853b |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
txmgr | ||
txtsvc | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsEditorCID.h | ||
nsIContentFilter.idl | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIEditorUtils.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl | ||
nsIURIRefObject.idl | ||
nsPIEditorTransaction.idl |