Commit Graph

10 Commits

Author SHA1 Message Date
Ehsan Akhgari
f4bd388765 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
Dão Gottwald
19bdfec884 Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 22:30:59 +02:00
Ryan VanderMeulen
fb1dd2fa50 Backout e8a507a0a1a8 (bug 767813) due to mochitest-browser-chrome orange. 2012-06-24 16:27:20 -04:00
Dão Gottwald
ea1682e817 Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 19:44:04 +02:00
Ryan VanderMeulen
63bd681fd0 Backout 70e3a2c8c6b4 (Bug 767133) due to mochitest-other orange. 2012-06-22 18:12:54 -04:00
Dão Gottwald
80744187c4 Bug 767133 - Add slide-in animation for arrow panels. r=enndeakin ui-r=shorlander 2012-06-22 22:13:21 +02:00
Paolo Amadini
0a261ff6ae Bug 746787 - Ensure the browser window is not minimized when opening the Downloads panel. r=mak 2012-04-27 15:05:04 +02:00
Paolo Amadini
6c2516758f Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-04-17 13:35:09 +02:00
Ed Morley
c87e5a528d Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
Paolo Amadini
1b84ad729a Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-03-10 15:00:45 +01:00