Commit graph

80 commits

Author SHA1 Message Date
Harry Twyford
1a72ada683 Bug 1706901 - Allow the toolbar to shift with position: relative. r=mstange,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D113612
2021-04-28 20:15:38 +00:00
Harry Twyford
ee556a8d23 Bug 740148 - Allow toolbar autohide in fullscreen on macOS, but disable it by default. r=mac-reviewers,mstange,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D110573
2021-04-01 18:16:25 +00:00
Harry Twyford
1aa4fbec7b Bug 1695921 - Rename OSXLionFullscreen to macOSNativeFullscreen. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D109931
2021-03-26 16:34:54 +00:00
Harry Twyford
c816de536a Bug 1699506 - Part 2 - Add CSS rules to shift the toolbar over the content when the macOS menubar is shown. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D106847
2021-03-18 20:20:40 +00:00
james
16060f0cc4 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 23:33:51 +00:00
Narcis Beleuzu
ed6880e281 Backed out changeset b3fcb4fcea64 (bug 1691274) for bc failures on browser_pointerlock_warning.js . CLOSED TREE 2021-02-13 21:46:51 +02:00
james
8069ab6165 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 18:11:18 +00:00
Emma Malysz
a71f7f0454 Bug 1678211, remove unused fullscreen.used telemetry probe r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98124
2020-12-01 16:59:30 +00:00
Xidorn Quan
e4463bf519 Bug 729011 - Make fullscr-toggler not affect viewport size. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D97736
2020-11-20 11:21:03 +00:00
Steven MacLeod
8a2f140b36 Bug 1656741, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91760
2020-10-05 22:38:03 +00:00
Gijs Kruitbosch
62c443a7c8 Bug 1663879 - do not show 'pdf.js' as the origin of the full screen request, r=jaws
Depends on D89675

Differential Revision: https://phabricator.services.mozilla.com/D89676
2020-09-11 15:05:50 +00:00
Gijs Kruitbosch
b2dee52fd3 Bug 1663879 - migrate fullscreen and pointer lock warnings to fluent, r=jaws,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D89675
2020-09-12 20:09:26 +00:00
Alphan Chen
4b0d7eb9e6 Bug 1644484 - Handle the TypeError and InvalidStateError when calling FullScreen.cleanupDomFullscreen() from DOMFullscreenParent.didDestroy() r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81716
2020-07-03 03:00:53 +00:00
Jan Horak
1b2ff0b054 Bug 1594738 Remove top black line from kiosk mode; r=mkaply
There is a fullscr-toggler still shown in kiosk mode. This patch
disables it showing when in kiosk mode.

Differential Revision: https://phabricator.services.mozilla.com/D81828
2020-07-01 13:31:14 +00:00
Emma Malysz
ea1d95a265 Bug 1645460, switch from the expired FX_BROWSER_FULLSCREEN_USED to a scalar that we actually collect until Fx86 r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D79519
2020-06-17 18:07:40 +00:00
Xidorn Quan
94c939416d Bug 1276537 part 3 - Remove OS X detection code from full screen handling. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D74556
2020-05-13 12:43:09 +00:00
Gijs Kruitbosch
e583ec83e1 Bug 1631229 - make popup hiding exiting fullscreen work correctly for tooltips, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D72461
2020-04-27 09:30:40 +00:00
Dão Gottwald
03c47b1185 Bug 1632166 - Obey prefers-reduced-motion when animating toolbars for fullscreen mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71959
2020-04-23 22:15:53 +00:00
Drew Willcoxon
83760cc442 Bug 1610200 - In full screen, properly hide the toolbars after the user picks a result in the urlbar. r=dao
Two fixes:

* The urlbar view isn't a popup anymore, so `FullScreen` should listen for `onViewOpen` and `onViewClose` on the urlbar controller instead of popup events.
* Change the keypress listeners to keydown to listen for enter events in the urlbar and hide the toolbars.

Differential Revision: https://phabricator.services.mozilla.com/D62123

--HG--
extra : moz-landing-system : lando
2020-02-13 21:39:08 +00:00
Abdoulaye Oumar Ly
7742d38850 Bug 1590138 - Handle the case where the actor is already destroyed during fullscreen exit so that chrome UI is fully restored. r=smaug,NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D51339

