function SubLayerBase(_parent, position) {
  this._parent = _parent;
  this._position = position;
  this._added = true;
}
FullScreen widget:

 var widget = new cdb.ui.common.FullScreen({
   doc: ".container", // optional; if not specified, we do the fullscreen of the whole window
   template: this.getTemplate("table/views/fullscreen")
 });