```js
var ShrinkingUI = {
  //...
};

If (ENABLE_SHRINKING)
  AppWindow.addMixin(ShrinkingUI);
```