--HG--
extra : moz-landing-system : lando
2019-11-05 23:29:26 +00:00
Dão Gottwald
c6e65d0008 Bug 1589018 - Remove global-scope pollution from browser-fullScreenAndPointerLock.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D49393

--HG--
extra : moz-landing-system : lando
2019-10-16 12:34:22 +00:00
Dão Gottwald
79806540d1 Bug 1588813 - Remove redundant imports and service getters from browser-fullScreenAndPointerLock.js and nsContextMenu.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D49298

--HG--
extra : moz-landing-system : lando
2019-10-15 15:06:22 +00:00
Abdoulaye Oumar Ly
c558bed276 Bug 1505916 - [Fission] Part 2: Make the fullscreen code work with oop iframes. r=NeilDeakin,smaug
e10s scenario:
1. An DOM element request fulscreen mode.
2. The request is redirected to the parent.
3. Parent enters fullscreen.
4. Parent notifies child that it has finished entering fullscreen.
5. Child goes fullscreen.
6. Then, child notifies parent that it has finished transitioning to fullscreen.
4. Finally, parent notify observers that fullscreen paint has finished.

Let's go into the details of how step 5 works in the above scenario.
5.a The element that made the request is set to fullscreen.
5.b Then, the document where that element lives is set to fullscreen as well as all of its ancestors until we reach the top level document. (see Document::ApplyFulscreen method)

Now in Fission world, we may have a request comming from an oop iframe. And it that case since we won't have  to ancestor documents living in different content process(es), we will first notiy those content processes (one after another from bottom to top) to go fullscreen. Once they all do, the content process where the request originated will be told to enter fullscreen.

Differential Revision: https://phabricator.services.mozilla.com/D45972

--HG--
extra : moz-landing-system : lando
2019-10-11 14:30:28 +00:00
Abdoulaye Oumar Ly
a0898dc653 Bug 1505916 - [Fission] Part 1: Make the fullscreen code work with JSWindowActors. r=NeilDeakin,dao,smaug
At this point, fullscreen is not regressed but it doesn't work with oop iframes yet.

Differential Revision: https://phabricator.services.mozilla.com/D35026

--HG--
extra : moz-landing-system : lando
2019-10-11 14:30:28 +00:00
Paul Zuehlcke
53a3c77cec Bug 1583665 - Fixed AddonManager.jsm fullscreen check to only cancel installation for DOM fullscreen. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47933

--HG--
extra : moz-landing-system : lando
2019-10-09 09:28:19 +00:00
Michael Kaply
d3547ee818 Bug 158968 - Implement kiosk mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41848

--HG--
extra : moz-landing-system : lando
2019-10-04 19:47:56 +00:00
monikamaheshwari
9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Paul Zuehlcke
9ae51149b7 Bug 1577478 - Log warning to website console when permission prompt / fullscreen is canceled. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D44166

--HG--
extra : moz-landing-system : lando
2019-09-04 17:37:59 +00:00
Paul Zuehlcke
c4e3669f0f Bug 1558439 - Log warning to web console when add-on installation was blocked due to fullscreen. r=johannh,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D44161

--HG--
extra : moz-landing-system : lando
2019-08-30 16:34:08 +00:00
Paul Zuehlcke
39687fe7bb Bug 1522120 - Remove permission prompts when entering full-screen and leave full-screen when a permission prompt is shown. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D36932

--HG--
extra : moz-landing-system : lando
2019-07-24 16:17:54 +00:00
Xidorn Quan
6aee66b8fb Bug 1403085 - Add a pref to use native full screen for Fullscreen API on macOS. r=spohl,dao
Differential Revision: https://phabricator.services.mozilla.com/D37151

--HG--
extra : moz-landing-system : lando
2019-07-17 13:31:41 +00:00
Victor Porof
f9f5914039 Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041

--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00
Neil Deakin
e5fb1d5934 Bug 1533948, change BrowserTabChild to inherit from JSWindowActor, r=mconley
--HG--
extra : rebase_source : 5e88e30ac09c15e6747f6ef1019e9b27a793a898
2019-06-11 09:05:33 -04:00
Paul Zuehlcke
15881e3dff Bug 1412561 - Block addon installation prompts in fullscreen mode. r=johannh,aswan
Differential Revision: https://phabricator.services.mozilla.com/D27734

