Commit Graph

79 Commits

Author SHA1 Message Date
YUKI Hiroshi
7b038dce32 Don't restore initial mode for new window 2015-03-03 20:10:12 +09:00
YUKI Hiroshi
2398b837b0 Add missing ";" on the end of line 2015-03-03 20:10:01 +09:00
YUKI Hiroshi
b0899c5d07 Apply new mode manually 2015-03-03 20:06:14 +09:00
YUKI Hiroshi
480f3c4c6f Observe preference changes about autohide by the module itself 2015-03-03 20:01:03 +09:00
YUKI Hiroshi
3ae3bad1b4 Store last autohide mode after deactivating correctly 2015-03-03 19:53:26 +09:00
YUKI Hiroshi
67fcb13e05 Apply autoHide mode only for the active window 2015-03-03 19:49:34 +09:00
YUKI Hiroshi
af8a061ca1 Store and restore last autohide mode for each window 2015-03-03 19:45:44 +09:00
YUKI Hiroshi
949fab8ae3 Store last mode 2015-03-03 19:22:24 +09:00
YUKI Hiroshi
a829f25bba Extract constant definitions to a shared base object 2015-03-03 19:16:27 +09:00
YUKI Hiroshi
6802444a23 Save last autohide state as window value 2015-03-03 19:07:52 +09:00
YUKI Hiroshi
801c28bd1a Simplify 2015-03-03 18:57:21 +09:00
YUKI Hiroshi
767479f9f1 Break line for condition and operation 2015-03-03 18:56:55 +09:00
YUKI Hiroshi
1cf6887ff7 Output more debug-friendly messages for the "autohide" feature 2014-12-01 23:25:48 +09:00
YUKI Hiroshi
53e805b4d9 Remove obsolete comment 2014-11-11 18:51:28 +09:00
YUKI Hiroshi
06c89a80c2 Check existence of plugin area in the current tab asynchronously with e10s 2014-11-11 18:42:30 +09:00
YUKI Hiroshi
02bcfe5d8b Handle mouse events for auto hide feature by a frame script, for e10s 2014-11-11 17:45:12 +09:00
YUKI Hiroshi
09f43c8f84 Use LF instead of CRLF 2014-09-30 20:09:27 +09:00
John Schoenick
b64986b292 Workaround for bug 1042680 issue #3 in e10s mode 2014-08-27 16:16:41 -07:00
Piro / YUKI Hiroshi
8b3792b312 Use CustomEvent instead of DataContainerEvent.
DataContainerEvent is going to be deprecated.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=980134
2014-03-12 01:50:40 +09:00
YUKI Hiroshi
617771c1c1 Restore scroll position of the tab bar in "auto hide" mode (#653) 2014-02-06 17:49:47 +09:00
Piro / YUKI Hiroshi
8596d9dec1 Fix broken show/hide API #392 2014-01-25 00:00:44 +09:00
Piro / YUKI Hiroshi
461a8aca98 Update credit 2013-11-10 04:28:07 +09:00
Tetsuharu OHZEKI
5991114c47 Use Services.focus. 2013-11-06 22:11:15 +09:00
Piro / YUKI Hiroshi
78e4ea5526 Don't cancel the timer to hide (or collapse) the tab bar after a tab is opened or closed (#581, regression) 2013-10-30 04:30:08 +09:00
YUKI Hiroshi
6756ec255a Don't define multiple constant property with same value 2013-10-24 10:16:53 +09:00
Piro / YUKI Hiroshi
13584c712a Hide (collapse) the tab bar when the floating tab bar is going to be updated.
By this change, the size of the shrunken tab bar will saved and restored correctly. (#575)
2013-10-23 02:42:22 +09:00
Piro / YUKI Hiroshi
f7e172172b Expand the shrunken tab bar immediately when the mouse pointer moves onto the tab bar, if the size of teh tab bar is fixed. 2013-10-23 01:41:26 +09:00
YUKI Hiroshi
47774acf54 Keep tab bar shown (expanded) if one of triggers is still there. (#552)
The tab bar can be shown by three reasons: mouseover, keyboard shortcut,
and feedback for new tabs. However, sometimes two or more triggers can
be fired in a same time. Now TST keeps the tab bar showing (expanded)
for combinated cases, like: shown by the keyboard shortcut, the mouse
goes onto the tab bar, and it leaves from the tab bar.
2013-09-17 16:22:29 +09:00
Piro / YUKI Hiroshi
5b30204112 Output more messages for debugging 2013-07-27 02:03:44 +09:00
Piro / YUKI Hiroshi
adbebdef7e Reduce use of arguments.callee because it doesn't work on the strict mode 2013-03-02 21:29:41 +09:00
Piro / YUKI Hiroshi
72d38659d8 TreeStyleTabBase should not inherit "prefs" 2013-01-06 11:47:50 +09:00
Piro / YUKI Hiroshi
8e37edc535 find tab from screen coordinates more quickly 2012-12-04 01:16:20 +09:00
Piro / YUKI Hiroshi
450fa34790 Simplify codes to load modules lazily 2012-11-11 22:48:42 +09:00
YUKI Hiroshi
c0e9280444 Shorten "TSTUtils" to "utils" (because they are already in the context) 2012-10-24 01:43:56 +09:00
saneyuki_s
3e658380c9 Move some pref methods from TSTBase to TSTUtils. 2012-10-19 23:20:08 +09:00
Piro / YUKI Hiroshi
9182259ab5 Update credit 2012-10-14 03:31:06 +09:00
Piro / YUKI Hiroshi
a6792a2b4b Reduce usecases of evaluateXPath() 2012-09-23 15:43:49 +09:00
SHIMODA Hiroshi
247ec2a3b7 Fix NS_ERROR_XPC_BAD_OP_ON_WN_PROTO error while auto-shrink is enabled ( #241 ) 2012-05-02 19:29:29 +09:00
SHIMODA Hiroshi
968155edb7 the sensitive area was wrongly expanded to the width of the shown tab bar 2012-02-03 19:11:56 +09:00
Piro / SHIMODA Hiroshi
f077af1317 ignore events after destruction 2012-01-24 04:07:56 +09:00
Piro / SHIMODA Hiroshi
6bab97a38f * we couldn't resize shrunken tab bar by mouse drag
* now we can prevent auto-show/hide of the tab bar by pressing shift key
2012-01-24 03:35:48 +09:00
Piro / SHIMODA Hiroshi
4d816760b5 reduce obsolete version-specific logic and comments 2012-01-14 01:30:06 +09:00
SHIMODA Hiroshi
b44c9b20f9 remove regacy codes 2012-01-13 18:06:40 +09:00
Piro / SHIMODA Hiroshi
1b50b890c4 tab bar should not be hidden by keyboard input if it is expanded by mouse 2012-01-03 06:00:04 +09:00
SHIMODA Hiroshi
8e0159712a when the current tab includes <embed>, drag and drop feature ottally broken after you tried to drag the tab bar itself. 2011-12-19 18:58:25 +09:00
SHIMODA Hiroshi
d447107fbe shrink sensitive area based on the size of clickable element 2011-12-19 17:29:37 +09:00
SHIMODA Hiroshi
6a9f32235c we should not expand tab bar automatically if the pointer is over the twisty 2011-12-19 16:49:23 +09:00
SHIMODA Hiroshi
3870310023 generalize 2011-12-19 16:43:18 +09:00
SHIMODA Hiroshi
b5f3f4abd3 don't shrink sensitive area if there is no closebox near the pointer 2011-12-19 16:37:48 +09:00
SHIMODA Hiroshi
af9bc6257b don't show content area screen if it is not required 2011-12-05 17:10:16 +09:00