Граф коммитов

67 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan c7021ea00d Bug 1192683 - Retry hiding toolbox when some of safe-to-collapse conditions change. r=dao
--HG--
extra : transplant_source : %B2x%B4%F6%AB%CA%97A%D1%FE%A0%A7xU%C5%CBv%FD%C9%80
2015-10-23 18:13:02 +11:00
Ryan VanderMeulen 2c06cd96c8 Backed out changeset 4169913a206b (bug 1192683) for being the likely cause of OSX 10.10 mochitest-2 leaks. 2015-10-23 17:43:17 -04:00
Xidorn Quan 623600e3a4 Bug 1192683 - Retry hiding toolbox when some of safe-to-collapse conditions change. r=dao
--HG--
extra : rebase_source : 180b080e57ad3533f21f4eaaab0dfc6bb0cd600a
2015-10-23 18:13:02 +11:00
Xidorn Quan 965a30f6ea Bug 1196247 - Hide findbar without animation when entering DOM fullscreen. r=mikedeboer
--HG--
extra : source : 9dc1d62b85172813dc0ef9d055cdcc487dc84329
2015-10-07 16:53:43 +11:00
Xidorn Quan c147ca35ed Bug 1209060 - Use html elements instead of xul ones for fullscreen warning box. r=dao
--HG--
extra : source : 1a784e253670932fa50c3d4252e104d92bb808ab
2015-10-01 21:43:19 +10:00
Paolo Amadini 97fcfb08be Bug 1204486 - Simplify gIdentityHandler and show connection type in the fullscreen notification. r=ttaubert
--HG--
extra : commitid : EWCjQdIerD7
extra : rebase_source : 963b59d8880ae87fdb51255a5e550d008771e32f
2015-09-22 14:37:39 +01:00
Jared Wein 3442405142 Bug 1201374 - followup, check for DOM fullscreen. r=xidorn
--HG--
extra : rebase_source : 740c2e01fcf52c11310314c337baea704f00f94f
2015-09-08 16:56:13 -04:00
Jared Wein 61d08eb342 Bug 1201374 - Add a telemetry probe to track how often F11 fullscreen mode is used (browser-fullscreen). r=ttaubert p=ally 2015-09-08 08:53:05 -04:00
Xidorn Quan 206e25dab0 Bug 1160023 followup 2 - Fix test failure on browser_domFullscreen_fullscreenMode.js.
--HG--
extra : source : d73b9891b500722cb6c1b27d420ca6eaa03a112c
2015-08-14 22:39:59 +10:00
Xidorn Quan b1901ac45d Bug 1160023 followup - Avoid constructing box for hidden fullscreen warning. r=dao
--HG--
extra : source : f20fc7b667ad9f1c9ff328d591970ae349813c1f
2015-08-14 20:23:32 +10:00
Xidorn Quan 89f6321036 Bug 1160023 part 5 - Implement the new fullscreen warning box. r=dao
--HG--
extra : source : 5feba587802aaa472a72b9c9f7543bd6eabef83a
2015-08-13 22:42:06 +10:00
Xidorn Quan 4e1d375d91 Bug 1160023 part 4 - Some code movement and style fix in fullscreen warning code. r=dao
--HG--
extra : source : b1a57a5399a1bc34de9fb1283ae0ff8da737e8c2
2015-08-13 22:42:06 +10:00
Xidorn Quan b2cf28ba1b Bug 1160023 part 2 - Add Timeout object to simplify timeout managing code. r=dao
--HG--
extra : source : 105ffbef0e092b7d6ef80d40e97ab1a629ca834b
2015-08-13 22:42:06 +10:00
Xidorn Quan ab5ce080f7 Bug 1160023 part 1 - Put fullscreen warning box related logic into a nested object. r=dao
--HG--
extra : source : 40e2254230f911f1abf6c12d67537e3b6e1014cd
2015-08-13 22:42:06 +10:00
Xidorn Quan bd680dae70 Bug 1160017 part 2 - Remove fullscreen permission code from the browser part. r=dao
--HG--
extra : source : e725a40fe72a7326d66a49d8015e41665e3717c2
2015-07-21 20:50:20 +10:00
Xidorn Quan de00198603 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.

--HG--
extra : source : 54a8b3b7351af89049825598891fd3a1f98d18af
2015-07-13 20:44:36 +10:00
Nigel Babu 64f3815bd7 Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Xidorn Quan 09d4d46e81 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.

--HG--
extra : source : a64f71ea9ceb37acbbfc4e4023880fb244daa738
2015-07-11 10:08:59 +10:00
Michael Layzell 6265522c59 Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 17:12:27 -04:00
Ehsan Akhgari 4484832cb5 Backout bug 1170200 because of test failures on a CLOSED TREE 2015-07-03 16:43:47 -04:00
Michael Layzell 39a5778c7e Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 14:18:23 -04:00
Xidorn Quan 3c67d59dac Bug 1168705 part 3 - Make MozDOMFullscreen:{Request,Exit,Entered,Exited} be triggered synchronously. r=dao,smaug
MozDOMFullscreen:{Request,Exit} are simply used to redirect the request
to the parent process, hence there is no need to align them with refresh
driver tick or dispatch asynchronously.

MozDOMFullscreen:{Entered,Exited} are also used to notify the content
process about the change, hence dispatching them later could cause
unwanted delay on fullscreen change. Their handlers are also changed in
this patch to avoid recursive fullscreen change.

--HG--
extra : source : 4e28bd72c693e64f48e8e90adfc066837a5ada89
2015-07-02 19:12:31 +10:00
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