gecko/editor/libeditor/html
Ehsan Akhgari a95b6edeea Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
..
crashtests Bug 766387 - Make editing commands disabled in more cases; r=ehsan 2012-06-24 17:39:11 +03:00
tests Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc 2012-04-16 22:14:01 -04:00
Makefile.in Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsEditorTxnLog.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsEditorTxnLog.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsEditProperty.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLAbsPosition.cpp Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan 2012-06-08 17:20:55 +03:00
nsHTMLAnonymousUtils.cpp Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan 2012-06-24 09:54:43 +03:00
nsHTMLCSSUtils.cpp Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan 2012-06-01 14:03:17 +03:00
nsHTMLCSSUtils.h Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan 2012-06-01 14:03:17 +03:00
nsHTMLDataTransfer.cpp Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc 2012-04-16 22:14:01 -04:00
nsHTMLEditor.cpp Bug 766387 - Make editing commands disabled in more cases; r=ehsan 2012-06-24 17:39:11 +03:00
nsHTMLEditor.h Bug 766387 - Make editing commands disabled in more cases; r=ehsan 2012-06-24 17:39:11 +03:00
nsHTMLEditorEventListener.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLEditorEventListener.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLEditorLog.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLEditorLog.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLEditorStyle.cpp Bug 763283 part 2 - Use nsINode::AsContent() in editor/; r=ehsan 2012-06-10 15:39:21 +03:00
nsHTMLEditRules.cpp Bug 761997 - Cleanup nsHTMLEditRules::GetListItemState / nsHTMLEditRules::GetDefinitionListItemTypes; r=ehsan 2012-06-17 10:11:16 +02:00
nsHTMLEditRules.h Bug 761997 - Cleanup nsHTMLEditRules::GetListItemState / nsHTMLEditRules::GetDefinitionListItemTypes; r=ehsan 2012-06-17 10:11:16 +02:00
nsHTMLEditUtils.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLEditUtils.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLInlineTableEditor.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLObjectResizer.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLObjectResizer.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLURIRefObject.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsHTMLURIRefObject.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsTableEditor.cpp Bug 756757 - Use nsINode in nsHTMLEditor::MergeCells; r=ehsan 2012-06-06 09:36:28 +02:00
nsWSRunObject.cpp Bug 766305 - WSFragment should use PRInt32 for offsets, not PRInt16; r=ehsan 2012-06-24 09:54:42 +03:00
nsWSRunObject.h Bug 766305 - WSFragment should use PRInt32 for offsets, not PRInt16; r=ehsan 2012-06-24 09:54:42 +03:00
TextEditorTest.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
TextEditorTest.h Bug 767388 - Kill NS_DEBUG. r=bz. 2012-06-25 20:59:42 +01:00
TypeInState.cpp Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan 2012-06-01 14:03:17 +03:00
TypeInState.h Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan 2012-06-01 14:03:17 +03:00