Commit Graph

995 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
04b06ef084 Apply new pref value only for the topmost browser window smartly 2015-09-29 03:45:10 +09:00
YUKI Hiroshi
fe39d5d6f3 Fix mismatched references 2015-09-28 21:42:05 +09:00
YUKI Hiroshi
5913bf1f86 Don't shrink tab bar when a tab is closed or the focus is moved 2015-09-28 21:08:49 +09:00
YUKI Hiroshi
8e47c84fd0 Output more debug print for show/hide of the tab bar 2015-09-28 21:08:33 +09:00
YUKI Hiroshi
3a3d0945c7 Place sound button in tabs before the closebox 2015-09-28 20:33:31 +09:00
YUKI Hiroshi
b607f36586 Update library to fix broken preferences dialog at Firefox 42
See: https://github.com/piroor/treestyletab/issues/944#issuecomment-143146598
2015-09-25 17:24:55 +09:00
YUKI Hiroshi
a43b31b5c7 Set tab-strip-element attribute for the tabbar internal box ceratinly.
TreeStyleTabBrowser#init() fails to set the attribute for the tabbar internal box,
so resizing of the element is unexpectedly tracked by BrowserUIShowHideObserver
even if it is triggered by the "auto hide" feature. It causes the bug #942.
When the mouse cursor moves onth the shrunken tab bar, autohide service expands
the width of the tab bar by setting width/height attribuets. Such a "resizing"
must be ignored by BrowserUIShowHideObserver because only unexpected resizing
caused by other addons triggers "update size of the floating tab bar".
2015-09-25 15:32:58 +09:00
YUKI Hiroshi
ae050bba76 Output more debug print 2015-09-25 15:26:40 +09:00
YUKI Hiroshi
f42c8c14bd Output attribute old value in the debug print 2015-09-25 15:10:19 +09:00
YUKI Hiroshi
af4c15f08d Report the reason why the tab bar is collapsed/expanded 2015-09-25 14:36:20 +09:00
YUKI Hiroshi
888a858a7d More debug prints 2015-09-25 14:36:01 +09:00
YUKI Hiroshi
cbf0cbd47e Open new dummy tab when a blank bookmark folder is droppend to the tab bar (inspired from #923) 2015-08-31 18:55:54 +09:00
YUKI Hiroshi
15666abfcb Call renamed methods correctly 2015-08-28 17:39:04 +09:00
Xidorn Quan
1e8a1bc324 Fix Fullscreen API issue for Firefox 41+.
This is a change from bug 1161802 which makes the "fullscreen" event be
triggered after window.fullScreen value flips.
2015-08-18 12:11:23 +10:00
YUKI Hiroshi
27efc4311d Update library 2015-07-24 11:14:57 +09:00
J. Ryan Stinnett
008a520efd Replace mozRequestAnimationFrame with requestAnimationFrame. Fixes #915 2015-07-22 10:43:47 -05:00
Piro / YUKI Hiroshi
b6e4abe842 Update library 2015-06-13 00:19:58 +09:00
Piro / YUKI Hiroshi
daa27ee336 Clear temporary position information of the tab bar after it is permanently changed.
This seems to fix broken appearance issue around toolbar customization (on second try or later).
2015-06-13 00:16:21 +09:00
Piro / YUKI Hiroshi
8df88139d4 Remove obsolete utility 2015-06-13 00:06:54 +09:00
Piro / YUKI Hiroshi
f9aa9d123c Restore/reinit tabbar asynchronously on toolbar customization 2015-06-13 00:06:15 +09:00
Piro / YUKI Hiroshi
48ee58e3a2 Send shutdown event correctly 2015-06-12 23:45:47 +09:00
Piro / YUKI Hiroshi
6bdfafd2f8 Broadcast message for content processes correctly when a window is closed 2015-06-12 23:32:38 +09:00
Piro / YUKI Hiroshi
523848a7ed Migrate from "selected" to "visuallyselected" attribute.
See also: http://www.hackermusings.com/2015/06/electrolysis-a-tale-of-tab-switching-and-themes/
2015-06-11 03:28:00 +09:00
YUKI Hiroshi
0c2c33e19d Fix typo 2015-03-19 18:12:07 +09:00
YUKI Hiroshi
d2d68a6437 Avoid errors from elements without box object 2015-03-19 11:32:03 +09:00
YUKI Hiroshi
6efc491e66 Cancel previous scroll before scroll to tab group 2015-03-19 11:20:52 +09:00
YUKI Hiroshi
d7963e36be Extract logic to scroll to specified tabs, from the method to scroll to a tree 2015-03-19 10:24:47 +09:00
YUKI Hiroshi
445ebbcf35 Update visibility of tab bar by status change of related elements more robustly #848 2015-03-18 11:25:33 +09:00
Piro / YUKI Hiroshi
eccfe1ea8d Don't move scroll position if the target tab is already in the viewport (regression by the previous commit) 2015-03-18 02:59:58 +09:00
Piro / YUKI Hiroshi
4ff4584833 Use Firefox's native smooth scrolling method if possible, to activate accelerations #856 2015-03-18 02:52:02 +09:00
Piro / YUKI Hiroshi
d0fb0280e8 Fix indent 2015-03-18 02:40:08 +09:00
Piro / YUKI Hiroshi
d821755f2f Extract implementations about smooth scrolling 2015-03-18 02:39:36 +09:00
YUKI Hiroshi
0cae72fd00 Cancel previous scroll if the new to-be-scrolled tab is in the viewport 2015-03-17 18:57:12 +09:00
YUKI Hiroshi
d41a66603e Scroll to expanded tree more intelligently 2015-03-17 18:29:09 +09:00
YUKI Hiroshi
ec76dd9c04 Remove needless event handler for wheel scrolling on the tab bar 2015-03-17 17:49:39 +09:00
YUKI Hiroshi
f0c012710d Use given duration 2015-03-17 16:06:20 +09:00
YUKI Hiroshi
c97b42abb9 Send re-init message only for remoteness changed tab 2015-03-13 16:56:32 +09:00
YUKI Hiroshi
8705564a98 Restart listening of mouse events after browser remoteness is changed 2015-03-13 16:45:38 +09:00
YUKI Hiroshi
4ad032d55c Listen messages from the content process with single listener for the window, instead of separate listeners for each frame.
If we register listeners for each frame, they don't work after the type of related browser is changed between remote and in-process.
2015-03-13 16:37:02 +09:00
YUKI Hiroshi
64f488575e Don't touch to browser.contentWindow if it is remote 2015-03-13 15:58:40 +09:00
Piro / YUKI Hiroshi
4acdd4104b Show Firefox Hello chat boxes only on the content area (Don't show chat boxes behind tabs) #753 2015-03-06 01:56:44 +09:00
Piro / YUKI Hiroshi
ff9b670d17 Handle mousemove events on the fullscreen toggler #801 2015-03-06 00:42:30 +09:00
Piro / YUKI Hiroshi
7ab47dd15d Apply initial or last auto hide mode for newly opened and restored windows correctly 2015-03-05 23:59:19 +09:00
Piro / YUKI Hiroshi
e0db926068 Manage auto hide mode for each fullscreen window 2015-03-05 23:13:50 +09:00
Piro / YUKI Hiroshi
aa375bea22 Detect opener tab more correctly when multiple tabs are opened at once from a remote tab #812
However, some cases are still not supported:

 * When the new tab has no referrer
 * When any opened tab has an URI same to the opener tab
2015-03-05 02:36:14 +09:00
YUKI Hiroshi
be375327ca Set temporary position after it is completely updated 2015-03-04 10:16:12 +09:00
YUKI Hiroshi
4d99d0e067 Fix indent 2015-03-04 09:51:58 +09:00
YUKI Hiroshi
5b612b9a84 Use <xul:browser>'s mapScreenCoordinatesFromContent only when it exists 2015-03-04 09:51:27 +09:00
YUKI Hiroshi
8cc5be8103 Use <xul:browser>'s mapScreenCoordinatesFromContent() method instead of custom one 2015-03-04 09:47:03 +09:00
Piro / YUKI Hiroshi
f9c865710a Correct mismatched pair of shrunken and expanded width of the tab bar 2015-03-04 02:19:07 +09:00