Compact constants

This commit is contained in:
Piro / YUKI Hiroshi 2016-02-20 15:20:13 +09:00
parent c901a1ce82
commit fef54cec8b

View File

@ -183,15 +183,15 @@ var TreeStyleTabConstants = Object.freeze({
kTABBAR_UPDATE_BY_RESET : (1 << 1), kTABBAR_UPDATE_BY_RESET : (1 << 1),
kTABBAR_UPDATE_BY_PREF_CHANGE : (1 << 2), kTABBAR_UPDATE_BY_PREF_CHANGE : (1 << 2),
kTABBAR_UPDATE_BY_APPEARANCE_CHANGE : (1 << 3), kTABBAR_UPDATE_BY_APPEARANCE_CHANGE : (1 << 3),
kTABBAR_UPDATE_BY_TABBAR_RESIZE : (1 << 5), kTABBAR_UPDATE_BY_TABBAR_RESIZE : (1 << 4),
kTABBAR_UPDATE_BY_WINDOW_RESIZE : (1 << 6), kTABBAR_UPDATE_BY_WINDOW_RESIZE : (1 << 5),
kTABBAR_UPDATE_BY_FULLSCREEN : (1 << 7), kTABBAR_UPDATE_BY_FULLSCREEN : (1 << 6),
kTABBAR_UPDATE_BY_AUTOHIDE : (1 << 9), kTABBAR_UPDATE_BY_AUTOHIDE : (1 << 7),
kTABBAR_UPDATE_BY_INITIALIZE : (1 << 10), kTABBAR_UPDATE_BY_INITIALIZE : (1 << 8),
kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR : (1 << 11), kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR : (1 << 9),
kTABBAR_UPDATE_NOW : (1 << 5) | (1 << 6) | (1 << 9) | (1 << 10), kTABBAR_UPDATE_NOW : (1 << 4) | (1 << 5) | (1 << 7) | (1 << 8),
kTABBAR_UPDATE_SYNC_TO_TABBAR : (1 << 0) | (1 << 1) | (1 << 2) | (1 << 5) | (1 << 9), kTABBAR_UPDATE_SYNC_TO_TABBAR : (1 << 0) | (1 << 1) | (1 << 2) | (1 << 4) | (1 << 7),
kTABBAR_UPDATE_SYNC_TO_PLACEHOLDER : (1 << 3) | (1 << 6) | (1 << 7) | (1 << 10) | (1 << 11), kTABBAR_UPDATE_SYNC_TO_PLACEHOLDER : (1 << 3) | (1 << 5) | (1 << 6) | (1 << 8) | (1 << 9),
kCLOSE_PARENT_BEHAVIOR_PROMOTE_FIRST_CHILD : 3, kCLOSE_PARENT_BEHAVIOR_PROMOTE_FIRST_CHILD : 3,
kCLOSE_PARENT_BEHAVIOR_PROMOTE_ALL_CHILDREN : 0, kCLOSE_PARENT_BEHAVIOR_PROMOTE_ALL_CHILDREN : 0,