Commit graph

45 commits

Author SHA1 Message Date
Xidorn Quan
d21321be36 Bug 1176519 - Restore the position the fullscreen toolbox collapsed flag is set. r=dao
--HG--
extra : source : 2ea2927d4476d86d12c60af71e25fc67fd0312cd
2015-06-24 14:08:53 -07:00
Dão Gottwald
aaf3a98ac3 Bug 1176233 - Simplify fullscreen code. r=xidorn
--HG--
extra : rebase_source : dde25eafcc102169b716a03873e3d0598f626b39
2015-06-20 12:35:10 +02:00
Xidorn Quan
b5cb6a7b23 Bug 1173768 - Force TabsInTitlebar to re-update appearance after exiting fullscreen. r=Gijs
--HG--
extra : source : ef759f9c95e6837fd8fe15389ee3b20779676fb3
2015-06-18 21:13:42 +10:00
Xidorn Quan
1840048bb9 Bug 1173886 - Fix DOM fullscreen broken in e10s for tabs other than the first. r=dao
It changes the condition to check whether the MozDOMFullscreen:Entered
is originally targeted the <browser>.

--HG--
extra : source : 54e4c6612c01f7a035e729a2660810e6587f832f
2015-06-12 21:27:02 +12:00
Xidorn Quan
68859cacc4 Bug 1168028 part 2 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao
--HG--
extra : source : bbf582da8bd4b7ee58c597b5aeb9f64199059f38
2015-06-12 13:24:45 +12:00
Wes Kocher
74a5cb6d17 Backed out changeset d73a15153b3b (bug 1168028) for browser_domFullscreen_fullscreenMode.js failures CLOSED TREE 2015-06-10 16:03:44 -07:00
Xidorn Quan
6152c0e865 Bug 1168028 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao
--HG--
extra : source : 1579e857976490ab9ab1bf64f458fc371d20c3e6
2015-06-11 09:45:06 +12:00
Xidorn Quan
29eb0a646b Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao
--HG--
extra : source : fafd0c5759b8273aa30f37f014d2d5347a72b6d2
2015-06-10 23:13:12 +12:00
Xidorn Quan
d7dd0eac3b Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:

1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.

2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.

--HG--
extra : source : 78f78a62ce31b33413f0b52532eb22e5712cb646
2015-06-10 23:13:12 +12:00
Xidorn Quan
e8e57ab99e Bug 1168397 - Skip hiding toolbars for fullscreen mode on OS X Lion. r=dao
--HG--
extra : amend_source : 30d4c435f1b47f83aceddd6ace3587017760cccb
2015-06-06 19:08:00 +12:00
Xidorn Quan
88b85f84fa Bug 1105939 part 8 - Display fullscreen warning after reactivation on OS X Lion. r=dao
--HG--
extra : source : 28f19c8ca77706b242f29ccf54d706fbf1dc3af9
2015-06-04 13:49:34 +12:00
Xidorn Quan
a8b76bbd2f Bug 1167890 - Cleanup DOM fullscreen state in chrome for MozDOMFullscreen:Exited event. r=dao
--HG--
extra : source : 337d896e2ba588c43d7dbe2574acda68b6a20e47
2015-05-29 09:55:39 +12:00
Bobby Holley
477721865b Bug 1167372 - Use originNoSuffix for full-screen prompt. v2 r=smaug,r=dao,r=fabrice 2015-05-27 15:32:47 -07:00
Carsten "Tomcat" Book
b4dc8a79b7 merge mozilla-inbound to mozilla-central a=merge 2015-05-21 14:56:34 +02:00
Xidorn Quan
eeb254e9de Bug 1053413 part 4 - Rely on single MozDOMFullscreen:Exited event instead of ask-* notifications on Firefox. r=dao
--HG--
extra : source : f5aa3065f1baecd2d991fb75f245004db09e3eb4
2015-05-21 09:52:26 +12:00
Xidorn Quan
1aa67a7a9f Bug 1053413 part 2 - Separate a MozDOMFullscreen:NewOrigin event from MozDOMFullscreen:Entered. r=dao,smaug
Change of fullscreen origin is now notified by the new specific event,
MozDOMFullscreen:NewOrigin. The event MozDOMFullscreen:Entered is only
triggered when the window first enter fullscreen by DOM fullscreen. It
is now only used to notify the parent to hide its chrome.

