Commit Graph

19 Commits

Author SHA1 Message Date
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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Felix Fung
6a18deb397 Bug 497664: Clear History's Disabled Preferences Should Not Be Checked. r=ehsan 2011-09-21 21:08:58 -07:00
Asaf Romano
fd118435f9 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-12 12:14:47 +01:00
Marco Bonardo
aa09cf6372 backout bug 543444 due to leaks 2010-03-09 17:23:32 +01:00
Asaf Romano
e7acf94dc2 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-09 14:43:09 +01:00
Robert O'Callahan
f4de62cffe Backed out changeset 79f299fc10d6 2010-03-05 20:10:20 +13:00
Asaf Romano
6598acf4f4 Relanding bug 543444 - Replace single-view API with multiple observers. r=mak. sr=rstrong. 2010-03-04 13:23:41 -08:00
Asaf Romano
8a462d5e47 Backing out bug 543444 due to orange. 2010-03-03 17:23:51 -08:00
Asaf Romano
c9e79d3dc6 Bug 543444 - Replace single-view API with multiple observers. r=mak, sr=rstrong. 2010-03-03 14:45:16 -08:00
Ehsan Akhgari
007f03eb8b Bug 535603 - Clear recent history title not set to all correctly on opening window; r=dao 2009-12-18 13:26:06 -05:00
Ehsan Akhgari
40348234c6 Bug 527820 - Checking all prefs except "Site Preferences" shows confusing UI; r=dao ui-r=beltzner a=blocking-firefox3.6+
--HG--
extra : rebase_source : 661c6a6c0d4a74e478cf8b476e65723a1654c54f
2009-11-17 14:49:59 -05:00
Ehsan Akhgari
264e286dc6 Fix unit test failure for changeset aaa39ba5d852 2009-09-15 17:01:30 +04:30
Ehsan Akhgari
88405de0e3 Bug 488691 - Confusing warning when clearing all history; r=dao 2009-09-15 14:36:34 +04:30
Ehsan Akhgari
17bfc90e36 Bug 488706: Migrate clear private data settings. r=mconnor 2009-05-21 10:51:56 +01:00
Drew Willcoxon
f91a54288d Bug 493559 - The 'Clear Recent History' dialog can be too slow when Everything is selected; r=johnath 2009-05-19 19:31:42 +04:30
Drew Willcoxon
4108ca18d0 Bug 491638 - Clear recent history dialog should persist details expansion, r=johnath 2009-05-15 09:42:08 -07:00
Dão Gottwald
3dda3d388a Bug 490030 - privacy.cpd.history should overrule privacy.cpd.downloads in the Clear Recent History dialog. r=johnath 2009-05-14 00:42:07 +02:00
Drew Willcoxon
410dd5c0a6 Bug 480169 - Clear recent history refresh (sprint)
Item list hidden behind expander/progressive disclosure button, added a warning when clearing all history, added a tree view for selecting a fine-grained timespan.  We decided to remove the tree view at the last minute; code is still there but #ifdef'ed out.
r=mconnor
2009-04-15 10:59:07 -07:00