Commit Graph

42 Commits

Author SHA1 Message Date
Xidorn Quan
faad14d1c8 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>.
2015-06-12 21:27:02 +12:00
Xidorn Quan
705f38acef Bug 1168028 part 2 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao 2015-06-12 13:24:45 +12:00
Wes Kocher
6277cda150 Backed out changeset d73a15153b3b (bug 1168028) for browser_domFullscreen_fullscreenMode.js failures CLOSED TREE 2015-06-10 16:03:44 -07:00
Xidorn Quan
181ade2d17 Bug 1168028 - Revert DOM fullscreen state after window finish resizing if we need to. r=smaug,dao 2015-06-11 09:45:06 +12:00
Xidorn Quan
bcb81d180c Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao 2015-06-10 23:13:12 +12:00
Xidorn Quan
960d5fd06f 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.
2015-06-10 23:13:12 +12:00
Xidorn Quan
648063206d Bug 1168397 - Skip hiding toolbars for fullscreen mode on OS X Lion. r=dao 2015-06-06 19:08:00 +12:00
Xidorn Quan
fb4171e3de Bug 1105939 part 8 - Display fullscreen warning after reactivation on OS X Lion. r=dao 2015-06-04 13:49:34 +12:00
Xidorn Quan
53b154c938 Bug 1167890 - Cleanup DOM fullscreen state in chrome for MozDOMFullscreen:Exited event. r=dao 2015-05-29 09:55:39 +12:00
Bobby Holley
bbe701fdda 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
6ef08c6881 merge mozilla-inbound to mozilla-central a=merge 2015-05-21 14:56:34 +02:00
Xidorn Quan
04452900f3 Bug 1053413 part 4 - Rely on single MozDOMFullscreen:Exited event instead of ask-* notifications on Firefox. r=dao 2015-05-21 09:52:26 +12:00
Xidorn Quan
62c32d4600 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.
2015-05-21 09:52:26 +12:00
Xidorn Quan
7f7a3b2b44 Bug 1053413 part 1.1 - Rename Moz{Entered,Exited}DomFullscreen to MozDOMFullscreen:{Entered,Exited}. r=smaug 2015-05-21 09:52:26 +12:00
Xidorn Quan
6581a18f89 Bug 1053413 part 1 - Some code style conversion on affected code. r=dao 2015-05-21 09:52:26 +12:00
Xidorn Quan
2d6bb244df Bug 1165570 - Skip changing fullscreen window controls when using OS X Lion native fullscreen. r=dao 2015-05-17 15:12:00 +12:00
Xidorn Quan
be02d29574 Bug 1162752 - Prevent collapsing toolbar on fullscreen mode on OS X >= Lion. r=dao 2015-05-14 13:14:47 +12:00
Xidorn Quan
a821accd86 Bug 947854 part 2 - Avoid exiting fullscreen mode when exit from DOM fullscreen. r=smaug,dao 2015-05-06 10:04:31 +12:00
Xidorn Quan
2b93a898c5 Bug 947854 part 1 - Use CSS transition instead of JS animation for hiding toolbox in fullscreen mode and simplify related code. r=dao 2015-05-06 10:04:31 +12:00
abdelrhman
89000bcaec 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
5126311176 Bug 515196 - Added padding to toolbar autohide. r=dao 2014-11-01 21:01:18 +01:00
Edouard Oger
0afc2d70b0 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
c1553e0d02 Bug 1071821 - fullscr-toggler element needs to be hidden in DOM fullscreen. r=mconley 2014-09-26 21:22:55 +02:00
Mike Conley
6812cc5167 Bug 961362 - DOM Fullscreen API support for e10s. r=smaug,billm. 2014-08-19 16:58:00 -04:00
Jim Blandy
39dc0c6097 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
0058f3d92f 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
979f35d8b8 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
5d7a9b4a66 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
b6e9bc1fc4 Bug 755593 - Remove tabs-on-bottom mode. r=dao 2013-06-04 18:08:55 -04:00
Gijs Kruitbosch
d25d9a3aa7 Merge m-c to ux 2013-06-02 21:35:55 +02:00
Mike Conley
5c12a134f0 Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-29 17:41:40 -04:00
Jared Wein
a9515b4c58 Bug 867675 - Full Screen control in the customization panel doesn't leave the enabled state once it's entered. r=mconley 2013-05-28 13:41:15 -04:00
Shane Caraveo
d9d8cbcdfc bug 821073 fix dom element full screen support in social panels, r=felipe 2013-05-31 15:52:48 -07:00
Mike Conley
3507372a47 Bug 863753 - Retire the Firefox appmenu button. r=MattN. 2013-05-06 11:36:17 -04:00
JosiahOne
99b25419a4 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
c14badb32f Bug 724554 - Don't exit fullscreen on window deactivate, just warn on refocus. r=dao 2013-02-26 18:40:53 +13:00
ithinc
7aaa010172 Bug 819907 - Add permanent fullsc-toggler element to simplify code. r=gavin 2012-12-24 22:45:06 +08:00
Jonathan Kew
f0be4f09aa bug 814383 - fix javascript strict-mode warnings in browser.js. r=gavin 2012-11-26 16:18:25 +00:00
Ian Moody
3e05c975c6 Bug 737792 - Use for..of loops in browser.js. r=dao 2012-08-21 18:56:07 +02:00
Dão Gottwald
7ce2422544 Bug 782043 - Get rid of the fullscreencontrol attribute. r=felipe 2012-08-14 06:04:33 +02:00
Paul O’Shannessy
d7be64bb29 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
504f0239d6 Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (FullScreen). r=gavin 2012-05-31 23:26:00 -07:00