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

Issue 1935993004: MacViews: support Views permission bubble (Closed)

Created:
4 years, 7 months ago by Elly Fong-Jones
Modified:
4 years, 7 months ago
Reviewers:
tapted, msw
CC:
chromium-reviews, tfarina, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: support Views permission bubble The existing PermissionBubbleViewViews class needs an anchor view or point, so this CL adds some machinery to pass an anchor point down from the Cocoa layer, and adds a delegate so platforms can produce their own anchors. BUG=605667 Committed: https://crrev.com/5763588fd12942f8829b5c21300ad094bb0e5203 Cr-Commit-Position: refs/heads/master@{#395850}

Patch Set 1 #

Total comments: 32

Patch Set 2 : factor out Views delegate #

Total comments: 38

Patch Set 3 : next version! #

Patch Set 4 : add forgotten docs #

Total comments: 6

Patch Set 5 : Fold in https://codereview.chromium.org/1970113002 and rebase #

Total comments: 3

Patch Set 6 : delegate removed #

Patch Set 7 : fix typo in chrome_browser_ui.gypi #

Messages

Total messages: 37 (14 generated)
Elly Fong-Jones
tapted: ptal? :)
4 years, 7 months ago (2016-05-02 19:24:07 UTC) #3
tapted
https://codereview.chromium.org/1935993004/diff/1/chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.h File chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.h (right): https://codereview.chromium.org/1935993004/diff/1/chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.h#newcode1 chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.h:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 7 months ago (2016-05-03 12:02:39 UTC) #4
Elly Fong-Jones
tapted: ptal? :) https://codereview.chromium.org/1935993004/diff/1/chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.h File chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.h (right): https://codereview.chromium.org/1935993004/diff/1/chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.h#newcode1 chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.h:1: // Copyright 2016 The Chromium Authors. ...
4 years, 7 months ago (2016-05-10 21:21:03 UTC) #5
tapted
looks good in general - should be fine to loop in msw if the comments ...
4 years, 7 months ago (2016-05-11 07:06:19 UTC) #6
Elly Fong-Jones
tapted: ptal? :) https://codereview.chromium.org/1935993004/diff/20001/chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.mm File chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.mm (right): https://codereview.chromium.org/1935993004/diff/20001/chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.mm#newcode14 chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.mm:14: #include "ui/gfx/mac/coordinate_conversion.h" On 2016/05/11 07:06:18, tapted ...
4 years, 7 months ago (2016-05-11 19:16:38 UTC) #7
tapted
If you're happy to apply the the changes in https://codereview.chromium.org/1970113002 then this lg -- see ...
4 years, 7 months ago (2016-05-12 09:01:18 UTC) #8
Elly Fong-Jones
tapted: ptal? :) merged your changes https://codereview.chromium.org/1935993004/diff/60001/chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.mm File chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.mm (right): https://codereview.chromium.org/1935993004/diff/60001/chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.mm#newcode53 chrome/browser/ui/cocoa/website_settings/permission_bubble_anchor_delegate_views_cocoa.mm:53: point = NSMakePoint(NSMidX(frame), ...
4 years, 7 months ago (2016-05-17 14:48:53 UTC) #9
tapted
lgtm . probably msw is the right owner for this - he is the bubble ...
4 years, 7 months ago (2016-05-18 08:51:38 UTC) #10
Elly Fong-Jones
msw: ptal? :)
4 years, 7 months ago (2016-05-18 13:21:33 UTC) #12
msw
https://codereview.chromium.org/1935993004/diff/80001/chrome/browser/ui/views/website_settings/permissions_bubble_view.h File chrome/browser/ui/views/website_settings/permissions_bubble_view.h (right): https://codereview.chromium.org/1935993004/diff/80001/chrome/browser/ui/views/website_settings/permissions_bubble_view.h#newcode31 chrome/browser/ui/views/website_settings/permissions_bubble_view.h:31: class AnchorDelegate { I don't really like the added ...
4 years, 7 months ago (2016-05-18 18:57:00 UTC) #13
Elly Fong-Jones
msw: ptal? https://codereview.chromium.org/1935993004/diff/80001/chrome/browser/ui/views/website_settings/permissions_bubble_view.h File chrome/browser/ui/views/website_settings/permissions_bubble_view.h (right): https://codereview.chromium.org/1935993004/diff/80001/chrome/browser/ui/views/website_settings/permissions_bubble_view.h#newcode31 chrome/browser/ui/views/website_settings/permissions_bubble_view.h:31: class AnchorDelegate { On 2016/05/18 18:57:00, msw ...
4 years, 7 months ago (2016-05-18 19:13:11 UTC) #14
msw
https://codereview.chromium.org/1935993004/diff/80001/chrome/browser/ui/views/website_settings/permissions_bubble_view.h File chrome/browser/ui/views/website_settings/permissions_bubble_view.h (right): https://codereview.chromium.org/1935993004/diff/80001/chrome/browser/ui/views/website_settings/permissions_bubble_view.h#newcode31 chrome/browser/ui/views/website_settings/permissions_bubble_view.h:31: class AnchorDelegate { On 2016/05/18 19:13:11, Elly Jones wrote: ...
4 years, 7 months ago (2016-05-18 19:26:22 UTC) #15
Elly Fong-Jones
Checking at runtime doesn't work, unfortunately - some of the symbols needed for the Views ...
4 years, 7 months ago (2016-05-20 18:43:55 UTC) #16
msw
lgtm; thanks!
4 years, 7 months ago (2016-05-20 23:32:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1935993004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1935993004/100001
4 years, 7 months ago (2016-05-23 13:30:25 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/141647)
4 years, 7 months ago (2016-05-23 13:46:01 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1935993004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1935993004/100001
4 years, 7 months ago (2016-05-23 19:15:02 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/174624) linux_chromium_chromeos_rel_ng on ...
4 years, 7 months ago (2016-05-23 19:27:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1935993004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1935993004/120001
4 years, 7 months ago (2016-05-24 15:00:50 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/227161)
4 years, 7 months ago (2016-05-24 17:46:12 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1935993004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1935993004/120001
4 years, 7 months ago (2016-05-25 09:56:09 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-25 10:03:47 UTC) #35
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 10:05:06 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/5763588fd12942f8829b5c21300ad094bb0e5203
Cr-Commit-Position: refs/heads/master@{#395850}

Powered by Google App Engine
This is Rietveld 408576698