[cyril] move base view and extent behavior into base view.