--HG--
extra : moz-landing-system : lando
2019-05-03 21:44:24 +00:00
Marco Bonardo
5c4e44ce0a Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753

--HG--
extra : moz-landing-system : lando
2019-02-28 08:39:33 +00:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Mike Conley
a6ae6c592f Bug 1506026 - Don't accidentally hide the navigator-toolbox if fullscreen has been exited. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12594

--HG--
extra : moz-landing-system : lando
2018-11-21 23:28:45 +00:00
Dão Gottwald
615e53a7d3 Bug 1499706 - Remove external calls to TabsInTitlebar.update and make it private. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D11311

--HG--
extra : moz-landing-system : lando
2018-11-08 18:41:04 +00:00
Mike Conley
afd250e0d3 Bug 1492950 - Get browser-fullScreenAndPointerLock.js off of getBrowserForContentWindow. r=jaws
Depends on D6712

Differential Revision: https://phabricator.services.mozilla.com/D6713

--HG--
extra : moz-landing-system : lando
2018-10-02 17:52:56 +00:00
Xidorn Quan
d66d53c7bf Bug 1477525 part 2 - Try hiding toolbox again when input in chrome loses the focus. r=dao
MozReview-Commit-ID: LnwVXN4oS2Z

Depends on D6750

Differential Revision: https://phabricator.services.mozilla.com/D6751

--HG--
extra : moz-landing-system : lando
2018-10-02 12:57:40 +00:00
Xidorn Quan
badd5e80ea Bug 1477525 part 1 - Merge the logic of _safeToCollapse into hideNavToolbox. r=dao
MozReview-Commit-ID: 1SEUVGprmv3

Differential Revision: https://phabricator.services.mozilla.com/D6750

--HG--
extra : moz-landing-system : lando
2018-10-02 12:57:37 +00:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Boris Zbarsky
270fa12c79 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Dão Gottwald
bc78820c00 Bug 1462580 - Don't exit DOM fullscreen mode when opening or closing background tabs. r=jaws
MozReview-Commit-ID: Da12eDWYFNy

--HG--
extra : rebase_source : 396cc37e1cbc7733b43d842abd0715c666524dbc
2018-05-23 10:44:00 +02:00
Dão Gottwald
a42207b4aa Bug 1448613 - Clean up TabsInTitlebar resize event handling. r=johannh
MozReview-Commit-ID: CXsfgWOAtwO

--HG--
extra : rebase_source : a0f53ac721b08d1adaaf90578f7499e18d567d0f
2018-03-26 17:24:17 +02:00
Csoregi Natalia
977c314ca4 Backed out changeset a1bb89af06ba (bug 1448613) - expected to fail due to Bug 1446264. CLOSED TREE 2018-03-26 18:19:14 +03:00
Dão Gottwald
99010f0537 Bug 1448613 - Clean up TabsInTitlebar resize event handling. r=johannh
MozReview-Commit-ID: 9UaG2RHst7

--HG--
extra : rebase_source : 1dd7d38344f8645f9cae1d5ce6b58c0e5d24807d
2018-03-25 05:54:38 +02:00
Vivek Dhingra
7b323d8758 Bug 1446060 - Rename mPanelContainer to tabpanels r=dao
MozReview-Commit-ID: 85PNkl3OeBE

--HG--
extra : rebase_source : d7bfb49a8736b8319f6d1ca45f39fe001d4214d8
2018-03-16 10:23:00 -04:00
Dão Gottwald
732eeec0ab Bug 1442651 - Remove the tabbrowser element and binding. r=bgrins
MozReview-Commit-ID: 2IXukkFq5C2

--HG--
extra : rebase_source : 4fd817951e19b39b5b06e75614031302177e86b2
2018-03-05 20:33:36 +01:00
Brian Grinstead
18bb37dcc8 Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9

--HG--
extra : rebase_source : 26b833413bab71168aa15e03f0f3803884be3f6b
extra : amend_source : 150cef6748ca8a9e819de0c674fac5966dd574cf
2018-02-27 10:04:14 -08:00