New issue
Advanced search Search tips

Issue 874119 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Rename views::Widget::GetContentsView and audit callers

Project Member Reported by jamescook@chromium.org, Aug 14

Issue description

views::Widget::GetContentsView() returns the first child of the root view.

views::WidgetDelegate::GetContentsView() returns the contents view of the non-client-view.

This is confusing and leads to errors, especially in mash/out-of-process ash where things are wired to the WidgetDelegate::GetContentsView() view.

+ui/views OWNERS
 
Components: UI>Shell
Labels: Hotlist-CodeHealth

Sign in to add a comment