Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Issue 2233293003: Position Mac permission bubbles on the left when in fullscreen. (Closed)

Created:
4 years, 4 months ago by benwells
Modified:
4 years, 4 months ago
Reviewers:
karandeepb, tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Position Mac permission bubbles on the left when in fullscreen. This means they will not obscure the fullscreen bubble, if it is visible. As part of this change, some code which forced the location bar to be shown when a permission bubble was visible was removed. This code isn't necessary anymore, as permission bubbles are positioned appropriately when in fullscreen. BUG=624296 Committed: https://crrev.com/cf7360dbc5ab679e20c5f03d2b7cf52b8cd7ee65 Cr-Commit-Position: refs/heads/master@{#411565}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix test #

Patch Set 3 : Fix MacViews bubbles #

Total comments: 11

Patch Set 4 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -42 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller_private.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 2 chunks +0 lines, -27 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm View 1 2 3 5 chunks +15 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_bubble_controller_unittest.mm View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_prompt_impl_views_mac.mm View 1 2 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
karandeepb
4 years, 4 months ago (2016-08-11 08:39:27 UTC) #3
benwells
Oops, mailed out as Karan accidentally (was on the shared Mac). Karan, feel free to ...
4 years, 4 months ago (2016-08-11 22:00:10 UTC) #4
tapted
lgtm, but I think your BUG= is the wrong bug. Also, without locking the toolbar, ...
4 years, 4 months ago (2016-08-11 23:51:20 UTC) #7
tapted
(oh, and it looks like there's a test to update :)
4 years, 4 months ago (2016-08-11 23:52:09 UTC) #8
karandeepb
I tried the patch and the bubble did not position correctly in fullscreen for me. ...
4 years, 4 months ago (2016-08-12 02:12:28 UTC) #12
benwells
OK, I think this is needed after all. The fullscreen bubble can come up under ...
4 years, 4 months ago (2016-08-12 04:13:43 UTC) #18
tapted
lgtm % nits https://codereview.chromium.org/2233293003/diff/40001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h File chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h (right): https://codereview.chromium.org/2233293003/diff/40001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h#newcode47 chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h:47: + (NSInteger)getFullscreenLeftOffset; you can move this ...
4 years, 4 months ago (2016-08-12 04:25:40 UTC) #19
karandeepb
LGTM.
4 years, 4 months ago (2016-08-12 04:26:18 UTC) #20
benwells
https://codereview.chromium.org/2233293003/diff/40001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h File chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h (right): https://codereview.chromium.org/2233293003/diff/40001/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h#newcode47 chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h:47: + (NSInteger)getFullscreenLeftOffset; On 2016/08/12 04:25:39, tapted (OOO soon) wrote: ...
4 years, 4 months ago (2016-08-12 06:29:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2233293003/60001
4 years, 4 months ago (2016-08-12 06:30:07 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-12 07:00:56 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 07:02:17 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cf7360dbc5ab679e20c5f03d2b7cf52b8cd7ee65
Cr-Commit-Position: refs/heads/master@{#411565}

Powered by Google App Engine
This is Rietveld 408576698