Chromium Code Reviews| Index: chrome/browser/ui/cocoa/browser_window_controller.mm |
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm |
| index 69e51c3c192e9fca16e2cfa622d8de452ad735cc..35f3e953adf3b096350898945b5be7075cbbeb85 100644 |
| --- a/chrome/browser/ui/cocoa/browser_window_controller.mm |
| +++ b/chrome/browser/ui/cocoa/browser_window_controller.mm |
| @@ -1713,6 +1713,11 @@ - (void)windowDidResize:(NSNotification*)notification { |
| statusBubble_->UpdateSizeAndPosition(); |
| } |
| + // Reposition the permission bubble if it exists. |
| + PermissionRequestManager* manager = [self permissionRequestManager]; |
| + if (manager) |
| + manager->UpdateAnchorPosition(); |
|
tapted
2016/08/08 07:10:18
This code fragment is in 3 places now... it's poss
karandeepb
2016/08/08 10:37:29
This is also a bug on stable, though can't seem to
tapted
2016/08/09 01:58:39
Don't know of a bug for it - it's pretty obscure.
karandeepb
2016/08/09 07:51:32
Will file a bug for it.
tapted
2016/08/10 01:27:20
Yah - I think BaseBubbleController's updateAnchor
|
| + |
| // The FindBar needs to know its own position to properly detect overlaps |
| // with find results. The position changes whenever the window is resized, |
| // and |layoutSubviews| computes the FindBar's position. |