New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 870303 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Implement vertical scrolling for different bubbles

Project Member Reported by vasi...@chromium.org, Aug 2

Issue description

As we found out in the privacy review for Autofill Home, Chrome should handle the situations when the screen size is too small (see  https://crbug.com/869343 ).
Instead of one-off fix for the profile chooser we could teach BubbleFrameView to do it because e.g. the site information bubble also suffers from the same problem.

I can imagine the following solution:
- Subclasses of BubbleDialogDelegateView implement a ScrollView (may be for a part of the content) or whatever so that they can be shrunk vertically.
- BubbleDialogDelegateView introduces set_allow_vertical_resize_if_offscreen, false by default.
- BubbleFrameView uses this flag and BubbleFrameView::GetUpdatedWindowBounds resizes the bubble when it doesn't fit the screen. 
 
 Issue 869350  has been merged into this issue.

Sign in to add a comment