--HG--
rename : dom/tests/mochitest/general/file_MozDomFullscreen.html => dom/tests/mochitest/chrome/file_MozDomFullscreen.html
extra : source : f2ccd792f9520af51e11111cfdd922e9c1f29579
2015-05-21 09:52:26 +12:00
Xidorn Quan
100a467991 Bug 1053413 part 1.1 - Rename Moz{Entered,Exited}DomFullscreen to MozDOMFullscreen:{Entered,Exited}. r=smaug
--HG--
extra : source : d2d754a18776c319af6ccb1bf8d0539222ac160f
2015-05-21 09:52:26 +12:00
Xidorn Quan
0054a5baa1 Bug 1053413 part 1 - Some code style conversion on affected code. r=dao
--HG--
extra : source : 165eec278b0b7def1ecd1acb3a2e01936da5935a
2015-05-21 09:52:26 +12:00
Xidorn Quan
c50187c3cd Bug 1165570 - Skip changing fullscreen window controls when using OS X Lion native fullscreen. r=dao
--HG--
extra : amend_source : cd4e4095a0ef2e972d1717b93ae8575b3fca9e22
2015-05-17 15:12:00 +12:00
Xidorn Quan
368aba9ea0 Bug 1162752 - Prevent collapsing toolbar on fullscreen mode on OS X >= Lion. r=dao
--HG--
extra : source : 1599374bea7abb66c6de302284e76edf48b97cba
2015-05-14 13:14:47 +12:00
Xidorn Quan
2ae6dcc764 Bug 947854 part 2 - Avoid exiting fullscreen mode when exit from DOM fullscreen. r=smaug,dao
--HG--
extra : source : 44f82c49ce6f98bc996be41c27a00af99d53215f
2015-05-06 10:04:31 +12:00
Xidorn Quan
ac7ca12075 Bug 947854 part 1 - Use CSS transition instead of JS animation for hiding toolbox in fullscreen mode and simplify related code. r=dao
--HG--
extra : source : 509bc28d78c58292938cd711e7fc5e02179ef4ae
2015-05-06 10:04:31 +12:00
abdelrhman
6cf86471ca Bug 1110109 - Use Services.focus instead of Cc["@mozilla.org/focus-manager;1"].getService(Ci.nsIFocusManager). r=dao 2014-12-16 21:38:33 +01:00
Akshendra Pratap
7a428ac9fe Bug 515196 - Added padding to toolbar autohide. r=dao 2014-11-01 21:01:18 +01:00
Edouard Oger
f08fc143ca Bug 714675 - Fullscreen API should restore sidebar if it was open before entering fullscreen. r=mconley 2014-10-30 12:45:00 +01:00
Dão Gottwald
d9093f1361 Bug 1071821 - fullscr-toggler element needs to be hidden in DOM fullscreen. r=mconley 2014-09-26 21:22:55 +02:00
Mike Conley
36148f8108 Bug 961362 - DOM Fullscreen API support for e10s. r=smaug,billm. 2014-08-19 16:58:00 -04:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Dão Gottwald
a3eb9057c1 Bug 1012629 - Infer from each toolbar's text color whether we should use inverted icons. r=gijs 2014-05-20 15:41:11 +02:00
Gijs Kruitbosch
318d317bbe Bug 890356 - After exiting Lion fullscreen, context menus on toolbars no longer work, r=dao 2013-07-04 20:12:23 +02:00
Jared Wein
c1b7682a8c Bug 863299 - Only support large icons mode for the toolbars in the browser. r=Unfocused 2013-06-11 21:45:35 -04:00
Jared Wein
0bcd532042 Bug 755593 - Remove tabs-on-bottom mode. r=dao 2013-06-04 18:08:55 -04:00
Gijs Kruitbosch
21accbf766 Merge m-c to ux 2013-06-02 21:35:55 +02:00
Mike Conley
bec6920d3a Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-29 17:41:40 -04:00
Jared Wein
10cfb04335 Bug 867675 - Full Screen control in the customization panel doesn't leave the enabled state once it's entered. r=mconley
--HG--
extra : rebase_source : a0f08483088c1819cae2b144176a6f94333baf7a
2013-05-28 13:41:15 -04:00
Shane Caraveo
94f7ba5ffd bug 821073 fix dom element full screen support in social panels, r=felipe 2013-05-31 15:52:48 -07:00
Mike Conley
5ba00ea76d Bug 863753 - Retire the Firefox appmenu button. r=MattN. 2013-05-06 11:36:17 -04:00
JosiahOne
eec68b9946 Bug 855370 - Remove the ability to not 'Always show the tab bar'. r=dao, ui-r=limi 2013-03-27 20:54:59 -04:00
Chris Pearce
46036de057 Bug 724554 - Don't exit fullscreen on window deactivate, just warn on refocus. r=dao 2013-02-26 18:40:53 +13:00
ithinc
7e5b772393 Bug 819907 - Add permanent fullsc-toggler element to simplify code. r=gavin 2012-12-24 22:45:06 +08:00
Jonathan Kew
9bbf39372f bug 814383 - fix javascript strict-mode warnings in browser.js. r=gavin 2012-11-26 16:18:25 +00:00
Ian Moody
d5b97b473c Bug 737792 - Use for..of loops in browser.js. r=dao
--HG--
extra : rebase_source : df980b6310daecb9e80793ca900ba983aadb12c6
2012-08-21 18:56:07 +02:00
Dão Gottwald
932140b8ee Bug 782043 - Get rid of the fullscreencontrol attribute. r=felipe 2012-08-14 06:04:33 +02:00
Paul O’Shannessy
c4e93f1c43 Bug 714186 - Add padding to top of windows when fullscreen on Lion. r=fryn ui-r=shorlander 2012-07-10 21:08:06 -07:00
Justin Dolske
45ed5414b5 Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (FullScreen). r=gavin 2012-05-31 23:26:00 -07:00