the Chromium logo

The Chromium Projects

Widget Refactor

Background

A view hierarchy is hosted by a views::Widget subclass. This subclass (e.g. WidgetWin or WidgetGtk) receives native events from the operating system, cracks them into views-specific types and propagates them into the view hierarchy.

The current arrangement poses some challenges that make porting to a new native toolkit problematic:

Details

sdfsdf