189 Commits

Author SHA1 Message Date
Ehsan Akhgari
f4b598bf08 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
Dan Wendorf
a376240d50 Bug 702159 - Add context menu to exit DOM full screen mode and tests. r=jaws 2012-05-24 23:57:59 -05:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
f4363e6229 Bug 734076: make use of the new openUILink form to simplify context menu callers, r=dao
--HG--
extra : transplant_source : %D6%90%13%91%EA%3D3%CB%93B1%CD%7F%0Cf%D1%08%00%A4%E6
2012-04-18 15:44:02 -07:00
Paul ADENOT
7c6bcb1a1c Bug 557278 - OGG audio handled as OGV video. r=dolske, a=desktop-only 2012-04-20 22:33:42 -04:00
Wolfgang Rosenauer
b93bb1bc3e Bug 526717 - remove non-working "Set as desktop background" from the UI for unsupported desktops. r=gavin 2012-04-02 22:43:12 +02:00
Chad Freeman
f76c95b0e1 Bug 720023 - Context menus for selected domains should be the identical as for links. r=jwein 2012-03-16 12:41:37 -07:00
Ekanan Ketunuti
f0516a6bba Bug 734027 - Decode percent encoding on non-ASCII filename when saving a video snapshot. r=jaws 2012-03-08 18:18:35 +07:00
rsx11m
dd26ba5901 Bug 730041 - Disable "View Background Image" in context menu for stand-alone video content. r=dolske 2012-02-29 19:35:48 -05:00
VD
04ab03c476 Bug 702894 - Remove pre-DOM API full-screen video implementation. r=dao 2012-02-08 14:19:29 +01:00
Matthew Noorenberghe
aa0a90e6d3 Bug 722636 - Only show "Undo Add to Dictionary" context menu on text fields and add separator r=ehsan
--HG--
extra : rebase_source : 85fab3254730ef89d66fe86b4a6fb6c8f392b882
2012-01-31 14:53:21 -08:00
Quentin Headen
547b01566f Bug 352037 - Add an "Undo add to dictionary" item to spell checker's context menu item; r=ehsan 2011-12-29 16:06:56 -05:00
Dão Gottwald
3e662221d3 Bug 708071 - Make the spell checking UI not hold on to a document in memory when spelling suggestion is invoked through the context menu. r=gavin 2011-12-07 15:45:44 +01:00
Dão Gottwald
5fbfbb510a fixing line endings, no bug 2011-11-29 17:18:42 +01:00
Jared Wein
54a28ac854 Bug 470628 - Part 1: CSS, JS, XBL, and locale changes (with fall-back support). r=dolske ui-r=shorlander f=fryn 2011-11-23 14:42:18 -05:00
Marco Bonardo
9f39880bda Bug 702081 - Add back the folder picker to bookmarks dialog missing it.
r=dietrich
2011-11-15 20:42:27 +01:00
Marco Bonardo
497654b074 Bug 700348 - fix showBookmarkDialog warnings.
r=dietrich
2011-11-11 22:39:26 +01:00
Paul ADENOT
3846292d90 Bug 556563 - Disable/remove "View video" when you're already viewing the video. r=dolske 2011-11-02 13:52:21 -07:00
Marco Bonardo
f7acf28c3d Bug 696159 - Remove some deprecated Places code.
r=dietrich sr=rstrong
2011-10-27 11:11:43 +02:00
Justin Dolske
6295003daf Bug 693099 - "Save Snapshot As" option on HTML5 videos creates PNG files with .JPG file extension. r=sparky 2011-10-11 00:14:27 -07:00
Jared Wein
2ffc877a0e Bug 669260 - Add statistics overlay to video element. r=dolske 2011-10-03 20:47:41 -07:00
Matthew Wein
e2343925d1 Bug 681550 - Add ability to save current frame of video. r=dolske 2011-10-03 10:42:36 -07:00
Jared Wein
18098172ed Backed out 971f1bf573fc8 due to test failures 2011-10-03 10:36:07 -07:00
Matthew Wein
a7ceea0fd2 Bug 681550 - Add ability to save current frame of video. r=dolske 2011-10-03 08:13:50 -07:00
Rob Campbell
6c3abd418f Bug 688595 - Hide Inspect Element context menu items if not enabled; r=gavin 2011-09-23 13:43:37 -03:00
Panos Astithas
71fce4f4ad Bug 587134 - Context menu item for Highlight Element (highlighter); r=gavin 2011-09-21 13:16:25 +03:00
Jesper Kristensen
f04d86218f Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan 2011-09-13 14:58:54 -04:00
Felix Fung
0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Ed Morley
01f15294eb Backout a422b9ff0a9e (bug 591780 part 1) for causing 8% Ts regression on multiple platforms; a=khuey 2011-09-06 14:32:26 +01:00
Jesper Kristensen
1ef15b178d Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan 2011-09-05 18:44:34 -04:00
Jan Varga
78e4db599e A followup for bug 617528 - implement the HTML5 "context menu" feature (contextmenu attribute). Merged "generated" and "ident" XUL attribute into "generateditemid" and renamed PageMenu.init() to PageMenu.maybeBuildAndAttachMenu(). r=enn 2011-08-18 18:37:26 +02:00
Jan Varga
a298beaa2e Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Kailas
2e04bbf07a Bug 564387 - Let "Save Video As..." respect the filename set in the Content-Disposition header. r=gavin
--HG--
rename : embedding/test/320x240.ogv => browser/base/content/test/bug564387_video1.ogv
2011-07-10 13:53:22 -07:00
Dão Gottwald
17557a615d Bug 591953 - Show the "Open Link" context menu item for URLs with hyphens. r=gavin 2011-06-21 11:59:29 +02:00
Mounir Lamouri
39b2d9f4b9 Bug 558651 - "Check Spelling" should only be shown in context menu when input element is in 'text' or 'search' state. r=sdwilsh 2011-05-02 22:13:22 +00:00
Boris Zbarsky
f5e4cf5996 Bug 331959 and bug 127903. Make situations in which an anchor or submit control is nested inside another anchor and the inner thing is clicked trigger the inner thing, not both. r=smaug,gavin a=blocker 2010-12-27 14:42:10 -06:00
Dão Gottwald
eddb3a79c9 Bug 606678 - use openLinkIn in nsContextMenu ("Open Link in New Tab" shouldn't add tabs to popups). r=gavin a=b
--HG--
extra : rebase_source : c76eb56bdcdb55bf965b5c3adebfeb6720a733db
2010-12-25 00:11:45 +01:00
Honza Bambas
b722efd354 Bug 597374 - Downloading of a file from a password protected directory fails, r=dolske, sr=bzbarsky, a=blocking2.0:betaN+ 2010-10-25 18:47:23 +02:00
Chris Pearce
39524be815 Bug 485288 - Ensure video context menu doesn't show when video's source children don't contain a resource. r=dolske a=blocking2.0 2010-09-03 12:03:03 +12:00
Dão Gottwald
c468d591d7 Bug 425575 - Huge context menu when holding right-click on a page, dragging mouse and letting go anywhere out of content area. r=mano 2010-08-06 08:55:42 +02:00
Felipe Gomes
aa23897901 Bug 520805: Full screen video plays back on wrong monitor (multiple monitor setup). r=jst, a=beltzner 2010-08-02 22:55:25 -04:00
Dão Gottwald
6bc1ff7fa2 Bug 581475 - Bail out early if the context menu isn't going to be displayed, remove duplicate property initialization. r=mano 2010-07-30 08:53:13 +02:00
Frank Yan
afe0644f0c Bug 514739: Remove 'block images from www.site.com' context menu item. r=gavin 2010-07-14 19:00:12 -07:00
Ehsan Akhgari
d52ae1cb31 Bug 433860 - No spelling suggestions for text inputs when contenteditable node in document; r=gavin 2010-06-01 14:08:38 -04:00
Mounir Lamouri
34bd1fda86 Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking 2010-05-12 09:17:07 +02:00
Dão Gottwald
c40f0cea44 Bug 556482 - Remove dead onDestroy method. r=gavin 2010-04-02 09:17:59 +02:00
Dão Gottwald
52f1c23155 Backed out changeset 15e478e4abd8 2010-01-27 13:26:21 +01:00
Ehsan Akhgari
2afa97c7bf Bug 242852 - I wish that "Copy link text" were a hyperlink contextual menu option, r=gavin, ui-r=faaborg 2010-01-15 21:28:27 -08:00
Nochum Sossonko
f531ea9a4c Bug 526952 - Check if we're on a link before using the selection for the context menu, r=dao 2009-12-12 21:22:09 -05:00
Nochum Sossonko
c4f9a924a2 Bug 515512 - Text urls that don't have the leading protocol should have the link context menu options when selected. r=dao 2009-10-31 08:59:23 +01:00